df1800b7c9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-uncompyle6/versions
38 lines
752 B
Nix
38 lines
752 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, spark_parser
|
|
, xdis
|
|
, nose
|
|
, pytest
|
|
, hypothesis
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "uncompyle6";
|
|
version = "3.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0w4m0jywjb0w1y73nkb05zmjxb4plpfi3w2g1rgrf45afa2aqm8z";
|
|
};
|
|
|
|
checkInputs = [ nose pytest hypothesis six ];
|
|
propagatedBuildInputs = [ spark_parser xdis ];
|
|
|
|
# six import errors (yet it is supplied...)
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
pytest ./pytest --ignore=pytest/test_function_call.py
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python cross-version byte-code deparser";
|
|
homepage = https://github.com/rocky/python-uncompyle6/;
|
|
license = licenses.gpl3;
|
|
};
|
|
|
|
}
|