1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Python: add pgcli 0.13.0: command line interface for Postgres

This commit is contained in:
Tobias Geerinckx-Rice 2015-01-20 04:53:41 +01:00
parent 6a2175e4f2
commit 4a3c873e17

View file

@ -7078,6 +7078,29 @@ let
};
};
pgcli = buildPythonPackage rec {
name = "pgcli-${version}";
version = "0.13.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pgcli/${name}.tar.gz";
sha256 = "15qw4as8ryl4qv3p3diq31xwa7kygrnsx4ixlfijgvfwr2pcmgxm";
};
propagatedBuildInputs = with self; [ click jedi prompt_toolkit psycopg2 pygments sqlparse ];
meta = with stdenv.lib; {
description = "Command-line interface for PostgreSQL";
longDescription = ''
Rich command-line interface for PostgreSQL with auto-completion and
syntax highlighting.
'';
homepage = http://pgcli.com/about;
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ nckx ];
};
};
pip = buildPythonPackage rec {
version = "1.5.6";
name = "pip-${version}";