From 57280289163450db771cb2c97ece275ef9131213 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Mon, 11 Feb 2019 21:43:56 +0100 Subject: [PATCH] sage: add numpy 1.16 compatibility patch https://trac.sagemath.org/ticket/27000 --- pkgs/applications/science/math/sage/sage-src.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix index a21c21130d55..4ef88e34f032 100644 --- a/pkgs/applications/science/math/sage/sage-src.nix +++ b/pkgs/applications/science/math/sage/sage-src.nix @@ -105,6 +105,12 @@ stdenv.mkDerivation rec { sha256 = "1n5c61mvhalcr2wbp66wzsynwwk59aakvx3xqa5zw9nlkx3rd0h1"; }) + # https://trac.sagemath.org/ticket/27061 + (fetchpatch { + name = "numpy-1.16-inline-fortran.patch"; + url = "https://git.sagemath.org/sage.git/patch?id=a05b6b038e1571ab15464e98f76d1927c0c3fd12"; + sha256 = "05yq97pq84xi60wb1p9skrad5h5x770gq98ll4frr7hvvmlwsf58"; + }) ]; patches = nixPatches ++ packageUpgradePatches;