python310Packages.psycopg: fix build with Cython 3.0.0b1
This commit is contained in:
parent
cc1f75044b
commit
5c5dc43305
1 changed files with 6 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue