at master 797 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "dbutils"; 11 version = "3.1.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "WebwareForPython"; 16 repo = "DBUtils"; 17 tag = "Release-${lib.replaceStrings [ "." ] [ "_" ] version}"; 18 hash = "sha256-YyZKGN7oNuCR4lU7pxkY+vLOWGQzQjqvAIOZc7LlvUM="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "dbutils" ]; 26 27 meta = { 28 description = "Database connections for multi-threaded environments"; 29 homepage = "https://webwareforpython.github.io/DBUtils/"; 30 changelog = "https://webwareforpython.github.io/DBUtils/changelog.html"; 31 license = lib.licenses.mit; 32 maintainers = [ ]; 33 }; 34}