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 #230 received at 62284 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/golang.scm (go-google-golang-org-protobuf-package): New procedure.
Change-Id: I334d50c33c3ba03efcc59ba969536d21aeed064d
---
gnu/packages/golang.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c2ff8d6d2d..933aed82e3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7761,6 +7761,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.41.0
--
Best regards,
Miguel Ángel Moreno
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.