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