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