pythonPackages.pyx: refactor move to python-modules
This commit is contained in:
parent
4f7d4bca11
commit
97a27838c1
|
@ -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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -3356,26 +3356,7 @@ in {
|
||||||
|
|
||||||
pyspread = callPackage ../development/python-modules/pyspread { };
|
pyspread = callPackage ../development/python-modules/pyspread { };
|
||||||
|
|
||||||
pyx = buildPythonPackage rec {
|
pyx = callPackage ../development/python-modules/pyx { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
mmpython = buildPythonPackage rec {
|
mmpython = buildPythonPackage rec {
|
||||||
version = "0.4.10";
|
version = "0.4.10";
|
||||||
|
|
Loading…
Reference in New Issue