summary refs log tree commit diff
path: root/pkgs/applications/misc/tiramisu
diff options
context:
space:
mode:
authorwishfort36 <42300264+wishfort36@users.noreply.github.com>2020-12-29 22:13:50 +0100
committerwishfort36 <42300264+wishfort36@users.noreply.github.com>2020-12-30 10:54:44 +0100
commit06e80a5930a2498e0903a577a7366cf7f4b5e034 (patch)
treefadb9e46713451800cf830d07415e7531ab7eb61 /pkgs/applications/misc/tiramisu
parent75513fb361477a5289a78e1a5c64a0ea13a7b535 (diff)
downloadnixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar.gz
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar.bz2
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar.lz
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar.xz
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.tar.zst
nixpkgs-06e80a5930a2498e0903a577a7366cf7f4b5e034.zip
tiramisu: init at 1.0
Diffstat (limited to 'pkgs/applications/misc/tiramisu')
-rw-r--r--pkgs/applications/misc/tiramisu/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/misc/tiramisu/default.nix b/pkgs/applications/misc/tiramisu/default.nix
new file mode 100644
index 00000000000..e5cc9a1c178
--- /dev/null
+++ b/pkgs/applications/misc/tiramisu/default.nix
@@ -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 ];
+  };
+}