1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

python.pkgs.cython: fix tests

(cherry picked from commit b9b18ded57)
This commit is contained in:
Frederik Rietdijk 2018-06-10 20:21:33 +02:00 committed by Robin Gloster
parent 7283740218
commit 5d07801938
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -9,6 +9,7 @@
, gdb
, numpy
, ncurses
, fetchpatch
}:
let
@ -48,6 +49,15 @@ in buildPythonPackage rec {
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
'';
patches = [
# The following is in GitHub in 0.28.3 but not in the `sdist`.
# https://github.com/cython/cython/issues/2319
(fetchpatch {
url = https://github.com/cython/cython/commit/c485b1b77264c3c75d090a3c526de24966830d42.patch;
sha256 = "1p6jj9rb097kqvhs5j5127sj5zy18l7x9v0p478cjyzh41khh9r0";
})
];
meta = {
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
homepage = http://cython.org;