504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
43 lines
761 B
Nix
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; [ ];
|
|
};
|
|
}
|