Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 36 lines 769 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, spark_parser 5, xdis 6, nose 7, pytest 8, hypothesis 9, six 10}: 11 12buildPythonPackage rec { 13 pname = "uncompyle6"; 14 version = "3.2.5"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "1z4489grxc06pxmfy63b6x6h54p05fhbigvrrgr1kvdciy2nvz04"; 19 }; 20 21 checkInputs = [ nose pytest hypothesis six ]; 22 propagatedBuildInputs = [ spark_parser xdis ]; 23 24 # six import errors (yet it is supplied...) 25 checkPhase = '' 26 pytest ./pytest --ignore=pytest/test_build_const_key_map.py \ 27 --ignore=pytest/test_grammar.py 28 ''; 29 30 meta = with stdenv.lib; { 31 description = "Python cross-version byte-code deparser"; 32 homepage = https://github.com/rocky/python-uncompyle6/; 33 license = licenses.gpl3; 34 }; 35 36}