Merge pull request #107917 from wishfort36/tiramisu

tiramisu: init at 1.0
This commit is contained in:
Pavol Rusnak 2020-12-30 12:19:55 +01:00 committed by GitHub
commit 29b658e67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "tiramisu";
version = "1.0";
src = fetchFromGitHub {
owner = "Sweets";
repo = pname;
rev = version;
sha256 = "0aw17riwgrhsmcndzh7sw2zw8xvn3d203c2gcrqi9nk5pa7fwp9m";
};
postPatch = ''
sed -i 's/printf(element_delimiter)/printf("%s", element_delimiter)/' src/output.c
'';
buildInputs = [ glib ];
nativeBuildInputs = [ pkg-config ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.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 ];
};
}

View File

@ -22090,6 +22090,8 @@ in
swaylock-effects = callPackage ../applications/window-managers/sway/lock-effects.nix { };
tiramisu = callPackage ../applications/misc/tiramisu { };
waybar = callPackage ../applications/misc/waybar {};
hikari = callPackage ../applications/window-managers/hikari { };