guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: Add go-gopkg-in-natefinch-lumberjack.v2.


From: guix-commits
Subject: 06/07: gnu: Add go-gopkg-in-natefinch-lumberjack.v2.
Date: Tue, 8 Dec 2020 03:53:18 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 2d9acf675ab14aa2fff0d1aa97d8d0c0d2a575ba
Author: Martin Becze <mjbecze@riseup.net>
AuthorDate: Mon Nov 30 14:24:07 2020 -0600

    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>
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 876b331..bacb835 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")



reply via email to

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