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:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user