summary refs log tree commit diff
path: root/pkgs/development/libraries/arb
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-06-30 17:05:56 +0200
committerTimo Kaufmann <timokau@zoho.com>2018-06-30 17:05:56 +0200
commit398dad270a0f23fd6e96c26b5f13805e16fbb66f (patch)
tree6d747e360b48ebbb891a1c97cd481aebbfb8a03b /pkgs/development/libraries/arb
parent17e6b391eb6b524331bce29c01467dc055c8543b (diff)
downloadnixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar
nixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.gz
nixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.bz2
nixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.lz
nixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.xz
nixpkgs-398dad270a0f23fd6e96c26b5f13805e16fbb66f.tar.zst
nixpkgs-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/arb')
-rw-r--r--pkgs/development/libraries/arb/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/arb/default.nix b/pkgs/development/libraries/arb/default.nix
index a59641e99d3..ea70e645453 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'';