1 { lib, buildPythonPackage, fetchFromGitHub
7 buildPythonPackage rec {
11 src = fetchFromGitHub {
12 owner = "sissaschool";
15 sha256 = "1yd7whf74z8bw99gldxlnrs8bjnjzald29b5cf2ka0i144sxbvad";
18 propagatedBuildInputs = [ elementpath ];
20 checkInputs = [ lxml pytest ];
23 substituteInPlace setup.py \
24 --replace "elementpath~=2.0.0" "elementpath~=2.0"
27 # Ignore broken fixtures, and tests for files which don't exist.
28 # For darwin, we need to explicity say we can't reach network
31 --ignore=tests/test_factory.py \
32 --ignore=tests/test_schemas.py \
33 --ignore=tests/test_memory.py \
34 --ignore=tests/test_validation.py \
35 -k 'not element_tree_import_script and not export_remote'
39 description = "XML Schema validator and data conversion library for Python";
40 homepage = "https://github.com/sissaschool/xmlschema";
41 license = licenses.mit;
42 maintainers = with maintainers; [ jonringer ];