guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/17: gnu: Add yder.


From: guix-commits
Subject: 13/17: gnu: Add yder.
Date: Sat, 24 Jun 2023 11:09:01 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c46ea1826a82c9abf3e3352c3f7b40f8a96c2510
Author: Antero Mejr <antero@mailbox.org>
AuthorDate: Wed May 31 19:27:03 2023 +0000

    gnu: Add yder.
    
    * gnu/packages/web.scm (yder): New variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1df2d945a7..04e19a36a0 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -8831,6 +8831,43 @@ It is intended to provide low-level functionalities for 
the Ulfius and Yder
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]