GNU bug report logs -
#74373
[PATCH 4/4] gnu: Add go-buf.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74373 in the body.
You can then email your comments to 74373 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74373
; Package
guix-patches
.
(Fri, 15 Nov 2024 21:12:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jørgen Kvalsvik <j <at> lambda.is>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 15 Nov 2024 21:12:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/golang-xyz.scm (go-buf): New variable.
Change-Id: I2ff7ee23bcf5413ad3b4b4b9cbfc8a007b0b9b80
---
gnu/packages/golang-xyz.scm | 63 ++++++++++++++++++++++++++++---------
1 file changed, 49 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0d6debcac4..0d8147e484 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -68,6 +68,7 @@ (define-module (gnu packages golang-xyz)
#:use-module (guix build-system copy)
#:use-module (guix gexp)
#:use-module (guix git-download)
+ #:use-module (guix go-mod-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
@@ -7591,31 +7592,65 @@ (define-public glua
#:import-path "github.com/yuin/gopher-lua/cmd/glua"
#:unpack-path "github.com/yuin/gopher-lua"))))
+(define-public go-buf
+ (package
+ (name "go-buf")
+ (version "1.46.0")
+ (source
+ (origin
+ (method go-mod-fetch)
+ (uri (go-mod-reference
+ (go go-1.23)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bufbuild/buf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "049rp4f2i759xmws6pqrw3208x1v0zdcmi3ymjbxmaq4hijl9daw"))))))
+ (sha256
+ (base32 "1sk2jhazaa1y2y5m1nmd753s0gr52c8967xr6j9pf2d675fzi7q0"))))
+ (arguments
+ (list
+ #:go go-1.23
+ #:import-path "cmd/buf"))
+ (build-system go-mod-build-system)
+ (home-page "https://github.com/bufbuild/buf")
+ (synopsis "Buf")
+ (description
+ "The @@url{https://buf.build,(code buf)} CLI is the best tool for working with
+@@url{https://protobuf.dev,Protocol Buffers}. It provides:.")
+ (license license:asl2.0)))
+
(define-public go-chroma
(package
(name "go-chroma")
(version "2.14.0")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/alecthomas/chroma")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
+ (method go-mod-fetch)
+ (uri (go-mod-reference
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alecthomas/chroma")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qgr4gywjks869sc85wb8nby612b8wvsa1dwpsbanjsljq7wq7mp"))))))
(sha256
(base32
- "1qgr4gywjks869sc85wb8nby612b8wvsa1dwpsbanjsljq7wq7mp"))))
- (build-system go-build-system)
+ "1xq2v3qr71mbjm328a6snqvba83nq70z6qqjfgh5mp25bwkwy6bl"))))
+ (build-system go-mod-build-system)
(arguments
(list
#:install-source? #f
- #:import-path "github.com/alecthomas/chroma/cmd/chroma"))
- (native-inputs
- (list go-github-com-alecthomas-assert-v2
- go-github-com-alecthomas-chroma-v2
- go-github-com-alecthomas-kong
- go-github-com-mattn-go-colorable
- go-github-com-mattn-go-isatty))
+ #:import-path "cmd/chroma"))
(home-page "https://github.com/alecthomas/chroma")
(synopsis "General purpose syntax highlighter in pure Golang")
(description
--
2.39.5
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74373
; Package
guix-patches
.
(Tue, 28 Jan 2025 22:33:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 74373 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
It looks the project require more missing packages:
https://github.com/bufbuild/buf/blob/main/go.mod
--8<---------------cut here---------------start------------->8---
require (
buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.4-20250121211742-6d880cc6cc8d.1
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.4-20241127180247-a33202765966.1
buf.build/gen/go/bufbuild/registry/connectrpc/go v1.18.1-20250116203702-1c024d64352b.1
buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.4-20250116203702-1c024d64352b.1
buf.build/go/bufplugin v0.7.0
buf.build/go/protoyaml v0.3.1
buf.build/go/spdx v0.2.0
connectrpc.com/connect v1.18.1
connectrpc.com/otelconnect v0.7.1
github.com/bufbuild/protocompile v0.14.1
github.com/bufbuild/protoplugin v0.0.0-20250106231243-3a819552c9d9
github.com/bufbuild/protovalidate-go v0.8.2
github.com/docker/docker v27.5.1+incompatible
github.com/go-chi/chi/v5 v5.2.0
github.com/gofrs/flock v0.12.1
github.com/google/cel-go v0.23.0
github.com/google/go-cmp v0.6.0
github.com/google/go-containerregistry v0.20.2
github.com/google/uuid v1.6.0
github.com/jdx/go-netrc v1.0.0
github.com/jhump/protoreflect/v2 v2.0.0-beta.2
github.com/klauspost/compress v1.17.11
github.com/klauspost/pgzip v1.2.6
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
github.com/pkg/profile v1.7.0
github.com/quic-go/quic-go v0.49.0
github.com/rs/cors v1.11.1
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.10.0
github.com/tetratelabs/wazero v1.8.2
go.lsp.dev/jsonrpc2 v0.10.0
go.lsp.dev/protocol v0.12.0
go.uber.org/zap v1.27.0
go.uber.org/zap/exp v0.3.0
golang.org/x/crypto v0.32.0
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
golang.org/x/mod v0.22.0
golang.org/x/net v0.34.0
golang.org/x/sync v0.10.0
golang.org/x/term v0.28.0
golang.org/x/tools v0.29.0
google.golang.org/protobuf v1.36.4
gopkg.in/yaml.v3 v3.0.1
pluginrpc.com/pluginrpc v0.5.0
--8<---------------cut here---------------end--------------->8---
What was your plan on that?
--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 07 May 2025 11:24:23 GMT)
Full text and
rfc822 format available.
This bug report was last modified 44 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.