forked from mirrors/nixpkgs
Revert "python311Packages.fpylll: revert to cython 0.29 for the moment"
This reverts commit 3ae85401f5
.
This commit is contained in:
parent
0f3d95b15c
commit
5b93b83bcb
|
@ -1,11 +1,10 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
|
||||
# build-system
|
||||
, cysignals
|
||||
, cython
|
||||
, cython_3
|
||||
, pkgconfig
|
||||
, setuptools
|
||||
|
||||
|
@ -31,21 +30,8 @@ buildPythonPackage rec {
|
|||
hash = "sha256-M3ZnDL0Ui3UAa5Jn/Wr5pAHhghP7EAaQD/sx5QZ58ZQ=";
|
||||
};
|
||||
|
||||
# temporarily revert to cython 0.29
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fplll/fpylll/commit/528243c6fa6491c8e9652b99bdf9758766273d66.diff";
|
||||
revert = true;
|
||||
sha256 = "sha256-IRppkESy0CRwARhxBAsZxP6JkTe0M91apG4CTSSYNUU=";
|
||||
excludes = ["requirements.txt"];
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace "Cython>=3.0" "Cython"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_3
|
||||
cysignals
|
||||
pkgconfig
|
||||
setuptools
|
||||
|
|
Loading…
Reference in a new issue