-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75513fb
commit 06e80a5
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters