1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "dbutils"; 10 version = "3.0.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "DBUtils"; 18 hash = "sha256-+t65eeFAbcEj4tuZVfMU4NU2DzBOC9bPBHqqX8P99bM="; 19 }; 20 21 checkInputs = [ 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ 26 "dbutils" 27 ]; 28 29 meta = with lib; { 30 description = "Database connections for multi-threaded environments"; 31 homepage = "https://webwareforpython.github.io/DBUtils/"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ SuperSandro2000 ]; 34 }; 35}