unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#51187] [PATCH] gnu: Add herbe.
@ 2021-10-13 18:43 iKaSeRo
  2021-10-28 19:12 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: iKaSeRo @ 2021-10-13 18:43 UTC (permalink / raw)
  To: 51187; +Cc: iKaSeRo

* gnu/packages/suckless.scm (herbe): New variable.
---
 gnu/packages/suckless.scm | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b24eced379..f3ed9f1df6 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -303,6 +303,46 @@ optimising the environment for the application in use and the task performed.")
 numbers of user-defined menu items efficiently.")
     (license license:x11)))
 
+(define-public herbe
+  (package
+    (name "herbe")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dudik/herbe")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0358i5jmmlsvy2j85ij7m1k4ar2jr5lsv7y1c58dlf9710h186cv"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key outputs inputs #:allow-other-keys)
+             (substitute* "Makefile"
+               (("CC \\?= cc")
+                (string-append "CC ="
+                               ,(cc-for-target)))
+               (("PREFIX \\?= /usr/local")
+                (string-append "PREFIX ="
+                               (assoc-ref outputs "out")))
+               (("/usr/include/freetype2")
+                (string-append (assoc-ref inputs "freetype")
+                               "/include/freetype2"))))))))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxft" ,libxft)))
+    (home-page "https://github.com/dudik/herbe")
+    (synopsis "Daemon-less notifications")
+    (description "Daemon-less notifications without D-Bus.
+You can use @code{tiramisu} to call @code{herbe}")
+    (license license:expat)))
+
 (define-public spoon
   (package
     (name "spoon")
-- 
2.33.0





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

end of thread, other threads:[~2021-10-28 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 18:43 [bug#51187] [PATCH] gnu: Add herbe iKaSeRo
2021-10-28 19:12 ` Ludovic Courtès

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).