unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46427] [PATCH] gnu: Add tiramisu.
@ 2021-02-10 18:03 Stefan Reichör
  2021-02-11 10:17 ` bug#46427: " 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Reichör @ 2021-02-10 18:03 UTC (permalink / raw)
  To: 46427; +Cc: Stefan Reichör

* gnu/packages/gnome-xyz.scm (tiramisu): New variable.
---
 gnu/packages/gnome-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index eb99fda78e..5743f5999a 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Ellis Kenyo <me@elken.dev>
+;;; Copyright © 2020 Stefan Reichör <stefan@xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32,6 +33,7 @@
   #:use-module (guix build-system meson)
   #:use-module (guix git-download)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
@@ -888,3 +890,40 @@ feature-set for programming Vala effectively.")
    (description "Nordic is a Gtk3.20+ theme created using the Nord color
 pallete.")
    (license license:gpl3))))
+
+(define-public tiramisu
+  (package
+    (name "tiramisu")
+    (version "1.0a")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Sweets/tiramisu")
+                    (commit "8eb946dae0e2f98d3850d89e1bb535640e8c3266")))
+              (sha256
+               (base32
+                "0wz2r8369d40vnxswknx0zxzbs03gzv0nc8al4g0ffg972p15j25"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'check)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (install-file "tiramisu" (string-append out "/bin"))
+               #t))))
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target)))))
+    (inputs
+     `(("glib" ,glib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/Sweets/tiramisu")
+    (synopsis "Desktop notifications, the UNIX way")
+    (description "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.")
+    (license license:expat)))
-- 
2.25.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#46427: [PATCH] gnu: Add tiramisu.
  2021-02-10 18:03 [bug#46427] [PATCH] gnu: Add tiramisu Stefan Reichör
@ 2021-02-11 10:17 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2021-02-11 10:17 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: 46427-done

Stefan Reichör <stefan@xsteve.at> writes:

> * gnu/packages/gnome-xyz.scm (tiramisu): New variable.
> ---
>  gnu/packages/gnome-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 39 insertions(+)
> [...]
> +
> +(define-public tiramisu
> +  (package
> +    (name "tiramisu")
> +    (version "1.0a")

I changed this "1.0a" to 'git-version'.

Pushed, thank you!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-11 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 18:03 [bug#46427] [PATCH] gnu: Add tiramisu Stefan Reichör
2021-02-11 10:17 ` bug#46427: " 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).