about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/fplll/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/fplll/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/fplll/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/fplll/default.nix b/nixpkgs/pkgs/development/libraries/fplll/default.nix
new file mode 100644
index 000000000000..3a82b566a50f
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/fplll/default.nix
@@ -0,0 +1,46 @@
+{ lib, stdenv
+, fetchFromGitHub
+, fetchpatch
+, gettext
+, autoreconfHook
+, gmp
+, mpfr
+}:
+
+stdenv.mkDerivation rec {
+  pname = "fplll";
+  version = "5.3.2";
+
+  src = fetchFromGitHub {
+    owner = "fplll";
+    repo = "fplll";
+    rev = version;
+    sha256 = "00iyz218ywspizjiimrjdcqvdqmrsb2367zyy3vkmypnf9i9l680";
+  };
+
+  nativeBuildInputs = [
+    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;
+  };
+}