guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#62284] [PATCH 36/70] gnu: Add go-mau-fi-libsignal-package.


From: conses
Subject: [bug#62284] [PATCH 36/70] gnu: Add go-mau-fi-libsignal-package.
Date: Mon, 20 Mar 2023 00:45:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

* gnu/packages/golang.scm (go-mau-fi-libsignal-package): New procedure.
---
 gnu/packages/golang.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 03bfd2c054..0396c3f77b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12368,6 +12368,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.39.1



-- 
Best regards,
conses





reply via email to

[Prev in Thread] Current Thread [Next in Thread]