2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-12-09 07:11:20 +00:00
|
|
|
, fetchFromGitHub
|
2021-12-24 03:43:25 +00:00
|
|
|
, pkg-config
|
2019-12-09 07:11:20 +00:00
|
|
|
, gettext
|
|
|
|
, autoreconfHook
|
|
|
|
, gmp
|
|
|
|
, mpfr
|
2016-10-10 14:55:47 +00:00
|
|
|
}:
|
2019-12-09 07:11:20 +00:00
|
|
|
|
2016-10-10 14:55:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fplll";
|
2023-01-08 07:11:14 +00:00
|
|
|
version = "5.4.4";
|
2019-12-09 07:11:20 +00:00
|
|
|
|
2016-10-10 14:55:47 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-12-09 07:11:20 +00:00
|
|
|
owner = "fplll";
|
|
|
|
repo = "fplll";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2023-01-08 07:11:14 +00:00
|
|
|
sha256 = "sha256-+1EdNdmEk5tQDd1DXklPbEKC/Dr2yV2gwbtwBtZxpNM=";
|
2016-10-10 14:55:47 +00:00
|
|
|
};
|
2019-12-09 07:11:20 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-12-24 03:43:25 +00:00
|
|
|
pkg-config
|
2019-12-09 07:11:20 +00:00
|
|
|
gettext
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gmp
|
|
|
|
mpfr
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2021-01-16 04:20:42 +00:00
|
|
|
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}"
|
|
|
|
];
|
2019-12-09 07:11:20 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-11-18 20:29:24 +00:00
|
|
|
maintainers = teams.sage.members;
|
2019-12-09 07:11:20 +00:00
|
|
|
platforms = platforms.unix;
|
2016-10-10 14:55:47 +00:00
|
|
|
};
|
|
|
|
}
|