all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 63814@debbugs.gnu.org
Subject: [bug#63814] [PATCH 3/6] gnu: Add yder.
Date: Wed, 31 May 2023 19:27:03 +0000	[thread overview]
Message-ID: <20230531192706.17155-3-antero@mailbox.org> (raw)
In-Reply-To: <20230531192706.17155-1-antero@mailbox.org>

* gnu/packages/web.scm (yder): New variable.
---
 gnu/packages/web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e47abdb1bc..bc066b6a71 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -8830,6 +8830,43 @@ (define-public orcania
 libraries.")
     (license license:lgpl2.1)))
 
+(define-public yder
+  (package
+    (name "yder")
+    (version "1.4.19")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/babelouest/yder")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "02jgrqby39ykfdhc7z0bh3x5aqisqybz6lnvn7msh9wqbj5zvzi8"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags #~(list "-DWITH_JOURNALD=OFF"
+                                     "-DBUILD_YDER_TESTING=ON"
+                                     "-DBUILD_YDER_DOCUMENTATION=ON")
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'build 'build-doc
+                          (lambda _
+                            (invoke "make" "doc")))
+                        (add-after 'install 'install-doc
+                          (lambda _
+                            (let ((doc (string-append #$output
+                                                      "/share/doc/yder")))
+                              (mkdir-p doc)
+                              (copy-recursively "../source/doc/html" doc)))))))
+    (native-inputs (list check doxygen subunit))
+    (inputs (list orcania))
+    (home-page "https://babelouest.github.io/yder/")
+    (synopsis "Logging library for C applications")
+    (description
+     "Yder is a logging library written in C.  It can log messages to the
+console, a file, syslog, journald, or a callback function.")
+    (license license:lgpl2.1)))
+
 
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
-- 
2.39.2





  parent reply	other threads:[~2023-05-31 19:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31 19:23 [bug#63814] [PATCH 0/6] gnu: Add le-biniou Antero Mejr via Guix-patches via
2023-05-31 19:27 ` [bug#63814] [PATCH 1/6] gnu: Add subunit Antero Mejr via Guix-patches via
2023-05-31 19:27   ` [bug#63814] [PATCH 2/6] gnu: Add orcania Antero Mejr via Guix-patches via
2023-05-31 19:27   ` Antero Mejr via Guix-patches via [this message]
2023-05-31 19:27   ` [bug#63814] [PATCH 4/6] gnu: Add ulfius Antero Mejr via Guix-patches via
2023-05-31 19:27   ` [bug#63814] [PATCH 5/6] gnu: Add le-biniou-data Antero Mejr via Guix-patches via
2023-05-31 19:27   ` [bug#63814] [PATCH 6/6] gnu: Add le-biniou Antero Mejr via Guix-patches via
2023-06-24 15:05 ` bug#63814: [PATCH 0/6] " 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=20230531192706.17155-3-antero@mailbox.org \
    --to=guix-patches@gnu.org \
    --cc=63814@debbugs.gnu.org \
    --cc=antero@mailbox.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.