nixpkgs/pkgs/development/python-modules/xmldiff/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
752 B
Nix
Raw Normal View History

2021-03-12 19:37:30 +00:00
{ lib
, buildPythonPackage
2023-01-19 16:37:26 +00:00
, pythonOlder
2021-03-12 19:37:30 +00:00
, fetchPypi
, lxml
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "xmldiff";
version = "2.6.3";
2023-01-19 16:37:26 +00:00
disabled = pythonOlder "3.7";
2021-03-12 19:37:30 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-GbAws/o30fC1xa2a2pBZiEw78sdRxd2PHrTtSc/j/GA=";
2021-03-12 19:37:30 +00:00
};
2023-01-19 16:37:26 +00:00
propagatedBuildInputs = [
lxml
setuptools
];
nativeCheckInputs = [
2023-01-19 16:37:26 +00:00
pytestCheckHook
];
2021-03-12 19:37:30 +00:00
2023-01-19 16:37:26 +00:00
pythonImportsCheck = [
"xmldiff"
];
2021-03-12 19:37:30 +00:00
meta = with lib; {
description = "Creates diffs of XML files";
homepage = "https://github.com/Shoobx/xmldiff";
changelog = "https://github.com/Shoobx/xmldiff/blob/master/CHANGES.rst";
2021-03-12 19:37:30 +00:00
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}