Skip to content

Commit

Permalink
pgcli: 4.0.1 -> 4.1.0
Browse files Browse the repository at this point in the history
Migrate to `pyproject` to build the python package.
  • Loading branch information
dbalan authored and SuperSandro2000 committed Jun 20, 2024
1 parent 4cff47b commit 051664c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/pgcli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
keyring,
pendulum,
pytestCheckHook,
setuptools,
sshtunnel,
mock,
}:
Expand All @@ -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 = [
Expand All @@ -46,12 +47,15 @@ buildPythonPackage rec {
sshtunnel
];

nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
mock
];

disabledTests = lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];
disabledTests = [
"test_application_name_in_env"
] ++ lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ];

meta = with lib; {
description = "Command-line interface for PostgreSQL";
Expand Down

0 comments on commit 051664c

Please sign in to comment.