Merge pull request #310370 from mjoerg/dbutils-fix-build

python3Packages.dbutils: fix build
This commit is contained in:
Weijia Wang 2024-05-11 11:01:45 +02:00 committed by GitHub
commit 7a9ac88241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
, pythonOlder
}:
@ -8,7 +9,7 @@
buildPythonPackage rec {
pname = "dbutils";
version = "3.1.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
@ -18,6 +19,10 @@ buildPythonPackage rec {
hash = "sha256-6lKLoRBjJA7qgjRevG98yTJMBuQulCCwC80kWpW/zCQ=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
@ -26,10 +31,11 @@ buildPythonPackage rec {
"dbutils"
];
meta = with lib; {
meta = {
description = "Database connections for multi-threaded environments";
homepage = "https://webwareforpython.github.io/DBUtils/";
license = licenses.mit;
maintainers = with maintainers; [ ];
changelog = "https://webwareforpython.github.io/DBUtils/changelog.html";
license = lib.licenses.mit;
maintainers = [ ];
};
}