From 5b93b83bcba9b03da23ed0c002555bcefe58b031 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Tue, 23 Jan 2024 16:34:24 +0100 Subject: [PATCH] Revert "python311Packages.fpylll: revert to cython 0.29 for the moment" This reverts commit 3ae85401f53509980f2be444b8bb5584b23b3125. --- .../python-modules/fpylll/default.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/fpylll/default.nix b/pkgs/development/python-modules/fpylll/default.nix index b711f1946edc..97abc4562fe6 100644 --- a/pkgs/development/python-modules/fpylll/default.nix +++ b/pkgs/development/python-modules/fpylll/default.nix @@ -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