Merge pull request #75032 from marsam/update-pgcli

pgcli: 2.1.1 -> 2.2.0
This commit is contained in:
Vladyslav M 2019-12-05 21:57:32 +02:00 committed by GitHub
commit ca7272d199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pgspecial";
version = "1.11.7";
version = "1.11.8";
src = fetchPypi {
inherit pname version;
sha256 = "0wy1zmd44y0vl0kxx2y53g6lpipmixbwwrg6c2r7rc3nwa0icl7p";
sha256 = "8c53fa2b2490fa9ec34ede4eafff8ddbe8bce5cba3dcae96509be36ec8c75575";
};
checkInputs = [ pytest ];

View File

@ -1,17 +1,17 @@
{ buildPythonApplication, lib, fetchPypi, isPy3k, fetchpatch
{ buildPythonApplication, lib, fetchPypi, isPy3k
, cli-helpers, click, configobj, humanize, prompt_toolkit, psycopg2
, pygments, sqlparse, pgspecial, setproctitle, keyring, pytest, mock
}:
buildPythonApplication rec {
pname = "pgcli";
version = "2.1.1";
version = "2.2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1jmnb8izsdjmq9cgajhfapr31wlhvcml4lakz2mcmjn355x83q44";
sha256 = "54138a31e6736a34c63b84a6d134c9292c9a73543cc0f66e80a0aaf79259d39b";
};
propagatedBuildInputs = [
@ -21,9 +21,10 @@ buildPythonApplication rec {
checkInputs = [ pytest mock ];
# One test fails: https://github.com/dbcli/pgcli/issues/1104
doCheck = false;
checkPhase = "pytest";
# `test_application_name_db_uri` fails: https://github.com/dbcli/pgcli/issues/1104
checkPhase = ''
pytest --deselect=tests/test_main.py::test_application_name_db_uri
'';
meta = with lib; {
description = "Command-line interface for PostgreSQL";