1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, lxml
6, setuptools
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "xmldiff";
12 version = "2.6.3";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-GbAws/o30fC1xa2a2pBZiEw78sdRxd2PHrTtSc/j/GA=";
19 };
20
21 propagatedBuildInputs = [
22 lxml
23 setuptools
24 ];
25
26 nativeCheckInputs = [
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [
31 "xmldiff"
32 ];
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}