1 {lib, stdenv, fetchFromGitLab, autoreconfHook, texinfo, mpfr}:
2 stdenv.mkDerivation rec {
6 src = fetchFromGitLab {
7 domain = "gitlab.inria.fr";
11 # Apparently there is an upstream off-by-one-commit error in tagging
12 # Conditional to allow auto-updaters to try new releases
13 # TODO: remove the conditional after an upstream update
15 rev = if version == "1.5.4" then
16 "feab26bc54529417af983950ddbffb3a4c334d4f"
19 sha256 = "sha256-aj/QmJ38ifsW36JFQcbp55aIQRvOpiqLHwEh/aFXsgo=";
22 sourceRoot = "source/mpfi";
24 nativeBuildInputs = [ autoreconfHook texinfo ];
25 buildInputs = [ mpfr ];
28 description = "A multiple precision interval arithmetic library based on MPFR";
29 homepage = "http://perso.ens-lyon.fr/nathalie.revol/software.html";
30 license = lib.licenses.lgpl21Plus;
31 maintainers = [lib.maintainers.raskin];
32 platforms = lib.platforms.unix;