10 stdenv.mkDerivation rec {
14 src = fetchFromGitLab {
15 domain = "gitlab.inria.fr";
19 # Apparently there is an upstream off-by-one-commit error in tagging
20 # Conditional to allow auto-updaters to try new releases
21 # TODO: remove the conditional after an upstream update
23 rev = if version == "1.5.4" then "feab26bc54529417af983950ddbffb3a4c334d4f" else version;
25 sha256 = "sha256-aj/QmJ38ifsW36JFQcbp55aIQRvOpiqLHwEh/aFXsgo=";
28 sourceRoot = "${src.name}/mpfi";
32 name = "incorrect-types-corrected.patch";
33 url = "https://gitlab.inria.fr/mpfi/mpfi/-/commit/a02e3f9cc10767cc4284a2ef6554f6df85e41982.patch";
35 hash = "sha256-ogUoZbQMkZMF8chSGdDymH/ewzjKSSc7GAMK2Wp58uo=";
43 buildInputs = [ mpfr ];
46 description = "Multiple precision interval arithmetic library based on MPFR";
47 homepage = "http://perso.ens-lyon.fr/nathalie.revol/software.html";
48 license = lib.licenses.lgpl21Plus;
49 maintainers = [ lib.maintainers.raskin ];
50 platforms = lib.platforms.unix;