lol

python312Packages.pgspecial: refactor

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