From c6a975339235fe75c8202817583a62de561a8cdd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 11 Sep 2020 18:58:10 +0200 Subject: WIP: notifymuch: init at 2020-09-11 Signed-off-by: Matthias Beyer --- pkgs/tools/misc/notifymuch/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/tools/misc/notifymuch/default.nix diff --git a/pkgs/tools/misc/notifymuch/default.nix b/pkgs/tools/misc/notifymuch/default.nix new file mode 100644 index 000000000000..0a2d46cd3270 --- /dev/null +++ b/pkgs/tools/misc/notifymuch/default.nix @@ -0,0 +1,24 @@ +{ lib, python3Packages, fetchFromGitHub, glibcLocales }: + +with python3Packages; +buildPythonApplication rec { + pname = "notifymuch"; + version = "2020-09-11"; + + src = fetchFromGitHub { + owner = "kspi"; + repo = "notifymuch"; + rev = "9d4aaf54599282ce80643b38195ff501120807f0"; + sha256 = "1lssr7iv43mp5v6nzrfbqlfzx8jcc7m636wlfyhhnd8ydd39n6k4"; + }; + + checkInputs = [ pygobject3 notmuch notify2 ]; + + meta = { + description = "Display desktop notifications for unread mail in notmuch database"; + homepage = "https://github.com/kspi/notifymuch"; + # license = # no license in repository + }; +} + + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a7d370ff4561..1e5c99ea78ec 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4438,6 +4438,8 @@ in { notify-py = callPackage ../development/python-modules/notify-py { }; + notifymuch = callPackage ../tools/misc/notifymuch { }; + notmuch = callPackage ../development/python-modules/notmuch { inherit (pkgs) notmuch; }; notmuch2 = callPackage ../development/python-modules/notmuch/2.nix { inherit (pkgs) notmuch; }; -- cgit v1.2.3