summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/misc/notifymuch/default.nix
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-09-11 18:58:10 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-02-01 15:28:32 +0100
commitc6a975339235fe75c8202817583a62de561a8cdd (patch)
tree7c8121a0580ed4e8c00cc847d77949eac3081d3e /pkgs/tools/misc/notifymuch/default.nix
parent26187c65b637c2ee2a27674a5585af8106878736 (diff)
WIP: notifymuch: init at 2020-09-11add-notifymuch
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'pkgs/tools/misc/notifymuch/default.nix')
-rw-r--r--pkgs/tools/misc/notifymuch/default.nix24
1 files changed, 24 insertions, 0 deletions
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
+ };
+}
+
+