pythonPackages.pyx: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 09:35:39 -04:00 committed by Frederik Rietdijk
parent 4f7d4bca11
commit 97a27838c1
2 changed files with 28 additions and 20 deletions

View file

@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "pyx";
version = "0.14.1";
src = fetchPypi {
inherit pname version;
sha256 = "05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912";
};
disabled = !isPy3k;
# No tests in archive
doCheck = false;
meta = with stdenv.lib; {
description = "Python package for the generation of PostScript, PDF, and SVG files";
homepage = http://pyx.sourceforge.net/;
license = with licenses; [ gpl2 ];
};
}

View file

@ -3356,26 +3356,7 @@ in {
pyspread = callPackage ../development/python-modules/pyspread { };
pyx = buildPythonPackage rec {
name = "pyx-${version}";
version = "0.14.1";
src = pkgs.fetchurl {
url = "mirror://pypi/P/PyX/PyX-${version}.tar.gz";
sha256 = "05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912";
};
disabled = !isPy3k;
# No tests in archive
doCheck = false;
meta = {
description = "Python package for the generation of PostScript, PDF, and SVG files";
homepage = http://pyx.sourceforge.net/;
license = with licenses; [ gpl2 ];
};
};
pyx = callPackage ../development/python-modules/pyx { };
mmpython = buildPythonPackage rec {
version = "0.4.10";