Merge pull request #43436 from timokau/sage-new-flask
sage: replace flask-babel version pin by patch
commitd0446a5c76bed980ffaf36d8261520b44d6c7138
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>
dateFri 13 Jul 2018, 18:52 (8 years ago)
parentae46f7235896e3
pkgs/applications/science/math/sage/default.nix−10
@@ -14,16 +14,6 @@ let
1414
1515 cvxopt = super.cvxopt.override { inherit glpk; };
1616
17− # https://github.com/sagemath/sagenb/issues/437
18− flask-babel = super.flask-babel.overridePythonAttrs (attrs: rec {
19− version = "0.9";
20− src = attrs.src.override {
21− inherit version;
22− sha256 = "0k7vk4k54y55ma0nx2k5s0phfqbriwslhy5shh3b0d046q7ibzaa";
23− };
24− doCheck = false;
25− });
26−
2717 # python packages that appear unmaintained and were not accepted into the nixpkgs
2818 # tree because of that. These packages are only dependencies of the more-or-less
2919 # deprecated sagenb. However sagenb is still a default dependency and the doctests
pkgs/applications/science/math/sage/sagenb.nix+8
@@ -36,6 +36,14 @@ buildPythonPackage rec {
3636 # tests depend on sage
3737 doCheck = false;
3838
39+ patches = [
40+ # work with latest flask-babel
41+ (fetchpatch {
42+ url = "https://github.com/sagemath/sagenb/commit/ba065eca63dd34a383e4c7ba7561430a90fcd087.patch";
43+ sha256 = "1lamzsrgymdd618imrasjp6ivhw2aynh83gkybsd7pm1rzjcq4x8";
44+ })
45+ ];
46+
3947 meta = with stdenv.lib; {
4048 description = "Sage Notebook";
4149 license = licenses.gpl3Plus;