about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/tiramisu/default.nix
blob: 3e8f101f871e542272751ab38923aeb89c027d98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, vala }:

stdenv.mkDerivation rec {
  pname = "tiramisu";
  version = "2.0.20211107";

  src = fetchFromGitHub {
    owner = "Sweets";
    repo = pname;
    rev = version;
    sha256 = "1n1x1ybbwbanibw7b90k7v4cadagl41li17hz2l8s2sapacvq3mw";
  };

  buildInputs = [ glib ];

  nativeBuildInputs = [ pkg-config vala ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "Desktop notifications, the UNIX way";
    longDescription = ''
      tiramisu is a notification daemon based on dunst that outputs notifications
      to STDOUT in order to allow the user to process notifications any way they
      prefer.
    '';
    homepage = "https://github.com/Sweets/tiramisu";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ wishfort36 moni ];
  };
}