2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2022-02-10 20:34:41 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, gettext
|
|
|
|
, autoreconfHook
|
|
|
|
, gmp
|
|
|
|
, mpfr
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fplll";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "5.4.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fplll";
|
|
|
|
repo = "fplll";
|
|
|
|
rev = version;
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-+1EdNdmEk5tQDd1DXklPbEKC/Dr2yV2gwbtwBtZxpNM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-02-10 20:34:41 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
gettext
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gmp
|
|
|
|
mpfr
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-17 00:15:33 +00:00
|
|
|
description = "Lattice algorithms using floating-point arithmetic";
|
2020-04-24 23:36:52 +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;
|
2020-11-21 19:51:51 +00:00
|
|
|
maintainers = teams.sage.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|