diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2019-12-12 19:56:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 19:56:11 +0000 |
commit | c2ae05d5973cc4f8842755f2807ac10e31bb2aa8 (patch) | |
tree | 91c1052289393f92aa24291663970cc6d93bac2b /pkgs/development/libraries | |
parent | 768943000f9af627b4d2d238b4ed555326d2cada (diff) | |
parent | 0dcd09b1b6088d31f4bc9e23bb87466b0bfd591a (diff) | |
download | nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar.gz nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar.bz2 nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar.lz nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar.xz nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.tar.zst nixpkgs-c2ae05d5973cc4f8842755f2807ac10e31bb2aa8.zip |
Merge pull request #74372 from r-ryantm/auto-update/fplll
fplll: 5.2.1 -> 5.3.0, python.pkgs.fpylll: 0.4.1dev -> 0.5.0dev
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/fplll/default.nix | 59 |
1 files changed, 46 insertions, 13 deletions
diff --git a/pkgs/development/libraries/fplll/default.nix b/pkgs/development/libraries/fplll/default.nix index c2952cb47f1..694b6d567eb 100644 --- a/pkgs/development/libraries/fplll/default.nix +++ b/pkgs/development/libraries/fplll/default.nix @@ -1,22 +1,55 @@ -{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook -, gmp, mpfr +{ stdenv +, fetchFromGitHub +, fetchpatch +, gettext +, autoreconfHook +, gmp +, mpfr }: + stdenv.mkDerivation rec { pname = "fplll"; - version = "5.2.1"; + version = "5.3.0"; + src = fetchFromGitHub { - owner = pname; - repo = pname; + owner = "fplll"; + repo = "fplll"; rev = version; - sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg"; + sha256 = "0wxa4xs7as7y47h7i6prmk5r0srabdvrlkvza3j50pixir5swgvh"; }; - nativeBuildInputs = [autoconf automake libtool gettext autoreconfHook]; - buildInputs = [gmp mpfr]; - meta = { - inherit version; + + patches = [ + # https://github.com/fplll/fpylll/issues/161 + (fetchpatch { + name = "fix-out-of-bounds-access.patch"; + url = "https://github.com/fplll/fplll/pull/398/commits/f68e257228bf073ef380f996326d02197ce7b0e4.patch"; + sha256 = "1rapkcf389lf579va6kbnvhzyv36n4l4d9n0vg2zxprvql8wvm7m"; + }) + ]; + + nativeBuildInputs = [ + gettext + autoreconfHook + ]; + + buildInputs = [ + gmp + mpfr + ]; + + meta = with stdenv.lib; { description = ''Lattice algorithms using floating-point arithmetic''; - license = stdenv.lib.licenses.lgpl21Plus; - maintainers = [stdenv.lib.maintainers.raskin]; - platforms = stdenv.lib.platforms.unix; + 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; }; } |