Subject: [PATCH v2 34/71] gnu: Add go-maunium-net-go-maulogger.

From: Miguel Ángel Moreno <[email-masked]>
Date: Sun, 11 Feb 2024 22:06:31 +0100

* gnu/packages/golang.scm (go-maunium-net-go-maulogger): New variable.

Change-Id: I22634dc80890d03f13da586cb86d5a1898da5cd6
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1904d7382c..1c95cc9393 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11910,6 +11910,31 @@ (define-public go-maunium-net-go-mauflag
 the GNU Program Argument Syntax conventions.")
     (license license:gpl3)))
 
+(define-public go-maunium-net-go-maulogger
+  (package
+    (name "go-maunium-go-maulogger")
+    (version "2.4.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tulir/maulogger")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "07q27ybjpkx86wjhygb186503wb9v1yxj1n5dnkbx2f15q44xjrs"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "maunium.net/go/maulogger"))
+    (propagated-inputs
+     (list go-github-com-rs-zerolog
+           go-github-com-tidwall-gjson
+           go-github-com-tidwall-sjson))
+    (home-page "https://github.com/tulir/maulogger")
+    (synopsis "A logger for Go programs")
+    (description "A logger in Go.")
+    (license license:mpl2.0)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.41.0

-- 
Best regards,
Miguel Ángel Moreno