From cc36db72d4397cd6f991d3765f8a8c10f0a57f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Tue, 16 Aug 2022 00:02:45 +0200 Subject: [PATCH] python3Packages.dinghy: init at 0.13.2 Co-authored-by: Vincent Haupert --- .../python-modules/dinghy/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/dinghy/default.nix diff --git a/pkgs/development/python-modules/dinghy/default.nix b/pkgs/development/python-modules/dinghy/default.nix new file mode 100644 index 000000000000..95140e82d0d2 --- /dev/null +++ b/pkgs/development/python-modules/dinghy/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, aiofiles +, aiohttp +, click-log +, emoji +, glom +, jinja2 +, pyyaml +}: + +buildPythonPackage rec { + pname = "dinghy"; + version = "0.13.2"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "nedbat"; + repo = pname; + rev = version; + sha256 = "sha256-uRiWcrs3xIb6zxNg0d6/+NCqnEgadHSTLpS53CoZ5so="; + }; + + propagatedBuildInputs = [ + aiofiles + aiohttp + click-log + emoji + glom + jinja2 + pyyaml + ]; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "dinghy.cli" ]; + + meta = with lib; { + description = "A GitHub activity digest tool"; + homepage = "https://github.com/nedbat/dinghy"; + license = licenses.asl20; + maintainers = with maintainers; [ trundle veehaitch ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e07c8e0a1bd4..bb442c3a2556 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2374,6 +2374,8 @@ in { dingz = callPackage ../development/python-modules/dingz { }; + dinghy = callPackage ../development/python-modules/dinghy { }; + diofant = callPackage ../development/python-modules/diofant { }; dipy = callPackage ../development/python-modules/dipy { };