Commit f858a984 authored by ArchercatNEO's avatar ArchercatNEO
Browse files

python3Packages.pyliblo3: add patch to fix cython compilation failure

Fixes #437077
Updating cython from 3.0.12 to 3.1.2 broke pyliblo compilations.
This patch has already been upstreamed but no official release has been
made yet.
Once an official release is made the patch can be removed.
parent 2071b159
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  setuptools,
  python,
  liblo,
@@ -20,6 +21,15 @@ buildPythonPackage rec {
    hash = "sha256-QfwZXkUT4U2Gfbv3rk0F/bze9hwJGn7H8t0X1SWqIuc=";
  };

  patches = [
    # https://github.com/NixOS/nixpkgs/issues/437077
    (fetchpatch2 {
      name = "fix-compilation-for-cython-3.1.2";
      url = "https://github.com/gesellkammer/pyliblo3/commit/baa249acf91bcb851aa4e30e53e88728fe0fb0c9.patch?full_index=1";
      hash = "sha256-fMKBVIZLBq62khhX40tpaM47nuHB0eqiURIul/4LMig=";
    })
  ];

  build-system = [
    setuptools
    cython