summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/database
diff options
context:
space:
mode:
authorJosé Luis Lafuente <jl@lafuente.me>2017-06-03 20:32:14 +0200
committerJosé Luis Lafuente <jl@lafuente.me>2017-06-03 20:32:14 +0200
commit5b3c1e8a78d438ce13824b506ae3f4670ad2f50d (patch)
tree092e93d498b56de0de5b747cca85221ffcf8f1da /pkgs/development/tools/database
parent2d2a3efab061c32a46ed197a88e7e80977c543d8 (diff)
pgcli: 1.5.1 -> 1.6.0
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r--pkgs/development/tools/database/pgcli/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/tools/database/pgcli/default.nix b/pkgs/development/tools/database/pgcli/default.nix
index 2b278e0416f5..bcb0cf1d5e4c 100644
--- a/pkgs/development/tools/database/pgcli/default.nix
+++ b/pkgs/development/tools/database/pgcli/default.nix
@@ -2,10 +2,10 @@
pythonPackages.buildPythonApplication rec {
name = "pgcli-${version}";
- version = "1.5.1";
+ version = "1.6.0";
src = fetchFromGitHub {
- sha256 = "1wp8pzi9hwz16fpcr0mq3ffydwdscfg5whhzc91757dw995sgl0s";
+ sha256 = "0f1zv4kwi2991pclf8chrhgjwf8jkqxdh5ndc9qx6igh56iyyncz";
rev = "v${version}";
repo = "pgcli";
owner = "dbcli";
@@ -13,7 +13,8 @@ pythonPackages.buildPythonApplication rec {
buildInputs = with pythonPackages; [ pytest mock ];
checkPhase = ''
- py.test tests -k 'not test_missing_rc_dir and not test_quoted_db_uri and not test_port_db_uri'
+ mkdir /tmp/homeless-shelter
+ HOME=/tmp/homeless-shelter py.test tests -k 'not test_missing_rc_dir and not test_quoted_db_uri and not test_port_db_uri'
'';
propagatedBuildInputs = with pythonPackages; [