2021-05-03 20:48:10 +00:00
|
|
|
{lib, stdenv, fetchurl, autoreconfHook, texinfo, mpfr}:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mpfi";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.5.4";
|
2021-04-26 19:14:03 +00:00
|
|
|
file_nr = "38111";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
# 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".
|
2021-04-26 19:14:03 +00:00
|
|
|
url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tgz";
|
|
|
|
sha256 = "sha256-Ozk4WV1yCvF5c96vcnz8DdQcixbCCtwQOpcPSkOuOlY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook texinfo ];
|
2021-04-26 19:14:03 +00:00
|
|
|
buildInputs = [ mpfr ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "A multiple precision interval arithmetic library based on MPFR";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gforge.inria.fr/projects/mpfi/";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|