1 { lib, stdenv, fetchFromGitHub, dbus, pkg-config }:
4 pname = "notify-desktop";
7 src = fetchFromGitHub {
9 repo = "notify-desktop";
10 rev = "9863919fb4ce7820810ac14a09a46ee73c3d56cc";
11 sha256 = "1brcvl2fx0yzxj9mc8hzfl32zdka1f1bxpzsclcsjplyakyinr1a";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ dbus ];
19 install -m 755 bin/notify-desktop $out/bin/notify-desktop
23 description = "Little application that lets you send desktop notifications with one command";
25 It's basically clone of notify-send from libnotify,
26 but it supports reusing notifications on screen by passing its ID.
27 It also does not use any external dependencies (except from libdbus of course).
29 homepage = "https://github.com/nowrep/notify-desktop";
30 license = licenses.gpl2Plus;
31 platforms = platforms.unix;
32 maintainers = with maintainers; [ ylwghst ];
33 mainProgram = "notify-desktop";