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.
This commit is contained in:
Timo Kaufmann
2018-06-30 17:05:56 +02:00
parent 17e6b391eb
commit 398dad270a
5 changed files with 921 additions and 22 deletions
+9 -1
View File
@@ -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'';