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