1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5}:
6
7buildPythonPackage rec {
8 pname = "connection-pool";
9 version = "0.0.3";
10 disabled = !isPy3k;
11
12 src = fetchPypi {
13 pname = "connection_pool";
14 inherit version;
15 sha256 = "bf429e7aef65921c69b4ed48f3d48d3eac1383b05d2df91884705842d974d0dc";
16 };
17
18 doCheck = false; # no tests
19 pythonImportsCheck = [ "connection_pool" ];
20
21 meta = with lib; {
22 description = "Thread-safe connection pool";
23 homepage = "https://github.com/zhouyl/ConnectionPool";
24 license = with licenses; [ mit ];
25 maintainers = with maintainers; [ veprbl ];
26 };
27}