diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-18 09:49:27 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-18 09:50:36 -0400 |
commit | 5750566c2af11d31a705fb687cf6a0ce300b5252 (patch) | |
tree | 63261a67e65e303ed317b805a889032514ec6625 /pkgs/development/interpreters/pyrex/0.9.5.nix | |
parent | cca94ee05e5c3bc765bf838782a52ad0af4c030e (diff) |
Fix Pyrex build
Diffstat (limited to 'pkgs/development/interpreters/pyrex/0.9.5.nix')
-rw-r--r-- | pkgs/development/interpreters/pyrex/0.9.5.nix | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/pkgs/development/interpreters/pyrex/0.9.5.nix b/pkgs/development/interpreters/pyrex/0.9.5.nix index 5ba57dbc1eab..3f6a3c1bfcb2 100644 --- a/pkgs/development/interpreters/pyrex/0.9.5.nix +++ b/pkgs/development/interpreters/pyrex/0.9.5.nix @@ -1,26 +1,19 @@ -{ stdenv, fetchurl, builderDefs, python }: +{ stdenv, fetchurl, pythonPackages }: -let +let version = "0.9.5.1.1"; in - localDefs = builderDefs.passthru.function { +pythonPackages.buildPythonPackage rec { + name = "pyrex-${version}"; - src = fetchurl { - url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.5.1.1.tar.gz; - sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z"; - }; - - buildInputs = [python]; + src = fetchurl { + url = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz"; + sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z"; + }; - }; + doCheck = false; -in with localDefs; - -stdenv.mkDerivation rec { - name = "pyrex-0.9.5.1.1"; - builder = writeScript (name + "-builder") - (textClosure localDefs [installPythonPackage doForceShare]); meta = { - description = "Python package compiler or something like that"; - inherit src; + homepage = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/; + description = "A language for writing Python extension modules"; }; } |