flint: 2.5.2 -> 2.7.1
This commit is contained in:
parent
3660d282ac
commit
962cac656b
1 changed files with 2 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, gmp
|
, gmp
|
||||||
, mpir
|
, mpir
|
||||||
, mpfr
|
, mpfr
|
||||||
|
@ -13,10 +12,10 @@ assert withBlas -> openblas != null && blas.implementation == "openblas" && lapa
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "flint";
|
pname = "flint";
|
||||||
version = "2.5.2"; # remove libflint.so.MAJOR patch when updating
|
version = "2.7.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.flintlib.org/flint-${version}.tar.gz";
|
url = "http://www.flintlib.org/flint-${version}.tar.gz";
|
||||||
sha256 = "11syazv1a8rrnac3wj3hnyhhflpqcmq02q8pqk2m6g2k6h0gxwfb";
|
sha256 = "07j8r96kdzp19cy3a5yvpjxf90mkd6103yr2n42qmpv7mgcjyvhq";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gmp
|
gmp
|
||||||
|
@ -41,14 +40,6 @@ stdenv.mkDerivation rec {
|
||||||
# issues with ntl -- https://github.com/wbhart/flint2/issues/487
|
# issues with ntl -- https://github.com/wbhart/flint2/issues/487
|
||||||
NIX_CXXSTDLIB_COMPILE = "-std=c++11";
|
NIX_CXXSTDLIB_COMPILE = "-std=c++11";
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Always produce libflint.so.MAJOR; will be included in the next flint version
|
|
||||||
# See https://github.com/wbhart/flint2/pull/347
|
|
||||||
url = "https://github.com/wbhart/flint2/commit/49fbcd8f736f847d3f9667f9f7d5567ef4550ecb.patch";
|
|
||||||
sha256 = "09w09bpq85kjf752bd3y3i5lvy59b8xjiy7qmrcxzibx2a21pj73";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
Loading…
Reference in a new issue