nixpkgs/pkgs/development/libraries/mpfi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1022 B
Nix
Raw Normal View History

2023-09-12 20:23:24 +00:00
{lib, stdenv, fetchFromGitLab, autoreconfHook, texinfo, mpfr}:
2016-10-10 15:00:41 +00:00
stdenv.mkDerivation rec {
pname = "mpfi";
2021-01-20 08:01:42 +00:00
version = "1.5.4";
2023-09-12 20:23:24 +00:00
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "mpfi";
repo = "mpfi";
# Apparently there is an upstream off-by-one-commit error in tagging
# Conditional to allow auto-updaters to try new releases
# TODO: remove the conditional after an upstream update
# rev = version;
rev = if version == "1.5.4" then
"feab26bc54529417af983950ddbffb3a4c334d4f"
else version;
sha256 = "sha256-aj/QmJ38ifsW36JFQcbp55aIQRvOpiqLHwEh/aFXsgo=";
2016-10-10 15:00:41 +00:00
};
2023-09-12 20:23:24 +00:00
sourceRoot = "source/mpfi";
2021-04-27 16:33:48 +00:00
nativeBuildInputs = [ autoreconfHook texinfo ];
buildInputs = [ mpfr ];
2016-10-10 15:00:41 +00:00
meta = {
description = "A multiple precision interval arithmetic library based on MPFR";
2023-09-12 20:23:24 +00:00
homepage = "http://perso.ens-lyon.fr/nathalie.revol/software.html";
license = lib.licenses.lgpl21Plus;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
2016-10-10 15:00:41 +00:00
};
}