Merge pull request #177782 from lf-/pgcli-has-libs

pgcli: make it a package rather than an application
This commit is contained in:
Fabian Affolter 2022-06-16 23:59:13 +02:00 committed by GitHub
commit 91b1c2de34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ lib, stdenv { lib, stdenv
, buildPythonApplication , buildPythonPackage
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, cli-helpers , cli-helpers
@ -18,7 +18,9 @@
, mock , mock
}: }:
buildPythonApplication rec { # this is a pythonPackage because of the ipython line magics in pgcli.magic
# integrating with ipython-sql
buildPythonPackage rec {
pname = "pgcli"; pname = "pgcli";
version = "3.4.1"; version = "3.4.1";

View file

@ -16057,7 +16057,7 @@ with pkgs;
peg = callPackage ../development/tools/parsing/peg { }; peg = callPackage ../development/tools/parsing/peg { };
pgcli = pkgs.python3Packages.pgcli; pgcli = with pkgs.python3Packages; toPythonApplication pgcli;
picotool = callPackage ../development/tools/picotool { }; picotool = callPackage ../development/tools/picotool { };

View file

@ -6423,7 +6423,7 @@ in {
pg8000 = callPackage ../development/python-modules/pg8000 { }; pg8000 = callPackage ../development/python-modules/pg8000 { };
pgcli = callPackage ../development/tools/database/pgcli { }; pgcli = callPackage ../development/python-modules/pgcli { };
pglast = callPackage ../development/python-modules/pglast { }; pglast = callPackage ../development/python-modules/pglast { };