2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, builderDefs, python }:
|
2008-03-17 14:45:50 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2008-11-04 22:24:10 +01:00
|
|
|
localDefs = builderDefs.passthru.function {
|
2008-03-17 14:45:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.6.4.tar.gz;
|
|
|
|
sha256 = "18pd9f8al3l6i27cc0ddhgg7hxf28lnfs75x4a8jzscydxgiq5a8";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [python];
|
|
|
|
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-03-17 14:45:50 +01:00
|
|
|
|
|
|
|
in with localDefs;
|
|
|
|
|
2007-11-05 09:32:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-03-17 14:45:50 +01:00
|
|
|
name = "pyrex-0.9.6.4";
|
|
|
|
builder = writeScript (name + "-builder")
|
|
|
|
(textClosure localDefs [installPythonPackage doForceShare]);
|
|
|
|
meta = {
|
|
|
|
description = "Python package compiler or something like that";
|
|
|
|
inherit src;
|
|
|
|
};
|
2007-11-05 09:32:20 +01:00
|
|
|
}
|