[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: Add go-go-uber-org-zap.
From: |
guix-commits |
Subject: |
09/10: gnu: Add go-go-uber-org-zap. |
Date: |
Sat, 20 Mar 2021 06:27:54 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit caf3209a8fbe83bd1953d7d3e3b6bfe0277ed493
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Mar 20 09:48:34 2021 +0100
gnu: Add go-go-uber-org-zap.
* gnu/packages/golang.scm (go-go-uber-org-zap): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ad1e14..d9988cd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7001,3 +7001,36 @@ tools with similar semantics.")
Using static analysis, it finds bugs and performance issues, offers
simplifications, and enforces style rules.")
(license license:expat)))
+
+(define-public go-go-uber-org-zap
+ (package
+ (name "go-go-uber-org-zap")
+ (version "1.16.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uber-go/zap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05ix5wg1r8pgi7fb6084lg4x7mrkvzkh1nxa7zj337w5b9xj0myr"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "go.uber.org/zap"
+ #:tests? #f)) ; TODO: Fix tests
+ (native-inputs
+ `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
+ ("go-golang-org-x-lint" ,go-golang-org-x-lint)
+ ("go-honnef-co-go-tools" ,go-honnef-co-go-tools)))
+ (propagated-inputs
+ `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
+ ("go-go-uber-org-atomic" ,go-go-uber-org-atomic)
+ ("go-go-uber-org-multierr" ,go-go-uber-org-multierr)
+ ("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
+ (home-page "https://go.uber.org/zap")
+ (synopsis "Logging library for Go")
+ (description
+ "This package provides a library for fast, structured, leveled logging in
+Go.")
+ (license license:expat)))
- branch master updated (6457985 -> 5adfaa6), guix-commits, 2021/03/20
- 01/10: gnu: Add go-github-com-akosmarton-papipes., guix-commits, 2021/03/20
- 04/10: gnu: Add go-go-uber-org-atomic., guix-commits, 2021/03/20
- 06/10: gnu: Add go-golang-org-x-lint., guix-commits, 2021/03/20
- 08/10: gnu: Add go-honnef-co-go-tools., guix-commits, 2021/03/20
- 09/10: gnu: Add go-go-uber-org-zap.,
guix-commits <=
- 05/10: gnu: Add go-go-uber-org-multierr., guix-commits, 2021/03/20
- 02/10: gnu: Add go-github-com-mesilliac-pulse-simple., guix-commits, 2021/03/20
- 03/10: gnu: Add go-github-com-pborman-getopt., guix-commits, 2021/03/20
- 07/10: gnu: Add go-github-com-kisielk-gotool., guix-commits, 2021/03/20
- 10/10: gnu: Add kappanhang., guix-commits, 2021/03/20