pythonPackages.xdis: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 17:03:41 -04:00 committed by Frederik Rietdijk
parent 0dafa8e8be
commit d3f57e372d
2 changed files with 26 additions and 15 deletions

View 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;
};
}

View File

@ -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}";