guix-commits
[Top][All Lists]
Advanced

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

13/13: gnu: Add gajim-openpgp.


From: guix-commits
Subject: 13/13: gnu: Add gajim-openpgp.
Date: Mon, 19 Oct 2020 18:25:24 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 2cbda6ded88cd281b66dbfe27e165d3cea7f1ed1
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Oct 15 17:17:23 2020 -0400

    gnu: Add gajim-openpgp.
    
    * gnu/packages/messaging.scm (gajim-openpgp): New variable.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/messaging.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 99e7092..f683b89 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -894,6 +894,40 @@ multi-client end-to-end encryption.")
      "https://dev.gajim.org/gajim/gajim-plugins/-/wikis/OmemoGajimPlugin";)
     (license license:gpl3+)))
 
+(define-public gajim-openpgp
+  (package
+    (name "gajim-openpgp")
+    (version "1.3.5")
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri
+        (string-append
+         "https://ftp.gajim.org/plugins_releases/openpgp_";
+         version ".zip"))
+       (sha256
+        (base32 "1jvpl2gjl5xxvsgxpmvh3mn2mm142dg2hknakkc32swb7l1fqx5m"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let* ((out (assoc-ref %outputs "out"))
+                (share (in-vicinity out "share/gajim/plugins"))
+                (source (assoc-ref %build-inputs "source")))
+           (mkdir-p share)
+           (copy-recursively source share)
+           #t))))
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-gnupg" ,python-gnupg)))
+    (synopsis "Gajim OpenPGP plugin")
+    (description "Gajim-OpenPGP is a plugin that adds support for the OpenPGP
+Encryption to Gajim.")
+    (home-page 
"https://dev.gajim.org/gajim/gajim-plugins/-/wikis/OpenPGPplugin";)
+    (license license:gpl3+)))
+
 (define-public dino
   (package
     (name "dino")



reply via email to

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