GNU bug report logs -
#62284
[PATCH 00/70] gnu: Add mautrix-whatsapp.
Previous Next
Reported by: conses <contact <at> conses.eu>
Date: Sun, 19 Mar 2023 23:26:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 62284 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 98 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.