nixpkgs/pkgs/development/python-modules/dbutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
681 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
2020-11-28 02:36:32 +00:00
buildPythonPackage rec {
pname = "dbutils";
version = "3.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
2020-11-28 02:36:32 +00:00
src = fetchPypi {
inherit version;
pname = "DBUtils";
hash = "sha256-+t65eeFAbcEj4tuZVfMU4NU2DzBOC9bPBHqqX8P99bM=";
2020-11-28 02:36:32 +00:00
};
nativeCheckInputs = [
pytestCheckHook
];
2020-11-28 02:36:32 +00:00
pythonImportsCheck = [
"dbutils"
];
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 ];
};
}