1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, psycopg 6, click 7, configobj 8, sqlparse 9}: 10 11buildPythonPackage rec { 12 pname = "pgspecial"; 13 version = "2.0.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-ZEQ7vJrQm1fQ9Ny7OO/0TVKFO3QYyepS9YV6vhu1NOw="; 18 }; 19 20 propagatedBuildInputs = [ 21 click 22 sqlparse 23 psycopg 24 ]; 25 26 checkInputs = [ 27 configobj 28 pytestCheckHook 29 ]; 30 31 disabledTests = [ 32 # requires a postgresql server 33 "test_slash_dp_pattern_schema" 34 ]; 35 36 meta = with lib; { 37 description = "Meta-commands handler for Postgres Database"; 38 homepage = "https://github.com/dbcli/pgspecial"; 39 license = licenses.bsd3; 40 maintainers = with maintainers; [ ]; 41 }; 42}