2021-03-16 09:55:35 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-02-02 18:25:31 +00:00
|
|
|
, pythonOlder
|
2021-03-16 09:55:35 +00:00
|
|
|
, fetchPypi
|
|
|
|
, lxml
|
|
|
|
, setuptools
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xmldiff";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2.5";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-03-16 09:55:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-bF8wvGXOboHZpwo8sCafe6YYUv1sqnoPv8Dt8zs8txc=";
|
2021-03-16 09:55:35 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
lxml
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-03-16 09:55:35 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"xmldiff"
|
|
|
|
];
|
2021-03-16 09:55:35 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Creates diffs of XML files";
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://github.com/Shoobx/xmldiff";
|
|
|
|
changelog = "https://github.com/Shoobx/xmldiff/blob/master/CHANGES.rst";
|
2021-03-16 09:55:35 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
|
|
};
|
|
|
|
}
|