diff options
author | Marc Weber <marco-oweber@gmx.de> | 2010-04-17 18:28:25 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2010-04-17 18:28:25 +0000 |
commit | 8c0b7e4ad2c23b3bb9c71c431520096d4361942f (patch) | |
tree | 966d85d67800a84f43d3ac06722c81619b623b62 /pkgs/development/python-modules/pyx/default.nix | |
parent | 9e59164e5747235892f81ed6b6db67c63be89fe5 (diff) | |
download | nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.gz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.bz2 nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.lz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.xz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.zst nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.zip |
- adding experimental python31 build
- cleanup python libraries: * moving all python libraries into a attr set into a directory so that expressions can be used for both: python 2.5 and 2.6 easily * disabling packages which don't build svn path=/nixpkgs/trunk/; revision=21142
Diffstat (limited to 'pkgs/development/python-modules/pyx/default.nix')
-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 374158da810c..000000000000 --- 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 = "GPLv2"; - homepage = http://pyx.sourceforge.net/; - }; -} |