6 , pariSupport ? true, pari # for interfacing with the PARI/GP signal handler
9 assert pariSupport -> pari != null;
11 buildPythonPackage rec {
16 inherit pname version;
17 sha256 = "5858b1760fbe21848121b826b2463a67ac5a45caf3d73105497a68618c5a6fa6";
21 # build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE"
26 # known failure: https://github.com/sagemath/cysignals/blob/582dbf6a7b0f9ade0abe7a7b8720b7fb32435c3c/testgdb.py#L5
28 checkTarget = "check-install";
31 # Make sure cysignals-CSI is in PATH
32 export PATH="$out/bin:$PATH"
35 propagatedBuildInputs = [
37 ] ++ lib.optionals pariSupport [
38 # When cysignals is built with pari, including cysignals into the
39 # buildInputs of another python package will cause cython to link against
44 nativeBuildInputs = [ autoreconfHook ];
46 enableParallelBuilding = true;
49 description = "Interrupt and signal handling for Cython";
50 homepage = "https://github.com/sagemath/cysignals/";
51 maintainers = teams.sage.members;
52 license = licenses.lgpl3Plus;