mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
36 lines
708 B
Nix
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 ];
|
|
};
|
|
})
|