python.pkgs.fpylll: fix tests on aarch64
This commit is contained in:
parent
c0871b5c48
commit
80b0639857
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
, pkgconfig
|
||||
, gmp
|
||||
@ -23,6 +24,20 @@ buildPythonPackage rec {
|
||||
sha256 = "15vdfgx448mr1nf054h7lr2j3dd35fsfhikqzrh9zsng8n12hxa5";
|
||||
};
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user