13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
21 inherit pname version;
22 hash = "sha256-By960AzXI2lcsun8AsHfuEx4FFXpe43m9MQoHuoIB4w=";
30 propagatedBuildInputs = [
34 ] ++ lib.optionals (pythonOlder "3.8") [
38 # Tests require a running PostgreSQL instance
41 pythonImportsCheck = [
46 description = "Python driver for PostgreSQL";
47 homepage = "https://github.com/tlocke/pg8000";
48 changelog = "https://github.com/tlocke/pg8000#release-notes";
49 license = with licenses; [ bsd3 ];
50 maintainers = with maintainers; [ domenkozar ];
51 platforms = platforms.unix;