Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 configobj, 6 fetchPypi, 7 psycopg, 8 pytestCheckHook, 9 pythonOlder, 10 setuptools, 11 sqlparse, 12}: 13 14buildPythonPackage rec { 15 pname = "pgspecial"; 16 version = "2.1.2"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-8EGeGzt4+zpy/jtUb2eIpxIJFTLVmf51k7X27lWoj4c="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 click 30 sqlparse 31 psycopg 32 ]; 33 34 nativeCheckInputs = [ 35 configobj 36 pytestCheckHook 37 ]; 38 39 disabledTests = [ 40 # Test requires a Postgresql server 41 "test_slash_dp_pattern_schema" 42 ]; 43 44 meta = with lib; { 45 description = "Meta-commands handler for Postgres Database"; 46 homepage = "https://github.com/dbcli/pgspecial"; 47 changelog = "https://github.com/dbcli/pgspecial/releases/tag/v${version}"; 48 license = licenses.bsd3; 49 maintainers = [ ]; 50 }; 51}