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