diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-06-10 20:21:33 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-06-20 00:05:12 +0200 |
commit | 5d0780193830ffff29ff7b4b522f919cafbd496d (patch) | |
tree | f5f6d651aba24f6202d54000468409e7651d17c0 /pkgs/development/python-modules/Cython | |
parent | 7283740218a5178185a8c1bf0ecfa861f5f9f0f7 (diff) |
python.pkgs.cython: fix tests
(cherry picked from commit b9b18ded57842d24ef05bfe33aa7dba95b77babf)
Diffstat (limited to 'pkgs/development/python-modules/Cython')
-rw-r--r-- | pkgs/development/python-modules/Cython/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/Cython/default.nix b/pkgs/development/python-modules/Cython/default.nix index 189468a2daa94..1c391d3495dd4 100644 --- a/pkgs/development/python-modules/Cython/default.nix +++ b/pkgs/development/python-modules/Cython/default.nix @@ -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; |