diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/fplll')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/fplll/20160331.nix | 22 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/libraries/fplll/default.nix | 46 |
2 files changed, 68 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/fplll/20160331.nix b/nixpkgs/pkgs/development/libraries/fplll/20160331.nix new file mode 100644 index 000000000000..aabbfd14a78b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/fplll/20160331.nix @@ -0,0 +1,22 @@ +{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook +, gmp, mpfr +}: +stdenv.mkDerivation rec { + pname = "fplll"; + version = "20160331"; + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "11dea26c2f9396ffb7a7191aa371343f1f74c5c3"; + sha256 = "1clxch9hbr30w6s84m2mprxv58adhg5qw6sa2p3jr1cy4r7r59ib"; + }; + nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook]; + buildInputs = [gmp mpfr]; + meta = { + inherit version; + description = ''Lattice algorithms using floating-point arithmetic''; + license = stdenv.lib.licenses.lgpl21Plus; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/nixpkgs/pkgs/development/libraries/fplll/default.nix b/nixpkgs/pkgs/development/libraries/fplll/default.nix new file mode 100644 index 000000000000..107635267c6f --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/fplll/default.nix @@ -0,0 +1,46 @@ +{ 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 stdenv.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 = with maintainers; [raskin timokau]; + platforms = platforms.unix; + }; +} |