2021-08-10 15:00:50 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
2022-01-15 10:28:02 +00:00
|
|
|
, pythonOlder
|
2021-08-10 15:00:50 +01:00
|
|
|
}:
|
2020-11-28 02:36:32 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dbutils";
|
2022-01-15 10:28:02 +00:00
|
|
|
version = "3.0.2";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-11-28 02:36:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "DBUtils";
|
2022-01-15 10:28:02 +00:00
|
|
|
hash = "sha256-+t65eeFAbcEj4tuZVfMU4NU2DzBOC9bPBHqqX8P99bM=";
|
2020-11-28 02:36:32 +00:00
|
|
|
};
|
|
|
|
|
2022-01-15 10:28:02 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-11-28 02:36:32 +00:00
|
|
|
|
2022-01-15 10:28:02 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"dbutils"
|
|
|
|
];
|
2021-08-10 15:00:50 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-28 02:36:32 +00:00
|
|
|
description = "Database connections for multi-threaded environments";
|
|
|
|
homepage = "https://webwareforpython.github.io/DBUtils/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|