python3Packages.fpylll: 0.5.1dev -> 0.5.6

This commit is contained in:
Mauricio Collares
2022-01-24 20:54:52 -03:00
parent 1a0d6fdc3d
commit 2c912d2f0a
@@ -1,6 +1,5 @@
{ lib
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, pkgconfig
, gmp
@@ -15,29 +14,15 @@
buildPythonPackage rec {
pname = "fpylll";
version = "0.5.1dev";
version = "0.5.6";
src = fetchFromGitHub {
owner = "fplll";
repo = "fpylll";
rev = version;
sha256 = "15vdfgx448mr1nf054h7lr2j3dd35fsfhikqzrh9zsng8n12hxa5";
sha256 = "sha256-Bxcc0941+pl2Uzam48qe+PFlcBWsJ0rDYZxrxIYQpEA=";
};
patches = [
# two patches to fix the testsuite on aarch64 (https://github.com/fplll/fpylll/issues/162)
(fetchpatch {
url = "https://github.com/fplll/fpylll/commit/d5809a8fdb86b2693b1fa94e655bbbe4ad80e286.patch";
name = "less-precision-in-tests.patch";
sha256 = "0vkvi25nwwvk5r4a4xmkbf060di4hjq32bys75l2hsaysxmk93nz";
})
(fetchpatch {
url = "https://github.com/fplll/fpylll/commit/b5b146a010d50da219a313adc4b6f7deddcc146b.patch";
name = "dont-hardcode-precision.patch";
sha256 = "1rsbwh90i1j5p2rp6jd5n25v1jzw1n8728fzz1lhb91zmk0hlxc9";
})
];
buildInputs = [
gmp
pari