1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 version = "2.0.2";
9 pname = "dbutils";
10
11 src = fetchPypi {
12 inherit version;
13 pname = "DBUtils";
14 sha256 = "1cc8zyd4lapzf9ny6c2jf1vysphlhr19m8miyvw5spbyq4pxpnsf";
15 };
16
17 checkInputs = [ pytestCheckHook ];
18
19 pythonImportsCheck = [ "dbutils" ];
20
21 meta = with lib; {
22 description = "Database connections for multi-threaded environments";
23 homepage = "https://webwareforpython.github.io/DBUtils/";
24 license = licenses.mit;
25 maintainers = with maintainers; [ SuperSandro2000 ];
26 };
27}