depot/third_party/nixpkgs/pkgs/development/python-modules/pyxb/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

31 lines
600 B
Nix

{ 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 ];
};
}