Files
nixpkgs/pkgs/development/python-modules/connection-pool/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
633 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "connection-pool";
version = "0.0.3";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
pname = "connection_pool";
inherit version;
sha256 = "bf429e7aef65921c69b4ed48f3d48d3eac1383b05d2df91884705842d974d0dc";
};
doCheck = false; # no tests
pythonImportsCheck = [ "connection_pool" ];
meta = with lib; {
description = "Thread-safe connection pool";
homepage = "https://github.com/zhouyl/ConnectionPool";
license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}