Files
nixpkgs/pkgs/development/python-modules/connection-pool/default.nix
2026-09-07 18:39:14 +07:00

36 lines
708 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
isPy3k,
}:
buildPythonPackage (finalAttrs: {
pname = "connection-pool";
version = "0.0.3";
pyproject = true;
__structuredAttrs = true;
disabled = !isPy3k;
src = fetchPypi {
pname = "connection_pool";
inherit (finalAttrs) version;
hash = "sha256-v0Keeu9lkhxptO1I89SNPqwTg7BdLfkYhHBYQtl00Nw=";
};
build-system = [ setuptools ];
doCheck = false; # no tests
pythonImportsCheck = [ "connection_pool" ];
meta = {
description = "Thread-safe connection pool";
homepage = "https://github.com/zhouyl/ConnectionPool";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
})