1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

python3Packages.psycopg: 3.0.15 -> 3.0.16

This commit is contained in:
Martin Weinelt 2022-07-30 12:14:26 +02:00
parent 26208aea64
commit 6c8454548d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,7 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, fetchurl , fetchurl
, pythonOlder , pythonOlder
, substituteAll , substituteAll
@ -28,7 +27,7 @@
let let
pname = "psycopg"; pname = "psycopg";
version = "3.0.15"; version = "3.0.16";
in in
buildPythonPackage { buildPythonPackage {
@ -41,7 +40,7 @@ buildPythonPackage {
owner = "psycopg"; owner = "psycopg";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-1Wtp0wDuS6dxa1+u6DXu9fDLU7OtgsCUdbdcO5nhkxU="; hash = "sha256-jKhpmCcDi7FyMSpn51eSukFvmu3yacNovmRYG9jnu3g=";
}; };
outputs = [ outputs = [
@ -62,24 +61,6 @@ buildPythonPackage {
src = ./libpq.patch; src = ./libpq.patch;
libpq = "${postgresql.lib}/lib/libpq.so"; libpq = "${postgresql.lib}/lib/libpq.so";
}) })
# Work around docs build issues
# https://github.com/psycopg/psycopg/issues/337
(fetchpatch {
name = "sphinx-5.0-compat.patch";
url = "https://github.com/psycopg/psycopg/commit/ebff3a8392f002100d1e71d3deb94f27fb8cc0cf.patch";
hash = "sha256-QP9I6/xVJyWj5MQqWqxtmdBlesNUOwpYSMuzogJSnos=";
})
(fetchpatch {
name = "libpq-sqml-env-var.patch";
url = "https://github.com/psycopg/psycopg/commit/adf9cbdc1020abf87ae602fe0eb493c294459a93.patch";
hash = "sha256-HJ2Cx7Vg7PSitDEOqCUF7ehNU8aI+iFT886dk2wHsAI=";
})
(fetchpatch {
name = "avoid-dnspython-import-in-docs.patch";
url = "https://github.com/psycopg/psycopg/commit/3058421503b3fcbcf06382d558aac7b9ca2eaaec.patch";
hash = "sha256-D4vj5STafkQ34HWUyKZ3A9w9bY8holifPn3lsBjfVZA=";
})
]; ];
# only move to sourceRoot after patching, makes patching easier # only move to sourceRoot after patching, makes patching easier