depot/third_party/nixpkgs/pkgs/development/libraries/fplll/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

47 lines
1.1 KiB
Nix

{ lib, stdenv
, fetchFromGitHub
, pkg-config
, gettext
, autoreconfHook
, gmp
, mpfr
}:
stdenv.mkDerivation rec {
pname = "fplll";
version = "5.4.1";
src = fetchFromGitHub {
owner = "fplll";
repo = "fplll";
rev = version;
sha256 = "sha256-6Zde8/bPOQQ16DqhqrQuGXDrf5HQEn5lwxauvyBr4XQ=";
};
nativeBuildInputs = [
pkg-config
gettext
autoreconfHook
];
buildInputs = [
gmp
mpfr
];
meta = with lib; {
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 = licenses.lgpl21Plus;
maintainers = teams.sage.members;
platforms = platforms.unix;
};
}