Added homepage where missing, where the sources are pulled from: - https://github.com - https://git.sr.ht - https://gitlab.com - https://invent.kde.org - https://codeberg.org - https://gitlab.gnome.org - https://gitlab.freedesktop.org - https://git.FreeBSD.org - https://salsa.debian.org - https://git.tvdr.de - https://git.suckless.org
51 lines
1.2 KiB
Nix
51 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
gettext,
|
|
autoreconfHook,
|
|
gmp,
|
|
mpfr,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fplll";
|
|
version = "5.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fplll";
|
|
repo = "fplll";
|
|
rev = finalAttrs.version;
|
|
sha256 = "sha256-WvjXaCnUMioSmLlWmLV673mhRjnF+8DU9MqgUmBgaFQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gmp
|
|
mpfr
|
|
];
|
|
|
|
meta = {
|
|
description = "Lattice algorithms using floating-point arithmetic";
|
|
homepage = "https://github.com/fplll/fplll";
|
|
changelog = [
|
|
# Some release notes are added to the github tags, though they are not
|
|
# always complete.
|
|
"https://github.com/fplll/fplll/releases/tag/${finalAttrs.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${finalAttrs.version}"
|
|
];
|
|
license = lib.licenses.lgpl21Plus;
|
|
teams = [ lib.teams.sage ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|