pythonPackages.xdis: refactor move to python-modules
This commit is contained in:
parent
0dafa8e8be
commit
d3f57e372d
25
pkgs/development/python-modules/xdis/default.nix
Normal file
25
pkgs/development/python-modules/xdis/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xdis";
|
||||
version = "3.2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0g2lh70837vigcbc1i58349wp2xzrhlsg2ahc92sn8d3jwxja4dk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nose six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python cross-version byte-code disassembler and marshal routines";
|
||||
homepage = https://github.com/rocky/python-xdis/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2464,21 +2464,7 @@ in {
|
||||
|
||||
colored = callPackage ../development/python-modules/colored { };
|
||||
|
||||
xdis = buildPythonPackage rec {
|
||||
name = "xdis-${version}";
|
||||
version = "3.2.4";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/x/xdis/${name}.tar.gz";
|
||||
sha256 = "0g2lh70837vigcbc1i58349wp2xzrhlsg2ahc92sn8d3jwxja4dk";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ nose six ];
|
||||
|
||||
meta = {
|
||||
description = "Python cross-version byte-code disassembler and marshal routines";
|
||||
homepage = https://github.com/rocky/python-xdis/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
xdis = callPackage ../development/python-modules/xdis { };
|
||||
|
||||
uncompyle6 = buildPythonPackage rec {
|
||||
name = "uncompyle6-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user