1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "dbutils";
10 version = "3.0.3";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit version;
17 pname = "DBUtils";
18 hash = "sha256-jkhWWxKtK0sfIU3gKU3utLKFePWyq7QNaMKSS2TX4Ac=";
19 };
20
21 nativeCheckInputs = [
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; [ ];
34 };
35}