diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2015-12-09 10:31:34 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2015-12-11 10:41:38 +0100 |
commit | 3e75b475f83713567e3d305dd3814ba93bc13f10 (patch) | |
tree | 9200302d63dd2c35d976818092bfd07cb908475b /pkgs/development/python-modules/pyx | |
parent | 4c0bc553f5bd48919ee22d0e63ed47ccd560b506 (diff) | |
download | nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar.gz nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar.bz2 nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar.lz nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar.xz nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.tar.zst nixpkgs-3e75b475f83713567e3d305dd3814ba93bc13f10.zip |
python pyx: 0.10 -> 0.14.1 rewrite expression
- Update version - Rewrite expression using buildPythonPackage - Current version only works of PyX only works with Python >= 3.2
Diffstat (limited to 'pkgs/development/python-modules/pyx')
-rw-r--r-- | pkgs/development/python-modules/pyx/default.nix | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/development/python-modules/pyx/default.nix b/pkgs/development/python-modules/pyx/default.nix deleted file mode 100644 index cc36680fcb0..00000000000 --- a/pkgs/development/python-modules/pyx/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{stdenv, fetchurl, python, makeWrapper}: - -stdenv.mkDerivation rec { - name = "PyX-0.10"; - src = fetchurl { - url = "mirror://sourceforge/pyx/${name}.tar.gz"; - sha256 = "dfaa4a7790661d67d95f80b22044fdd8a9922483631950296ff1d7a9f85c8bba"; - }; - - patchPhase = '' - substituteInPlace ./setup.py --replace '"/etc"' '"etc"' - ''; - - buildInputs = [python makeWrapper]; - buildPhase = "python ./setup.py build"; - installPhase = '' - python ./setup.py install --prefix="$out" || exit 1 - - for i in "$out/bin/"* - do - # FIXME: We're assuming Python 2.4. - wrapProgram "$i" --prefix PYTHONPATH : \ - "$out/lib/python2.4/site-packages" || \ - exit 2 - done - ''; - - meta = { - description = ''Python graphics package''; - longDescription = '' - PyX is a Python package for the creation of PostScript and PDF - files. It combines an abstraction of the PostScript drawing - model with a TeX/LaTeX interface. Complex tasks like 2d and 3d - plots in publication-ready quality are built out of these - primitives. - ''; - license = stdenv.lib.licenses.gpl2; - homepage = http://pyx.sourceforge.net/; - }; -} |