diff --git a/pkgs/development/python-modules/datadiff/default.nix b/pkgs/development/python-modules/datadiff/default.nix index 4124457586cc..4b6338412673 100644 --- a/pkgs/development/python-modules/datadiff/default.nix +++ b/pkgs/development/python-modules/datadiff/default.nix @@ -1,25 +1,32 @@ { lib , buildPythonPackage , fetchPypi -, nose +, pythonOlder }: buildPythonPackage rec { pname = "datadiff"; - version = "1.1.6"; + version = "2.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - extension = "zip"; - sha256 = "f1402701063998f6a70609789aae8dc05703f3ad0a34882f6199653654c55543"; + hash = "sha256-VASUQKiW3lJH7i57eqVCX5OayDLDftshAfjTA26Jyqg="; }; - buildInputs = [ nose ]; + # Tests are not part of the PyPI releases + doCheck = false; + + pythonImportsCheck = [ + "datadiff" + ]; meta = with lib; { - description = "DataDiff"; + description = "Library to provide human-readable diffs of Python data structures"; homepage = "https://sourceforge.net/projects/datadiff/"; license = licenses.asl20; + maintainers = with maintainers; [ ]; }; - }