fplll: 5.2.1 -> 5.3.0, python.pkgs.fpylll: 0.4.1dev -> 0.5.0dev

The two packages need to be updated together, since fpylll 0.4.1
requires the old fplll version and fpylll 0.5.0 requires the new one.
This commit is contained in:
Timo Kaufmann
2019-12-02 11:41:59 +01:00
parent d69b099f28
commit da7ca3fa87
2 changed files with 19 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, gettext
, autoreconfHook
, gmp
@@ -8,15 +9,24 @@
stdenv.mkDerivation rec {
pname = "fplll";
version = "5.2.1";
version = "5.3.0";
src = fetchFromGitHub {
owner = "fplll";
repo = "fplll";
rev = version;
sha256 = "015qmrd7nfaysbv1hbwiprz9g6hnww1y1z1xw8f43ysb7k1b5nbg";
sha256 = "0wxa4xs7as7y47h7i6prmk5r0srabdvrlkvza3j50pixir5swgvh";
};
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