guix-patches
[Top][All Lists]
Advanced

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

[bug#55903] [PATCH 31/41] gnu: Add go-github-com-emersion-go-pgpmail.


From: (unmatched-parenthesis
Subject: [bug#55903] [PATCH 31/41] gnu: Add go-github-com-emersion-go-pgpmail.
Date: Sat, 11 Jun 2022 20:16:43 +0100

* gnu/packages/golang.scm (go-github-com-emersion-go-pgpmail): New
  variable.
---
 gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0b157e4e5d..ab34d02190 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10508,3 +10508,37 @@ (define-public go-github-com-protonmail-go-crypto-ocb
      (substitute-keyword-arguments (package-arguments
                                     go-github-com-protonmail-go-crypto-openpgp)
        ((#:import-path _) "github.com/ProtonMail/go-crypto/ocb")))))
+
+(define-public go-github-com-emersion-go-pgpmail
+  (package
+    (name "go-github-com-emersion-go-pgpmail")
+    (version "0.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emersion/go-pgpmail";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0ar26b0apw5bxn58qfn1a79cxigbmrqm1irh1rb7x57fydihc7wm"))))
+    (build-system go-build-system)
+    (arguments
+     (list ;; tests don't support our version of protonmail/go-crypto; see
+           ;; <https://github.com/emersion/go-pgpmail/issues/12>
+           #:tests? #f
+           #:import-path "github.com/emersion/go-pgpmail"))
+    (propagated-inputs (list go-golang-org-x-text
+                             go-golang-org-x-crypto
+                             go-github-com-emersion-go-message
+                             go-github-com-protonmail-go-crypto-bitcurves
+                             go-github-com-protonmail-go-crypto-brainpool
+                             
go-github-com-protonmail-go-crypto-internal-byteutil
+                             go-github-com-protonmail-go-crypto-eax
+                             go-github-com-protonmail-go-crypto-ocb
+                             go-github-com-protonmail-go-crypto-openpgp))
+    (home-page "https://github.com/emersion/go-pgpmail";)
+    (synopsis "PGP mail encryption for Go")
+    (description
+     "Package pgpmail implements PGP encryption for e-mail messages.")
+    (license license:expat)))
-- 
2.36.1






reply via email to

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