Files
nixpkgs/pkgs/development/libraries/fplll/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

50 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
gettext,
autoreconfHook,
gmp,
mpfr,
}:
stdenv.mkDerivation rec {
pname = "fplll";
version = "5.5.0";
src = fetchFromGitHub {
owner = "fplll";
repo = "fplll";
rev = version;
sha256 = "sha256-WvjXaCnUMioSmLlWmLV673mhRjnF+8DU9MqgUmBgaFQ=";
};
nativeBuildInputs = [
pkg-config
gettext
autoreconfHook
];
buildInputs = [
gmp
mpfr
];
meta = {
description = "Lattice algorithms using floating-point arithmetic";
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 = lib.licenses.lgpl21Plus;
teams = [ lib.teams.sage ];
platforms = lib.platforms.unix;
};
}