Subject: [PATCH 25/41] gnu: Add go-github-com-protonmail-go-crypto-openpgp.

From: "(unmatched-parenthesis" <[email-masked]>
Date: Sat, 11 Jun 2022 20:16:37 +0100

* gnu/packages/golang.scm (go-github-com-protonmail-go-crypto-openpgp):
  New variable.
---
 gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b66ded6f61..06d635b03b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10435,3 +10435,31 @@ (define-public go-github-com-emersion-go-imap-sortthread
     (synopsis "SORT and THREAD for go-imap")
     (description "Package sortthread implements SORT and THREAD for go-imap.")
     (license license:expat)))
+
+(define-public go-github-com-protonmail-go-crypto-openpgp
+  (package
+    (name "go-github-com-protonmail-go-crypto-openpgp")
+    (version "0.0.0-20220517143526-88bb52951d5b")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ProtonMail/go-crypto")
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "15dsjxsgr6sbfi651kav3vcfpkkzfb383rahasff4fvb6hwfjr1l"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/ProtonMail/go-crypto/openpgp"
+           #:unpack-path "github.com/ProtonMail/go-crypto"))
+    (propagated-inputs (list go-golang-org-x-crypto))
+    (home-page "https://github.com/ProtonMail/go-crypto")
+    (synopsis "Fork of golang.org/x/crypto with up-to-date OpenPGP
+implementation")
+    (description
+     "Package crypto provides cryptography for Go.  This version of the
+package is a fork that adds a more up-to-date OpenPGP implementation.  It
+is completely backwards compatible with
+@url{golang.org/x/crypto,the official package}.")
+    (license license:bsd-3)))
-- 
2.36.1