mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
pgcli: use psycopg3
pgcli 3.5.0 supports psycopg 3
This commit is contained in:
parent
854a94aa19
commit
c85040af5c
@ -1,11 +1,12 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cli-helpers
|
||||
, click
|
||||
, configobj
|
||||
, prompt-toolkit
|
||||
, psycopg2
|
||||
, psycopg
|
||||
, pygments
|
||||
, sqlparse
|
||||
, pgspecial
|
||||
@ -28,17 +29,12 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-zESNlRWfwJA9NhgpkneKCW7aV1LWYNR2cTg8jiv2M/E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pgspecial>=1.13.1,<2.0.0" "pgspecial>=1.13.1"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cli-helpers
|
||||
click
|
||||
configobj
|
||||
prompt-toolkit
|
||||
psycopg2
|
||||
psycopg
|
||||
pygments
|
||||
sqlparse
|
||||
pgspecial
|
||||
|
Loading…
Reference in New Issue
Block a user