all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iKaSeRo <ahmed@ikasero.com>
To: 51187@debbugs.gnu.org
Cc: iKaSeRo <ahmed@ikasero.com>
Subject: [bug#51187] [PATCH] gnu: Add herbe.
Date: Wed, 13 Oct 2021 21:43:42 +0300	[thread overview]
Message-ID: <20211013184342.5930-1-ahmed@ikasero.com> (raw)

* 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





             reply	other threads:[~2021-10-13 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13 18:43 iKaSeRo [this message]
2021-10-28 19:12 ` [bug#51187] [PATCH] gnu: Add herbe Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211013184342.5930-1-ahmed@ikasero.com \
    --to=ahmed@ikasero.com \
    --cc=51187@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.