guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 95c2e81fe2b75121da32bf6a450dce331297abe4
Author: bdunahu <[email protected]>
AuthorDate: Sat Sep 12 19:59:58 2026 -0400

    gnu: Add simplelogger.
    
    * gnu/packages/cpp.scm (simplelogger): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/cpp.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 6e5822b1388..37e2f89cb24 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3623,6 +3623,35 @@ validation.")
     (home-page "https://github.com/simdjson/simdjson";)
     (license license:asl2.0)))
 
+(define-public simplelogger
+  (package
+    (name "simplelogger")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/juzzlin/SimpleLogger";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1lw2lci1gwxi1v56zpr4b30lsgi0kw5njm8j3k4bvdciphs5wdd8"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'delete-static-archive
+            (lambda _
+              (delete-file
+               (in-vicinity #$output "lib/libSimpleLogger_static.a")))))))
+    (home-page "https://github.com/juzzlin/SimpleLogger";)
+    (synopsis "Simple logging library")
+    (description "SimpleLogger is a thread-safe C++ logging library with
+configurable log-levels and support for various timestamp formats.  It can
+batch and cache log messages as well as collapse repeated messages.")
+    (license license:expat)))
+
 (define-public bloomberg-bde-tools
   (package
     (name "bloomberg-bde-tools")

Reply via email to