Files
nixpkgs/pkgs/development/python-modules/pg8000/default.nix
T
Martin Weinelt 1809a95a5a python3Packages.pg8000: 1.31.2 -> 1.31.4
https://github.com/tlocke/pg8000#release-notes

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:16 +02:00

52 lines
993 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
importlib-metadata,
passlib,
python-dateutil,
pythonOlder,
scramp,
hatchling,
versioningit,
}:
buildPythonPackage rec {
pname = "pg8000";
version = "1.31.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-5+zOQzmJHyewsi4veeue/kQRi9OEIHNZ/Bg1D3iKzgA=";
};
build-system = [
hatchling
versioningit
];
dependencies = [
passlib
python-dateutil
scramp
]
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
# Tests require a running PostgreSQL instance
doCheck = false;
pythonImportsCheck = [ "pg8000" ];
meta = with lib; {
description = "Python driver for PostgreSQL";
homepage = "https://github.com/tlocke/pg8000";
changelog = "https://github.com/tlocke/pg8000#release-notes";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}