From fe30bcab941c9068e205ffe8ea29036315338371 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 19 Dec 2006 18:55:04 +0000 Subject: [PATCH] * Just-in-time compiler for Python. svn path=/nixpkgs/trunk/; revision=7429 --- pkgs/development/python-modules/psyco/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/python-modules/psyco/default.nix diff --git a/pkgs/development/python-modules/psyco/default.nix b/pkgs/development/python-modules/psyco/default.nix new file mode 100644 index 00000000000..db3b7bedd14 --- /dev/null +++ b/pkgs/development/python-modules/psyco/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, python}: + +assert stdenv.system == "i686-linux"; + +stdenv.mkDerivation { + name = "psyco-1.5.2"; + src = fetchurl { + url = http://kent.dl.sourceforge.net/sourceforge/psyco/psyco-1.5.2-src.tar.gz; + md5 = "bceb17423d06b573dc7b875d34e79417"; + }; + buildInputs = [python]; + buildPhase = "true"; + installPhase = "python ./setup.py install --prefix=$out"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fbda1243b8e..532f3f118d7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1984,6 +1984,10 @@ rec { ### DEVELOPMENT / PYTHON MODULES + psyco = import ../development/python-modules/psyco { + inherit fetchurl stdenv python; + }; + pycrypto = import ../development/python-modules/pycrypto { inherit fetchurl stdenv python gmp; };