[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/37: gnu: go-go-uber-org-zap: Move to golang-xyz.
From: |
guix-commits |
Subject: |
26/37: gnu: go-go-uber-org-zap: Move to golang-xyz. |
Date: |
Wed, 6 Mar 2024 18:46:20 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit c3992c8871c6bef554e180ab0ecdb786a9595207
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Mar 6 21:32:33 2024 +0000
gnu: go-go-uber-org-zap: Move to golang-xyz.
* gnu/packages/golang.scm (go-go-uber-org-zap): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
* gnu/packages/radio.scm: Add (gnu packages golang-xyz) module.
Change-Id: Id4de6cb4714b9b28e43e5aecabf5b32684f1a370
---
gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 30 ------------------------------
gnu/packages/radio.scm | 1 +
3 files changed, 35 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f85bfe1e71..7e6e0aa27b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020, 2021 raingloom <raingloom@riseup.net>
+;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
@@ -1495,6 +1496,39 @@ weighted moving averages}.")
CPU quota.")
(license license:expat)))
+(define-public go-go-uber-org-zap
+ (package
+ (name "go-go-uber-org-zap")
+ (version "1.24.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 "0lzbbs87fvixzbyv4wpl3s70vm2m0jz2jgdvrviiksc2al451qgs"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "go.uber.org/zap"
+ #:tests? #f)) ; TODO: Fix tests
+ (native-inputs
+ (list go-github-com-stretchr-testify
+ go-golang-org-x-lint
+ go-honnef-co-go-tools))
+ (propagated-inputs
+ (list go-github-com-pkg-errors
+ go-go-uber-org-atomic
+ go-go-uber-org-multierr
+ 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)))
+
(define-public go-gopkg-in-op-go-logging-v1
(package
(inherit go-github-com-op-go-logging)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6d19bf4f70..fbf6b4c349 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9319,36 +9319,6 @@ be used as both a binary and a library.")
(native-inputs '())
(inputs '())))
-(define-public go-go-uber-org-zap
- (package
- (name "go-go-uber-org-zap")
- (version "1.24.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 "0lzbbs87fvixzbyv4wpl3s70vm2m0jz2jgdvrviiksc2al451qgs"))))
- (build-system go-build-system)
- (arguments
- '(#:import-path "go.uber.org/zap"
- #:tests? #f)) ; TODO: Fix tests
- (native-inputs
- (list go-github-com-stretchr-testify go-golang-org-x-lint
- go-honnef-co-go-tools))
- (propagated-inputs
- (list go-github-com-pkg-errors go-go-uber-org-atomic
- go-go-uber-org-multierr 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)))
-
(define-public go-github-com-davecgh-go-xdr
(package
(name "go-github-com-davecgh-go-xdr")
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2f258b0364..caa8b61ee3 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -63,6 +63,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gps)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
- 01/37: gnu: Add go-github-com-tklauser-numcpus., (continued)
- 01/37: gnu: Add go-github-com-tklauser-numcpus., guix-commits, 2024/03/06
- 06/37: gnu: go-github-com-shirou-gopsutil: Reformat with guix style., guix-commits, 2024/03/06
- 07/37: gnu: Add go-github-com-shirou-gopsutil-v3., guix-commits, 2024/03/06
- 02/37: gnu: Add go-github-com-tklauser-go-sysconf., guix-commits, 2024/03/06
- 09/37: gnu: go-github-com-cheggaaa-pb-v3: Enable tests., guix-commits, 2024/03/06
- 08/37: gnu: go-github-com-vividcortex-ewma: Fix import-path., guix-commits, 2024/03/06
- 18/37: gnu: Add go-github-com-nwaples-rardecode-v2., guix-commits, 2024/03/06
- 19/37: gnu: Add go-github-com-ugorji-go-codec., guix-commits, 2024/03/06
- 23/37: gnu: go-github-com-spf13-afero: Add missing input., guix-commits, 2024/03/06
- 21/37: gnu: sqls: Add missing inputs., guix-commits, 2024/03/06
- 26/37: gnu: go-go-uber-org-zap: Move to golang-xyz.,
guix-commits <=
- 27/37: gnu: Add go-github-com-cskr-pubsub., guix-commits, 2024/03/06
- 30/37: gnu: go-github-com-hashicorp-go-syslog: Move to golang-xyz., guix-commits, 2024/03/06
- 13/37: gnu: go-github-com-vividcortex-ewma: Move to golang-xyz., guix-commits, 2024/03/06
- 14/37: gnu: Add go-github-com-dave-jennifer., guix-commits, 2024/03/06
- 03/37: gnu: Add go-numcpus., guix-commits, 2024/03/06
- 04/37: gnu: go-github-com-shirou-gopsutil: Move to golang-xyz., guix-commits, 2024/03/06
- 12/37: gnu: go-github-com-cheggaaa-pb-v3: Move to golang-xyz., guix-commits, 2024/03/06
- 20/37: gnu: Add go-github-com-k0kubun-pp., guix-commits, 2024/03/06
- 24/37: gnu: go-go-uber-org-zap: Update to 1.24.0., guix-commits, 2024/03/06
- 22/37: gnu: Add go-github-com-pkg-sftp., guix-commits, 2024/03/06