[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/74: gnu: go-github-com-golang-protobuf: Move to golang-build.
From: |
guix-commits |
Subject: |
13/74: gnu: go-github-com-golang-protobuf: Move to golang-build. |
Date: |
Thu, 25 Jul 2024 18:02:22 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit d43795cd208161495391104054e36abb94ea0a89
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jul 21 12:52:32 2024 +0100
gnu: go-github-com-golang-protobuf: Move to golang-build.
* gnu/packages/golang.scm (go-github-com-golang-protobuf): Move from
here ...
* gnu/packages/golang-build.scm: ... to here.
Change-Id: I1682e199e6acd6b8362deff47fa7a26cbfe9c9ea
---
gnu/packages/golang-build.scm | 38 +++++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 34 ----------------------------------
2 files changed, 37 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index f66fe16bd0..bc3625c399 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018, 2019, 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
-;;; Copyright © 2019, 2020 Leo Famulari <leo@famulari.name>
;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 HiPhish <hiphish@posteo.de>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
@@ -58,6 +58,42 @@
;;;
;;; Code:
+(define-public go-github-com-golang-protobuf
+ (package
+ (name "go-github-com-golang-protobuf")
+ (version "1.5.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/golang/protobuf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03f1w2cd4s8a3xhl61x7yjx81kbzlrjpvnnwmbhqnz814yi7h43i"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/golang/protobuf"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Workaround for go-build-system's lack of Go modules
+ ;; support.
+ (delete 'build)
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "go" "test" "-v" "./..."))))))))
+ (propagated-inputs
+ (list go-google-golang-org-protobuf))
+ (home-page "https://github.com/golang/protobuf")
+ (synopsis "Go support for Protocol Buffers")
+ (description
+ "This package provides Go support for the Protocol Buffers data
+serialization format.")
+ (license license:bsd-3)))
+
(define-public go-github-com-google-go-cmp
(package
(name "go-github-com-google-go-cmp")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4ca8c87cb2..92c0d0edbd 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6166,40 +6166,6 @@ test results.")
(home-page "https://github.com/gotestyourself/gotestsum")
(license license:asl2.0)))
-(define-public go-github-com-golang-protobuf
- (package
- (name "go-github-com-golang-protobuf")
- (version "1.5.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/golang/protobuf")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "03f1w2cd4s8a3xhl61x7yjx81kbzlrjpvnnwmbhqnz814yi7h43i"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "github.com/golang/protobuf"
- #:phases
- #~(modify-phases %standard-phases
- ;; XXX: Workaround for go-build-system's lack of Go modules
- ;; support.
- (delete 'build)
- (replace 'check
- (lambda* (#:key tests? import-path #:allow-other-keys)
- (when tests?
- (with-directory-excursion (string-append "src/"
import-path)
- (invoke "go" "test" "-v" "./..."))))))))
- (propagated-inputs
- (list go-google-golang-org-protobuf))
- (synopsis "Go support for Protocol Buffers")
- (description "This package provides Go support for the Protocol Buffers
-data serialization format.")
- (home-page "https://github.com/golang/protobuf")
- (license license:bsd-3)))
-
(define-public go-github-com-macronut-go-tproxy
(package
(name "go-github-com-macronut-go-tproxy")
- 70/74: gnu: go-github-com-bits-and-blooms-bloom: Update to 3.7.0., (continued)
- 70/74: gnu: go-github-com-bits-and-blooms-bloom: Update to 3.7.0., guix-commits, 2024/07/25
- 62/74: gnu: go-netns: Update to 0.0.4., guix-commits, 2024/07/25
- 39/74: gnu: Add go-github-com-mwitkow-go-conntrack., guix-commits, 2024/07/25
- 50/74: gnu: go-github-com-cespare-xxhash: Rename variable., guix-commits, 2024/07/25
- 66/74: gnu: go-netlink: Update to 1.1.0., guix-commits, 2024/07/25
- 74/74: gnu: yggdrasil: Enable tests., guix-commits, 2024/07/25
- 73/74: gnu: yggdrasil: Adjust inputs., guix-commits, 2024/07/25
- 04/74: gnu: go-github-com-coreos-go-oidc-v3: Update to 3.11.0., guix-commits, 2024/07/25
- 08/74: gnu: go-github-com-google-go-cmp-cmp: Rename variable., guix-commits, 2024/07/25
- 12/74: gnu: go-google-golang-org-protobuf: Move to golang-build., guix-commits, 2024/07/25
- 13/74: gnu: go-github-com-golang-protobuf: Move to golang-build.,
guix-commits <=
- 23/74: gnu: go-github-com-go-test-deep: Update to 1.1.1., guix-commits, 2024/07/25
- 25/74: gnu: go-github-com-burntsushi-toml: Update to 1.4.0., guix-commits, 2024/07/25
- 20/74: gnu: go-go-etcd-io-gofail: Update to 0.2.0., guix-commits, 2024/07/25
- 28/74: gnu: go-github-com-aws-aws-sdk-go: Update to 1.55.2., guix-commits, 2024/07/25
- 27/74: gnu: Remove go-github-com-aws-sdk., guix-commits, 2024/07/25
- 32/74: gnu: nebula: Update to 1.9.3., guix-commits, 2024/07/25
- 35/74: gnu: go-github-com-prometheus-client-model: Move to prometheus., guix-commits, 2024/07/25
- 40/74: gnu: Add go-github-com-go-logfmt-logfmt., guix-commits, 2024/07/25
- 45/74: gnu: go-github-com-prometheus-common: Move to prometheus., guix-commits, 2024/07/25
- 52/74: gnu: csvdiff: Adjust inputs, guix-commits, 2024/07/25