3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyxb/default.nix

32 lines
600 B
Nix
Raw Normal View History

2021-05-12 02:45:54 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "PyXB";
version = "1.2.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1d17pyixbfvjyi2lb0cfp0ch8wwdf44mmg3r5pwqhyyqs66z601a";
};
pythonImportsCheck = [
"pyxb"
];
# tests don't complete
# https://github.com/pabigot/pyxb/issues/130
doCheck = false;
meta = with lib; {
description = "Python XML Schema Bindings";
homepage = "https://github.com/pabigot/pyxb";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}