forked from mirrors/nixpkgs
cython: 0.23.4 -> 0.24
This commit is contained in:
parent
b0ff10ada2
commit
a7815995bf
|
@ -3821,21 +3821,22 @@ in modules // {
|
||||||
|
|
||||||
cython = buildPythonPackage rec {
|
cython = buildPythonPackage rec {
|
||||||
name = "Cython-${version}";
|
name = "Cython-${version}";
|
||||||
version = "0.23.4";
|
version = "0.24";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "http://www.cython.org/release/${name}.tar.gz";
|
url = "http://www.cython.org/release/${name}.tar.gz";
|
||||||
sha256 = "13hdffhd37mx3gjby018xl179jaj957fy7kzi01crmimxvn2zi7y";
|
sha256 = "1wd3q97gia3zhsgcdlvxh26hkrf3m53i6r1l4g0yya119264vr3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ pkgs.pkgconfig pkgs.gdb ];
|
buildInputs = with self; [ pkgs.pkgconfig pkgs.gdb ];
|
||||||
|
# For testing
|
||||||
|
nativeBuildInputs = with self; [ numpy pkgs.ncurses ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export HOME="$NIX_BUILD_TOP"
|
||||||
${python.interpreter} runtests.py
|
${python.interpreter} runtests.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false; # Lots of weird compiler errors
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in a new issue