Commit 182971f3 authored by Alex Epelde's avatar Alex Epelde
Browse files

python3Packages.cypari: add patch for aarch64

parent 4c2b94b7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  python,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  setuptools,
  cython,
  gmp,
@@ -27,6 +28,13 @@ buildPythonPackage rec {
    substituteInPlace ./cypari/handle_error.pyx \
      --replace-fail "not a function in function call" "not a function in function cal"
  '';
  patches = [
    (fetchpatch {
      name = "support-aarch64-linux.patch";
      url = "https://github.com/3-manifolds/CyPari/commit/6197171b52ee4f44a4954ddd0e2e36769b189dee.patch";
      hash = "sha256-j2P7DEGD2B8q9Hh4G2mQng76fQdUpeAdFYoTD7Ui/Dk=";
    })
  ];

  preBuild = ''
    mkdir libcache