pythonPackages.uncompyle6: refactor move to python-modules
This commit is contained in:
parent
d3f57e372d
commit
d1a48cc23e
2 changed files with 26 additions and 14 deletions
25
pkgs/development/python-modules/uncompyle6/default.nix
Normal file
25
pkgs/development/python-modules/uncompyle6/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue