depot/third_party/nixpkgs/pkgs/development/python-modules/dbutils/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

35 lines
665 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dbutils";
version = "3.0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "DBUtils";
hash = "sha256-jkhWWxKtK0sfIU3gKU3utLKFePWyq7QNaMKSS2TX4Ac=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"dbutils"
];
meta = with lib; {
description = "Database connections for multi-threaded environments";
homepage = "https://webwareforpython.github.io/DBUtils/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}