nixpkgs/pkgs/development/python-modules/datadiff/default.nix
2023-08-30 23:07:13 +02:00

33 lines
660 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "datadiff";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-fOcN/uqMM/HYjbRrDv/ukFzDa023Ofa7BwqC3omB0ws=";
};
# Tests are not part of the PyPI releases
doCheck = false;
pythonImportsCheck = [
"datadiff"
];
meta = with lib; {
description = "Library to provide human-readable diffs of Python data structures";
homepage = "https://sourceforge.net/projects/datadiff/";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}