Fix Pyrex build
This commit is contained in:
parent
cca94ee05e
commit
5750566c2a
@ -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 {
|
src = fetchurl {
|
||||||
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.5.1.1.tar.gz;
|
url = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz";
|
||||||
sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z";
|
sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [python];
|
doCheck = false;
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
in with localDefs;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "pyrex-0.9.5.1.1";
|
|
||||||
builder = writeScript (name + "-builder")
|
|
||||||
(textClosure localDefs [installPythonPackage doForceShare]);
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python package compiler or something like that";
|
homepage = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/;
|
||||||
inherit src;
|
description = "A language for writing Python extension modules";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,26 +1,19 @@
|
|||||||
{ stdenv, fetchurl, builderDefs, python }:
|
{ stdenv, fetchurl, pythonPackages }:
|
||||||
|
|
||||||
let
|
let version = "0.9.6.4"; 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.6.4.tar.gz;
|
|
||||||
sha256 = "18pd9f8al3l6i27cc0ddhgg7hxf28lnfs75x4a8jzscydxgiq5a8";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [python];
|
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz";
|
||||||
|
sha256 = "18pd9f8al3l6i27cc0ddhgg7hxf28lnfs75x4a8jzscydxgiq5a8";
|
||||||
};
|
};
|
||||||
|
|
||||||
in with localDefs;
|
doCheck = false;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "pyrex-0.9.6.4";
|
|
||||||
builder = writeScript (name + "-builder")
|
|
||||||
(textClosure localDefs [installPythonPackage doForceShare]);
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Python package compiler or something like that";
|
homepage = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/;
|
||||||
inherit src;
|
description = "A language for writing Python extension modules";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user