about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-06-21 00:52:54 +0200
committerGitHub <noreply@github.com>2024-06-21 00:52:54 +0200
commit7963fbe33a67d4bba1e3918a79809e1e4e0c87b0 (patch)
tree95b4362e39c5d6e1699f64285dd511b23d4ebf63 /pkgs
parent88130cec79267ea323ed7a31e60affbd9ca0cc3d (diff)
parentf5ad08a4d03287752b359f7d4925101f0f5847c2 (diff)
Merge pull request #319650 from dbalan/pgcli-4.1.0
pgcli: 4.0.1 -> 4.1.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pgcli/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pgcli/default.nix b/pkgs/development/python-modules/pgcli/default.nix
index 4f21f9bb05b14..38bbed27eef56 100644
--- a/pkgs/development/python-modules/pgcli/default.nix
+++ b/pkgs/development/python-modules/pgcli/default.nix
@@ -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";