diff --git a/pkgs/development/python-modules/pgcli/default.nix b/pkgs/development/python-modules/pgcli/default.nix index 4f21f9bb05b14f0..38bbed27eef565c 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";