summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2021-05-19 12:49:03 -0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-20 18:29:02 -0700
commitcd9e8e284c7df63e9ebb453aa086c539f5fd4636 (patch)
tree4494977e492d3809f9e14fee5b2de5db186f597f /pkgs/applications/science
parent211fee9c4379714d861b3c875f642addbd25e920 (diff)
downloadnixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar.gz
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar.bz2
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar.lz
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar.xz
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.tar.zst
nixpkgs-cd9e8e284c7df63e9ebb453aa086c539f5fd4636.zip
sage: fix deprecation warning from matplotlib upgrade
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/sage/sage-src.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix
index 36715764d09..3051f5d5e50 100644
--- a/pkgs/applications/science/math/sage/sage-src.nix
+++ b/pkgs/applications/science/math/sage/sage-src.nix
@@ -79,6 +79,15 @@ stdenv.mkDerivation rec {
     # ignore a deprecation warning for usage of `cmp` in the attrs library in the doctests
     ./patches/ignore-cmp-deprecation.patch
 
+    # remove use of matplotlib function deprecated in 3.4
+    # https://trac.sagemath.org/ticket/31827
+    (fetchSageDiff {
+      base = "9.3";
+      name = "remove-matplotlib-deprecated-function.patch";
+      rev = "32b2bcaefddc4fa3d2aee6fa690ce1466cbb5948";
+      sha256 = "sha256-SXcUGBMOoE9HpuBzgKC3P6cUmM5MiktXbe/7dVdrfWo=";
+    })
+
     # https://trac.sagemath.org/ticket/30801. this patch has
     # positive_review but has not been merged upstream yet, so we
     # don't use fetchSageDiff because it returns a file that contains