31 lines
642 B
Nix
31 lines
642 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 = [ ];
|
|
};
|
|
}
|