guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: Add plog.


From: guix-commits
Subject: 01/05: gnu: Add plog.
Date: Sat, 7 Sep 2024 10:15:01 -0400 (EDT)

abcdw pushed a commit to branch master
in repository guix.

commit 2fb2ace79d3b9ed11e0edb66c14ccda5784ce5bb
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Fri May 24 12:31:42 2024 +0800

    gnu: Add plog.
    
    * gnu/packages/logging.scm (plog): New variable.
    
    Change-Id: Ibb90ffc6342d099d3ca5e8e1694b0128d78f5d4c
    Signed-off-by: Andrew Tropin <andrew@trop.in>
---
 gnu/packages/logging.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index a757c22154..9cc28279d7 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -119,6 +119,31 @@ particular severity level.  It allows logging to be 
controlled from the
 command line.")
     (license license:bsd-3)))
 
+(define-public plog
+  (package
+    (name "plog")
+    (version "1.1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/SergiusTheBest/plog";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1kxqz3vn98y1qij60sxn0ldv5q2xh2zbp7v8cd9m21sf1yp636im"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags
+           #~'("-DPLOG_BUILD_TESTS=ON")))
+    (home-page "https://github.com/SergiusTheBest/plog";)
+    (synopsis "C++ logging library")
+    (description
+     "Plog is a C++ logging library that is designed to be simple, small and
+flexible.  It is created as an alternative to existing large libraries and
+provides some unique features such as CSV log format and wide string support.")
+    (license license:expat)))
+
 ;; This is the legacy version of the tailon package.  The new version, written
 ;; in Go in available here: https://github.com/gvalkov/tailon.
 (define-public tailon



reply via email to

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