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

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

48 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
2021-12-24 03:43:25 +00:00
, pkg-config
, gettext
, autoreconfHook
, gmp
, mpfr
2016-10-10 15:55:47 +01:00
}:
2016-10-10 15:55:47 +01:00
stdenv.mkDerivation rec {
pname = "fplll";
2022-05-27 13:44:48 +01:00
version = "5.4.2";
2016-10-10 15:55:47 +01:00
src = fetchFromGitHub {
owner = "fplll";
repo = "fplll";
2019-09-09 00:38:31 +01:00
rev = version;
2022-05-27 13:44:48 +01:00
sha256 = "sha256-6pzErZtT5xzCMcsNy2EwrZHiAICLrRl1dv59bp23hAA=";
2016-10-10 15:55:47 +01:00
};
nativeBuildInputs = [
2021-12-24 03:43:25 +00:00
pkg-config
gettext
autoreconfHook
];
buildInputs = [
gmp
mpfr
];
meta = with lib; {
description = "Lattice algorithms using floating-point arithmetic";
2019-12-09 07:20:03 +00:00
changelog = [
# Some release notes are added to the github tags, though they are not
# always complete.
"https://github.com/fplll/fplll/releases/tag/${version}"
# Releases are announced on this mailing list. Unfortunately it is not
# possible to generate a direct link to the most recent announcement, but
# this search should find it.
"https://groups.google.com/forum/#!searchin/fplll-devel/FPLLL$20${version}"
];
license = licenses.lgpl21Plus;
maintainers = teams.sage.members;
platforms = platforms.unix;
2016-10-10 15:55:47 +01:00
};
}