about summary refs log tree commit diff
path: root/pkgs/applications/misc/tiramisu/default.nix
blob: 4a123be328c90c39ac7270e7a43bc178d15e12ef (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
33
34
35
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, vala }:

stdenv.mkDerivation rec {
  pname = "tiramisu";
  # FIXME: once a newer release in upstream is available
  version = "2.0-unstable-2023-03-29";

  src = fetchFromGitHub {
    owner = "Sweets";
    repo = "tiramisu";
    # FIXME: use the current HEAD commit as upstream has no releases since 2021
    rev = "5dddd83abd695bfa15640047a97a08ff0a8d9f9b";
    hash = "sha256-owYk/YFwJbqO6/dbGKPE8SnmmH4KvH+o6uWptqQtpfI=";
  };

  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 ];
    mainProgram = "tiramisu";
  };
}