2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, builderDefs, python }:
|
2008-03-17 13:45:50 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2008-11-04 21:24:10 +00:00
|
|
|
localDefs = builderDefs.passthru.function {
|
2008-03-17 13:45:50 +00:00
|
|
|
|
|
|
|
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];
|
|
|
|
|
2008-08-19 06:54:09 +01:00
|
|
|
};
|
2008-03-17 13:45:50 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|