pynac: import segfault fix
This commit is contained in:
parent
b565d30c47
commit
9be264795c
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
@ -20,6 +21,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-ocR7emXtKs+Xe2f6dh4xEDAacgiolY8mtlLnWnNBS8A=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# the patch below is included in sage 9.4 and should be included
|
||||
# in a future pynac release. see https://trac.sagemath.org/ticket/28357
|
||||
(fetchpatch {
|
||||
name = "realpartloop.patch";
|
||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/realpartloop.patch?h=9.4.beta5";
|
||||
sha256 = "sha256-1nj0xtlFN5fZKEiRLD+tiW/ZtxMQre1ziEGA0OVUGE4=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
flint
|
||||
gmp
|
||||
|
Loading…
Reference in New Issue
Block a user