diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-06-30 17:05:56 +0200 |
---|---|---|
committer | Timo Kaufmann <timokau@zoho.com> | 2018-06-30 17:05:56 +0200 |
commit | 398dad270a0f23fd6e96c26b5f13805e16fbb66f (patch) | |
tree | 6d747e360b48ebbb891a1c97cd481aebbfb8a03b /pkgs/development/libraries | |
parent | 17e6b391eb6b524331bce29c01467dc055c8543b (diff) | |
download | nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.gz nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.bz2 nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.lz nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.xz nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.zst nixlib-398dad270a0f23fd6e96c26b5f13805e16fbb66f.zip |
sage, arb: update sage dependencies arb and pynac
Removes the version pinning for arb and pynac by backporting the upstream (sage) package upgrades. This necessitates a new patch for arb, which was however already proposed and accepted upstream.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/arb/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/arb/default.nix b/pkgs/development/libraries/arb/default.nix index a59641e99d39..ea70e6454536 100644 --- a/pkgs/development/libraries/arb/default.nix +++ b/pkgs/development/libraries/arb/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}: +{stdenv, fetchFromGitHub, fetchpatch, mpir, gmp, mpfr, flint}: stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "arb"; @@ -17,6 +17,14 @@ stdenv.mkDerivation rec { "--with-flint=${flint}" ]; doCheck = true; + patches = [ + # https://github.com/fredrik-johansson/arb/pull/210, included in next release + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/fredrik-johansson/arb/pull/210.patch"; + name = "return-exact-zero-where-possible.patch"; + sha256 = "01j9npnpmwh4dla9i05qdn606hy34gy9bz7c9bbsqm7az3n7pxjg"; + }) + ]; meta = { inherit version; description = ''A library for arbitrary-precision interval arithmetic''; |