python310Packages.psycopg: fix build with Cython 3.0.0b1
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user