guix-patches
[Top][All Lists]
Advanced

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

[bug#44969] [PATCH 6/7] gnu: Added go-gopkg-in-natefinch-lumberjack.v2.


From: Martin Becze
Subject: [bug#44969] [PATCH 6/7] gnu: Added go-gopkg-in-natefinch-lumberjack.v2.
Date: Mon, 30 Nov 2020 14:24:07 -0600

* gnu/packages/golang.scm (go-gopkg-in-natefinch-lumberjack.v2): New variable.
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 78bbf2453d..3d1260e15b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6140,3 +6140,28 @@ modifying them.")
 related metrics (i.e. response time, bytes written, and http status
  code) from your application's http.Handlers.")
     (license license:expat)))
+
+(define-public go-gopkg-in-natefinch-lumberjack.v2
+  (package
+    (name "go-gopkg-in-natefinch-lumberjack.v2")
+    (version "2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/natefinch/lumberjack";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1l3vlv72b7rfkpy1164kwd3qzrqmmjnb67akzxqp2mlvc66k6p3d"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "gopkg.in/natefinch/lumberjack.v2"))
+    (propagated-inputs
+     `(("github.com/burntsush/toml" ,go-github-com-burntsushi-toml)
+       ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2)))
+    (home-page "https://github.com/natefinch/lumberjack";)
+    (synopsis "A rolling logger for go")
+    (description "Lumberjack is a Go package for writing logs to rolling 
files.")
+    (license license:expat)))
-- 
2.29.2






reply via email to

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