nixpkgs/pkgs/development/libraries/arb/default.nix

28 lines
768 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
2016-10-10 18:01:44 +00:00
stdenv.mkDerivation rec {
pname = "arb";
version = "2.17.0";
2016-10-10 18:01:44 +00:00
src = fetchFromGitHub {
owner = "fredrik-johansson";
2019-09-08 23:38:31 +00:00
repo = pname;
rev = version;
sha256 = "05lpy3hkl5f8ik19aw40cqydrb932xaf2n8hbq9ib5dnk7f010p1";
2016-10-10 18:01:44 +00:00
};
buildInputs = [mpir gmp mpfr flint];
2018-04-22 21:13:05 +00:00
configureFlags = [
"--with-gmp=${gmp}"
"--with-mpir=${mpir}"
"--with-mpfr=${mpfr}"
"--with-flint=${flint}"
];
doCheck = true;
2018-08-07 14:38:34 +00:00
meta = with stdenv.lib; {
2016-10-10 18:01:44 +00:00
inherit version;
description = "A library for arbitrary-precision interval arithmetic";
homepage = "http://arblib.org/";
2016-10-10 18:01:44 +00:00
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = teams.sage.members;
platforms = stdenv.lib.platforms.unix;
2016-10-10 18:01:44 +00:00
};
}