From 5b3c1e8a78d438ce13824b506ae3f4670ad2f50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Sat, 3 Jun 2017 20:32:14 +0200 Subject: [PATCH] pgcli: 1.5.1 -> 1.6.0 --- pkgs/development/tools/database/pgcli/default.nix | 7 ++++--- pkgs/top-level/python-packages.nix | 5 +++-- 2 files changed, 7 insertions(+), 5 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; [ diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4e292dbcb0c4..1c7ef8818045 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17679,17 +17679,18 @@ in { pgspecial = buildPythonPackage rec { pname = "pgspecial"; - version = "1.7.0"; + version = "1.8.0"; name = "${pname}-${version}"; src = fetchPypi { inherit pname version; - sha256 = "0jnv8mr75pjhj2azb2ljhhkd7s1b0b59f7xps322kqbpmwf26zi9"; + sha256 = "1dwlv3m4jl34zsakmvxg6hgbfv786jl8dcffxsrlnmcpks829xc9"; }; buildInputs = with self; [ pytest psycopg2 ]; checkPhase = '' + find tests -name \*.pyc -delete py.test tests '';