[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62284] [PATCH 06/70] gnu: Add go-google-golang-org-protobuf-package
From: |
conses |
Subject: |
[bug#62284] [PATCH 06/70] gnu: Add go-google-golang-org-protobuf-package. |
Date: |
Mon, 20 Mar 2023 00:29:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
* gnu/packages/golang.scm (go-google-golang-org-protobuf-package): New
procedure.
---
gnu/packages/golang.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 35a1e376b7..09ea647602 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7725,6 +7725,17 @@ (define-public go-github-com-macronut-go-tproxy
Proxy functionality.")
(license license:expat)))
+(define (go-google-golang-org-protobuf-package suffix)
+ (package
+ (inherit go-google-golang-org-protobuf)
+ (name (string-append "go-google-golang-org-protobuf-" suffix))
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments go-google-golang-org-protobuf)
+ ((#:import-path path)
+ (string-append path "/"
+ (string-replace-substring suffix "-" "/")))))))
+
(define-public go-github-com-mattn-go-zglob
(package
(name "go-github-com-mattn-go-zglob")
--
2.39.1
--
Best regards,
conses
- [bug#62284] [PATCH 00/70] gnu: Add mautrix-whatsapp., conses, 2023/03/19
- [bug#62284] [PATCH 01/70] gnu: Add go-github-com-tidwall-sjson., conses, 2023/03/19
- [bug#62284] [PATCH 02/70] gnu: Add go-github-com-tidwall-gjson., conses, 2023/03/19
- [bug#62284] [PATCH 03/70] gnu: Add go-github-com-tidwall-match., conses, 2023/03/19
- [bug#62284] [PATCH 07/70] gnu: Add go-google-golang-org-protobuf-proto., conses, 2023/03/19
- [bug#62284] [PATCH 06/70] gnu: Add go-google-golang-org-protobuf-package.,
conses <=
- [bug#62284] [PATCH 05/70] gnu: go-google-golang-org-protobuf: Update to 1.30.0., conses, 2023/03/19
- [bug#62284] [PATCH 04/70] gnu: Add go-github-com-tidwall-pretty., conses, 2023/03/19
- [bug#62284] [PATCH 09/70] gnu: Add go-google-golang-org-protobuf-reflect-protoregistry., conses, 2023/03/19
- [bug#62284] [PATCH 08/70] gnu: Add go-google-golang-org-protobuf-reflect-protoreflect., conses, 2023/03/19
- [bug#62284] [PATCH 10/70] gnu: Add go-google-golang-org-protobuf-encoding-protowire., conses, 2023/03/19
- [bug#62284] [PATCH 11/70] gnu: Add go-google-golang-org-protobuf-encoding-prototext., conses, 2023/03/19
- [bug#62284] [PATCH 12/70] gnu: Add go-google-golang-org-protobuf-internal-encoding-text., conses, 2023/03/19
- [bug#62284] [PATCH 13/70] gnu: Add go-google-golang-org-protobuf-internal-encoding-messageset., conses, 2023/03/19
- [bug#62284] [PATCH 14/70] gnu: Add go-google-golang-org-protobuf-internal-encoding-defval., conses, 2023/03/19
- [bug#62284] [PATCH 15/70] gnu: Add go-google-golang-org-protobuf-internal-encoding-tag., conses, 2023/03/19