2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, mpfr}:
|
2016-10-10 16:00:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mpfi";
|
2021-01-20 08:01:42 +00:00
|
|
|
version = "1.5.4";
|
2018-04-26 23:10:52 +01:00
|
|
|
file_nr = "37331";
|
2016-10-10 16:00:41 +01:00
|
|
|
src = fetchurl {
|
2018-04-26 23:10:52 +01:00
|
|
|
# NOTE: the file_nr is whats important here. The actual package name (including the version)
|
|
|
|
# is ignored. To find out the correct file_nr, go to https://gforge.inria.fr/projects/mpfi/
|
|
|
|
# and click on Download in the section "Latest File Releases".
|
|
|
|
url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tar.bz2";
|
2021-01-20 08:01:42 +00:00
|
|
|
sha256 = "sha256-I4PUV7IIxs088uZracTOR0d7Kg2zH77AzUseuqJHGS8=";
|
2016-10-10 16:00:41 +01:00
|
|
|
};
|
|
|
|
buildInputs = [mpfr];
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "A multiple precision interval arithmetic library based on MPFR";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gforge.inria.fr/projects/mpfi/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
2016-10-10 16:00:41 +01:00
|
|
|
};
|
|
|
|
}
|