23 # this is a pythonPackage because of the ipython line magics in pgcli.magic
24 # integrating with ipython-sql
25 buildPythonPackage rec {
31 inherit pname version;
32 hash = "sha256-P9Fsi1G9AUX/YYwscyZLzYVLqGaqIG1PB2hR9kG5shU=";
35 propagatedBuildInputs = [
50 nativeBuildInputs = [ setuptools ];
57 # requires running postgres
58 "test_application_name_in_env"
59 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "test_application_name_db_uri" ];
62 description = "Command-line interface for PostgreSQL";
63 mainProgram = "pgcli";
65 Rich command-line interface for PostgreSQL with auto-completion and
68 homepage = "https://pgcli.com";
69 changelog = "https://github.com/dbcli/pgcli/raw/v${version}/changelog.rst";
70 license = licenses.bsd3;
71 maintainers = with maintainers; [