From e579d44b1bc009a3d36eea2473d3d35359680a8c Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Wed, 29 Jan 2025 18:12:10 +0100 Subject: [PATCH] python312Packages.cysignals: 1.11.4 -> 1.12.3 --- .../python-modules/cysignals/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/cysignals/default.nix b/pkgs/development/python-modules/cysignals/default.nix index 9e90eaf38f19..df27cb4c17e9 100644 --- a/pkgs/development/python-modules/cysignals/default.nix +++ b/pkgs/development/python-modules/cysignals/default.nix @@ -1,8 +1,8 @@ { lib, - autoreconfHook, fetchPypi, buildPythonPackage, + meson-python, cython, pariSupport ? true, pari, # for interfacing with the PARI/GP signal handler @@ -15,14 +15,19 @@ assert pariSupport -> pari != null; buildPythonPackage rec { pname = "cysignals"; - version = "1.11.4"; - format = "setuptools"; + version = "1.12.3"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-Dx4yHlWgf5AchqNqHkSX9v+d/nAGgdATCjjDbk6yOMM="; + hash = "sha256-ifdibb8p21qz1u/xWomXj061GTwyDpCZvMFX2s3v0es="; }; + build-system = [ + cython + meson-python + ]; + # explicit check: # build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE" hardeningDisable = [ "fortify" ]; @@ -45,8 +50,6 @@ buildPythonPackage rec { pari ]; - nativeBuildInputs = [ autoreconfHook ]; - enableParallelBuilding = true; passthru.tests = {