Commit 5c5dc433 authored by Robert Schütz's avatar Robert Schütz
Browse files

python310Packages.psycopg: fix build with Cython 3.0.0b1

parent cc1f7504
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, fetchurl
, pythonOlder
, substituteAll
@@ -48,6 +49,11 @@ let
      libpq = "${postgresql.lib}/lib/libpq${stdenv.hostPlatform.extensions.sharedLibrary}";
      libc = "${stdenv.cc.libc}/lib/libc.so.6";
    })
    (fetchpatch {
      name = "cython-3.0.0b1-compat.patch";
      url = "https://github.com/psycopg/psycopg/commit/573446a14312f36257ed9dcfb8eb2756b69d5d9b.patch";
      hash = "sha256-NWItarNb/Yyfj1avb/SXTkinVGxvWUGH8y6tR/zhVmE=";
    })
  ];

  baseMeta = {