pgcli: make it a package rather than an application

pgcli has line magics integrating with ipython-sql, which require
importing pgcli.magic. The current NixOS packaging doesn't allow this
import to work.
This commit is contained in:
Jade Lovelace
2022-06-15 10:41:31 -07:00
parent b1957596ff
commit 03ce061cec
@@ -1,5 +1,5 @@
{ lib, stdenv
, buildPythonApplication
, buildPythonPackage
, fetchPypi
, isPy3k
, cli-helpers
@@ -18,7 +18,7 @@
, mock
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "pgcli";
version = "3.4.1";