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-05-24 13:37:59 +00:00
|
|
|
version = "2.6.3";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-03-16 09:55:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-GbAws/o30fC1xa2a2pBZiEw78sdRxd2PHrTtSc/j/GA=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|