2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2021-08-11 14:56:57 +00:00
|
|
|
}:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dbutils";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.1.0";
|
|
|
|
pyproject = true;
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "DBUtils";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-6lKLoRBjJA7qgjRevG98yTJMBuQulCCwC80kWpW/zCQ=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "dbutils" ];
|
2021-08-11 14:56:57 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
meta = {
|
2021-01-05 17:05:55 +00:00
|
|
|
description = "Database connections for multi-threaded environments";
|
|
|
|
homepage = "https://webwareforpython.github.io/DBUtils/";
|
2024-05-15 15:35:15 +00:00
|
|
|
changelog = "https://webwareforpython.github.io/DBUtils/changelog.html";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ ];
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
}
|