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

28 lines
806 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, fetchpatch, mpir, gmp, mpfr, flint}:
2016-10-10 20:01:44 +02:00
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "arb";
2018-10-27 11:27:03 +02:00
version = "2.15.1";
2016-10-10 20:01:44 +02:00
src = fetchFromGitHub {
owner = "fredrik-johansson";
repo = "${pname}";
rev = "${version}";
2018-10-27 11:27:03 +02:00
sha256 = "148mn31xy4wgja2cainn2yaw1bjrppf1dxw2ngnvp7x5j7fms1am";
2016-10-10 20:01:44 +02:00
};
buildInputs = [mpir gmp mpfr flint];
2018-04-22 23:13:05 +02:00
configureFlags = [
"--with-gmp=${gmp}"
"--with-mpir=${mpir}"
"--with-mpfr=${mpfr}"
"--with-flint=${flint}"
];
doCheck = true;
2018-08-07 16:38:34 +02:00
meta = with stdenv.lib; {
2016-10-10 20:01:44 +02:00
inherit version;
description = ''A library for arbitrary-precision interval arithmetic'';
license = stdenv.lib.licenses.lgpl21Plus;
2018-08-07 16:38:34 +02:00
maintainers = with maintainers; [ raskin timokau ];
2016-10-10 20:01:44 +02:00
platforms = stdenv.lib.platforms.linux;
};
}