Merge pull request #319650 from dbalan/pgcli-4.1.0

pgcli: 4.0.1 -> 4.1.0
This commit is contained in:
Sandro
2024-06-21 00:52:54 +02:00
committed by GitHub
@@ -15,6 +15,7 @@
keyring,
pendulum,
pytestCheckHook,
setuptools,
sshtunnel,
mock,
}:
@@ -23,12 +24,12 @@
# integrating with ipython-sql
buildPythonPackage rec {
pname = "pgcli";
version = "4.0.1";
format = "setuptools";
version = "4.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-8v7qIJnOGtXoqdXZOw7a9g3GHpeyG3XpHZcjk5zlO9I=";
hash = "sha256-P9Fsi1G9AUX/YYwscyZLzYVLqGaqIG1PB2hR9kG5shU=";
};
propagatedBuildInputs = [
@@ -46,12 +47,16 @@ buildPythonPackage rec {
sshtunnel
];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
mock
];
disabledTests = lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];
disabledTests = [
# requires running postgres
"test_application_name_in_env"
] ++ lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];
meta = with lib; {
description = "Command-line interface for PostgreSQL";