1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "PyXB";
8 version = "1.2.6";
9 format = "setuptools";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "1d17pyixbfvjyi2lb0cfp0ch8wwdf44mmg3r5pwqhyyqs66z601a";
14 };
15
16 pythonImportsCheck = [
17 "pyxb"
18 ];
19
20 # tests don't complete
21 # https://github.com/pabigot/pyxb/issues/130
22 doCheck = false;
23
24 meta = with lib; {
25 description = "Python XML Schema Bindings";
26 homepage = "https://github.com/pabigot/pyxb";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ hexa ];
29 };
30}