depot/third_party/nixpkgs/pkgs/development/python-modules/pgspecial/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

43 lines
761 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, psycopg
, click
, configobj
, sqlparse
}:
buildPythonPackage rec {
pname = "pgspecial";
version = "2.1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-o4I5zZYfrDPObaNcRm11istvlCkBWY19905bgv5vVjY=";
};
propagatedBuildInputs = [
click
sqlparse
psycopg
];
nativeCheckInputs = [
configobj
pytestCheckHook
];
disabledTests = [
# requires a postgresql server
"test_slash_dp_pattern_schema"
];
meta = with lib; {
description = "Meta-commands handler for Postgres Database";
homepage = "https://github.com/dbcli/pgspecial";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}