arb: format
This commit is contained in:
parent
af32607630
commit
9718302d11
|
@ -1,26 +1,32 @@
|
||||||
{lib, stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
|
{ lib, stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "arb";
|
pname = "arb";
|
||||||
version = "2.17.0";
|
version = "2.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fredrik-johansson";
|
owner = "fredrik-johansson";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "05lpy3hkl5f8ik19aw40cqydrb932xaf2n8hbq9ib5dnk7f010p1";
|
sha256 = "05lpy3hkl5f8ik19aw40cqydrb932xaf2n8hbq9ib5dnk7f010p1";
|
||||||
};
|
};
|
||||||
buildInputs = [mpir gmp mpfr flint];
|
|
||||||
|
buildInputs = [ mpir gmp mpfr flint ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gmp=${gmp}"
|
"--with-gmp=${gmp}"
|
||||||
"--with-mpir=${mpir}"
|
"--with-mpir=${mpir}"
|
||||||
"--with-mpfr=${mpfr}"
|
"--with-mpfr=${mpfr}"
|
||||||
"--with-flint=${flint}"
|
"--with-flint=${flint}"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A library for arbitrary-precision interval arithmetic";
|
description = "A library for arbitrary-precision interval arithmetic";
|
||||||
homepage = "https://arblib.org/";
|
homepage = "https://arblib.org/";
|
||||||
license = lib.licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = teams.sage.members;
|
maintainers = teams.sage.members;
|
||||||
platforms = lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue