GNU bug report logs - #62284
[PATCH 00/70] gnu: Add mautrix-whatsapp.

Previous Next

Package: guix-patches;

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 #323 received at 62284 <at> debbugs.gnu.org (full text, mbox):

From: Miguel Ángel Moreno <mail <at> migalmoreno.com>
To: 62284 <at> debbugs.gnu.org
Cc: mail <at> migalmoreno.com
Subject: [PATCH v2 36/71] gnu: Add go-mau-fi-libsignal-package.
Date: Sun, 11 Feb 2024 23:02:21 +0100
* gnu/packages/golang.scm (go-mau-fi-libsignal-package): New procedure.

Change-Id: Id8a09fdc5fd16514a5a472c62b4c8744f7ef9228
---
 gnu/packages/golang.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 26d4d1b113..4ab5b4bc48 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -11988,6 +11988,15 @@ (define-public go-mau-fi-libsignal
 Client Protocol.")
     (license license:gpl3)))
 
+(define (go-mau-fi-libsignal-package suffix)
+  (package
+    (inherit go-mau-fi-libsignal)
+    (name (string-append "go-mau-fi-libsignal-" suffix))
+    (arguments
+     (substitute-keyword-arguments (package-arguments go-mau-fi-libsignal)
+       ((#:import-path path)
+        (string-append path "/"
+                       (string-replace-substring suffix "-" "/")))))))
 
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
-- 
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.