1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 lxml,
7 setuptools,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "xmldiff";
13 version = "2.7.0";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-wJELH4ADZt1+xikj5dBuiwahvZEgVpocJ/TyRGucaKI=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 lxml
27 setuptools
28 ];
29
30 nativeCheckInputs = [ pytestCheckHook ];
31
32 pythonImportsCheck = [ "xmldiff" ];
33
34 meta = with lib; {
35 description = "Creates diffs of XML files";
36 homepage = "https://github.com/Shoobx/xmldiff";
37 changelog = "https://github.com/Shoobx/xmldiff/blob/master/CHANGES.rst";
38 license = licenses.mit;
39 maintainers = with maintainers; [ sfrijters ];
40 };
41}