summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMartin Becze <mjbecze@riseup.net>2020-11-30 14:24:07 -0600
committerChristopher Baines <mail@cbaines.net>2020-12-08 08:50:43 +0000
commit2d9acf675ab14aa2fff0d1aa97d8d0c0d2a575ba (patch)
tree2aafc87a94816704677b5d4c29d9981ed6aed8e8 /gnu
parent2d0716e08127eef0732d272125d4c875f5009109 (diff)
downloadguix-2d9acf675ab14aa2fff0d1aa97d8d0c0d2a575ba.tar.gz
gnu: Add go-gopkg-in-natefinch-lumberjack.v2.
* gnu/packages/golang.scm (go-gopkg-in-natefinch-lumberjack.v2): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 876b331aba..bacb835dec 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -546,6 +546,32 @@ termination.")
       (home-page "https://gopkg.in/tomb.v2")
       (license license:bsd-3))))
 
+(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 "Rolling logger for Go")
+    (description
+     "Lumberjack is a Go package for writing logs to rolling files.")
+    (license license:expat)))
+
 (define-public go-github.com-jtolds-gls
   (package
     (name "go-github.com-jtolds-gls")