forked from mirrors/nixpkgs
Merge pull request #76176 from timokau/fpylll-aarch64-fix
python.pkgs.fpylll: 0.5.0dev -> 0.5.1dev, fix tests on aarch64
This commit is contained in:
commit
c8f49feafc
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gmp
|
, gmp
|
||||||
|
@ -14,15 +15,29 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fpylll";
|
pname = "fpylll";
|
||||||
version = "0.5.0dev";
|
version = "0.5.1dev";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fplll";
|
owner = "fplll";
|
||||||
repo = "fpylll";
|
repo = "fpylll";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "091zqgsqd5cqma1hvimkq5xpr9f1jw80v9m2fr6k9hvssqjzgnab";
|
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 = [
|
buildInputs = [
|
||||||
gmp
|
gmp
|
||||||
pari
|
pari
|
||||||
|
|
Loading…
Reference in a new issue