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

28 lines
772 B
Nix
Raw Normal View History

2016-10-10 19:01:44 +01:00
{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "arb";
2018-04-22 22:13:05 +01:00
version = "2.13.0";
2016-10-10 19:01:44 +01:00
src = fetchFromGitHub {
owner = "fredrik-johansson";
repo = "${pname}";
rev = "${version}";
2018-04-22 22:13:05 +01:00
sha256 = "1fl9gmxf6c1cphk5r8jbys5pywj2rfm705kv0055i0aqc6hrv303";
2016-10-10 19:01:44 +01:00
};
buildInputs = [mpir gmp mpfr flint];
2018-04-22 22:13:05 +01:00
configureFlags = [
"--with-gmp=${gmp}"
"--with-mpir=${mpir}"
"--with-mpfr=${mpfr}"
"--with-flint=${flint}"
];
doCheck = true;
2016-10-10 19:01:44 +01:00
meta = {
inherit version;
description = ''A library for arbitrary-precision interval arithmetic'';
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}