blob: 13829b6be86c22db0556268522c433fddb6afa46 (
plain) (
blame)
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
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
elementpath,
fetchFromGitHub,
jinja2,
lxml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "xmlschema";
version = "3.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sissaschool";
repo = "xmlschema";
rev = "refs/tags/v${version}";
hash = "sha256-Sy70OQvKx0H8vxRFTEkg+QV9eVij5C9dlAwJ2HTFOi8=";
};
build-system = [ setuptools ];
dependencies = [ elementpath ];
nativeCheckInputs = [
jinja2
lxml
pytestCheckHook
];
disabledTests = [
# -file://///filer01/MY_HOME/dev/XMLSCHEMA/test.xsd
# +file:////filer01/MY_HOME/dev/XMLSCHEMA/test.xsd
"test_normalize_url_slashes"
"test_normalize_url_with_base_unc_path"
];
pythonImportsCheck = [ "xmlschema" ];
meta = with lib; {
description = "XML Schema validator and data conversion library for Python";
homepage = "https://github.com/sissaschool/xmlschema";
changelog = "https://github.com/sissaschool/xmlschema/blob/${src.rev}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|