python3Packages.psycopg: 3.1.3 -> 3.1.8

https://www.psycopg.org/psycopg3/docs/news.html#psycopg-3-1-8
This commit is contained in:
Martin Weinelt
2023-01-31 17:13:19 +01:00
parent c3b1fd8ba1
commit 7bc841939d
@@ -16,6 +16,7 @@
# psycopg-c
, cython_3
, tomli
# docs
, furo
@@ -32,13 +33,13 @@
let
pname = "psycopg";
version = "3.1.3";
version = "3.1.8";
src = fetchFromGitHub {
owner = "psycopg";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-cAfFxUDgfI3KTlBU9wV/vQkPun4cR3se8eSIHHcEr4g=";
hash = "sha256-VmuotHcLWd+k8/GLv0N2wSZR0sZjY+TmGBQjhpYE3YA=";
};
patches = [
@@ -70,9 +71,10 @@ let
'';
nativeBuildInputs = [
setuptools
cython_3
postgresql
setuptools
tomli
];
# tested in psycopg
@@ -96,7 +98,7 @@ let
cd psycopg_pool
'';
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
propagatedBuildInputs = [
typing-extensions
];