diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-06 21:32:33 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-06 23:28:30 +0000 |
commit | c3992c8871c6bef554e180ab0ecdb786a9595207 (patch) | |
tree | e1520a6b519a7d7975997fe73f51aa0c2317b63d /gnu/packages/golang-xyz.scm | |
parent | d3bc9e73e5fdee97244069dadaa75b5109236359 (diff) | |
download | guix-c3992c8871c6bef554e180ab0ecdb786a9595207.tar guix-c3992c8871c6bef554e180ab0ecdb786a9595207.tar.gz |
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/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 34 |
1 files changed, 34 insertions, 0 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) |