aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-03-06 21:32:33 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-03-06 23:28:30 +0000
commitc3992c8871c6bef554e180ab0ecdb786a9595207 (patch)
treee1520a6b519a7d7975997fe73f51aa0c2317b63d /gnu
parentd3bc9e73e5fdee97244069dadaa75b5109236359 (diff)
downloadguix-c3992c8871c6bef554e180ab0ecdb786a9595207.tar.gz
guix-c3992c8871c6bef554e180ab0ecdb786a9595207.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm34
-rw-r--r--gnu/packages/golang.scm30
-rw-r--r--gnu/packages/radio.scm1
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)