From b76763dd8b034575b5ea1c13c43e2d3b39e83ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 28 Nov 2020 03:36:32 +0100 Subject: [PATCH] pythonPackages.dbutils: init at 2.0 --- .../python-modules/dbutils/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/dbutils/default.nix diff --git a/pkgs/development/python-modules/dbutils/default.nix b/pkgs/development/python-modules/dbutils/default.nix new file mode 100644 index 000000000000..ec57e8ada051 --- /dev/null +++ b/pkgs/development/python-modules/dbutils/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook }: + +buildPythonPackage rec { + version = "2.0"; + pname = "dbutils"; + + src = fetchPypi { + inherit version; + pname = "DBUtils"; + sha256 = "131ifm2c2a7bipij597i8fvjka0dk2qv1xr2ghcvbc30jlkvag2g"; + }; + + checkInputs = [ pytestCheckHook ]; + + meta = with stdenv.lib; { + description = "Database connections for multi-threaded environments"; + homepage = "https://webwareforpython.github.io/DBUtils/"; + license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 440b53aaf2a4..8746006104c4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1532,6 +1532,8 @@ in { dbus-python = callPackage ../development/python-modules/dbus { inherit (pkgs) dbus pkgconfig; }; + dbutils = callPackage ../development/python-modules/dbutils { }; + dcmstack = callPackage ../development/python-modules/dcmstack { }; ddt = callPackage ../development/python-modules/ddt { };