summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/misc/notifymuch/default.nix
blob: 0a2d46cd3270315e8148b767885e053bf8c89969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
  };
}