2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
lxml,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
2021-03-16 09:55:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xmldiff";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.7.0";
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2021-03-16 09:55:35 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-wJELH4ADZt1+xikj5dBuiwahvZEgVpocJ/TyRGucaKI=";
|
2021-03-16 09:55:35 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
dependencies = [
|
2023-02-02 18:25:31 +00:00
|
|
|
lxml
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-03-16 09:55:35 +00:00
|
|
|
|
2024-06-05 15:53:02 +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 ];
|
|
|
|
};
|
|
|
|
}
|