02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
42 lines
732 B
Nix
42 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, psycopg
|
|
, click
|
|
, configobj
|
|
, sqlparse
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pgspecial";
|
|
version = "2.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZEQ7vJrQm1fQ9Ny7OO/0TVKFO3QYyepS9YV6vhu1NOw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
sqlparse
|
|
psycopg
|
|
];
|
|
|
|
checkInputs = [
|
|
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; [ ];
|
|
};
|
|
}
|