pythonPackages.uncompyle6: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 17:05:31 -04:00 committed by Frederik Rietdijk
parent d3f57e372d
commit d1a48cc23e
2 changed files with 26 additions and 14 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, spark_parser
, xdis
}:
buildPythonPackage rec {
pname = "uncompyle6";
version = "2.8.3";
src = fetchPypi {
inherit pname version;
sha256 = "0hx5sji6qjvnq1p0zhvyk5hgracpv2w6iar1j59qwllxv115ffi1";
};
propagatedBuildInputs = [ spark_parser xdis ];
meta = with stdenv.lib; {
description = "Python cross-version byte-code deparser";
homepage = https://github.com/rocky/python-uncompyle6/;
license = licenses.mit;
};
}

View file

@ -2466,20 +2466,7 @@ in {
xdis = callPackage ../development/python-modules/xdis { };
uncompyle6 = buildPythonPackage rec {
name = "uncompyle6-${version}";
version = "2.8.3";
src = pkgs.fetchurl {
url = "mirror://pypi/u/uncompyle6/${name}.tar.gz";
sha256 = "0hx5sji6qjvnq1p0zhvyk5hgracpv2w6iar1j59qwllxv115ffi1";
};
propagatedBuildInputs = with self; [ spark_parser xdis ];
meta = {
description = "Python cross-version byte-code deparser";
homepage = https://github.com/rocky/python-uncompyle6/;
license = licenses.mit;
};
};
uncompyle6 = callPackage ../development/python-modules/uncompyle6 { };
lsi = buildPythonPackage rec {
name = "lsi-${version}";