summaryrefslogtreecommitdiff
path: root/gnu/packages/logging.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-06-15 01:58:44 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-20 15:06:54 +0100
commit9c7f846a802b462e114e352e6fe3cd3443c4cb0e (patch)
treea32dc4ee8c6bdbe2d498cec72c9f88866bf773ea /gnu/packages/logging.scm
parent351c5f8d82e0ed4beba7b27af597610a69eaf6d6 (diff)
gnu: Add logmich.
* gnu/packages/logging.scm (logmich): New variable. Change-Id: I365548bf3a27838e520c8af2ecad689947e00ef3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/logging.scm')
-rw-r--r--gnu/packages/logging.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index a1cf1739ac..ff43859814 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu>
+;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -41,6 +42,7 @@
#:use-module (gnu packages bison)
#:use-module (gnu packages c)
#:use-module (gnu packages check)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
@@ -117,6 +119,36 @@ after Apache log4j which uses the Apache Portable Runtime for most
platform-specific code.")
(license license:asl2.0)))
+(define-public logmich
+ ;; XXX: Does not release anymore.
+ (let ((commit "0cc475efc10c6786d1d805c997fab1d7da60252a")
+ (revision "0"))
+ (package
+ (name "logmich")
+ (version (git-version "0.2.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/logmich/logmich")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1q7dkw3sw2578kx4vf646hzzlca82rnprbvc1bp2nf218id8n326"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "-DBUILD_TESTS=ON")))
+ (inputs (list fmt-8))
+ (native-inputs (list tinycmmc))
+ (home-page "https://github.com/logmich/logmich")
+ (synopsis "Trivial logging library")
+ (description
+ "This package provides a bare-bones logging library for C++, with only
+a @code{printf}-like syntax and five logging levels.")
+ (license license:gpl3+))))
+
(define-public glog
(package
(name "glog")