depot/third_party/nixpkgs/pkgs/development/python-modules/dbutils/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

35 lines
681 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "dbutils";
version = "3.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "DBUtils";
hash = "sha256-+t65eeFAbcEj4tuZVfMU4NU2DzBOC9bPBHqqX8P99bM=";
};
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; [ SuperSandro2000 ];
};
}