lol

python3Packages.datauri: 1.1.0 -> 2.0.0

+13 -6
+13 -6
pkgs/development/python-modules/datauri/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , setuptools 5 + , pydantic 4 6 , pytestCheckHook 5 7 }: 6 8 7 9 buildPythonPackage rec { 8 10 pname = "datauri"; 9 - version = "1.1.0"; 11 + version = "2.0.0"; 12 + format = "pyproject"; 10 13 11 14 src = fetchFromGitHub { 12 15 owner = "fcurella"; 13 16 repo = "python-datauri"; 14 - rev = "v${version}"; 15 - hash = "sha256-Eevd/xxKgxvvsAfI/L/KShH+PfxffBGyVwKewLgyEu0="; 17 + rev = "refs/tags/v${version}"; 18 + hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY="; 16 19 }; 17 20 21 + nativeBuildInputs = [ 22 + setuptools 23 + ]; 24 + 18 25 pythonImportsCheck = [ 19 26 "datauri" 20 27 ]; 21 28 22 29 nativeCheckInputs = [ 30 + pydantic 23 31 pytestCheckHook 24 32 ]; 25 33 26 - disabledTestPaths = [ 27 - # UnicodeDecodeError: 'utf-8' codec can't decode 28 - "tests/test_file_ebcdic.txt" 34 + disabledTests = [ 35 + "test_pydantic" # incompatible with pydantic v2 29 36 ]; 30 37 31 38 meta = with lib; {