2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 17:07:34 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-06-02 11:54:02 +00:00
|
|
|
, pythonOlder
|
2018-10-29 17:07:34 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "datadiff";
|
2023-01-09 03:26:26 +00:00
|
|
|
version = "2.1.0";
|
2022-06-02 11:54:02 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2018-10-29 17:07:34 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-09 03:26:26 +00:00
|
|
|
hash = "sha256-I9QpQyW3sHyUgCYZYfJecTJDNHLaQtqnXG4WeA4p5VE=";
|
2018-10-29 17:07:34 +00:00
|
|
|
};
|
|
|
|
|
2022-06-02 11:54:02 +00:00
|
|
|
# Tests are not part of the PyPI releases
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"datadiff"
|
|
|
|
];
|
2018-10-29 17:07:34 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-06-02 11:54:02 +00:00
|
|
|
description = "Library to provide human-readable diffs of Python data structures";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/datadiff/";
|
2018-10-29 17:07:34 +00:00
|
|
|
license = licenses.asl20;
|
2022-06-02 11:54:02 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-29 17:07:34 +00:00
|
|
|
};
|
|
|
|
}
|