Merge pull request #177782 from lf-/pgcli-has-libs
pgcli: make it a package rather than an application
This commit is contained in:
commit
91b1c2de34
3 changed files with 6 additions and 4 deletions
|
@ -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";
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue