* bug#26442: [PATCH 0/1] gnu: Add emacs-default-encrypt. @ 2017-04-11 8:44 Chris Marusich 2017-04-11 8:49 ` bug#26442: [PATCH 1/1] " Chris Marusich 0 siblings, 1 reply; 4+ messages in thread From: Chris Marusich @ 2017-04-11 8:44 UTC (permalink / raw) To: 26442; +Cc: Chris Marusich Hi, Here's a patch to add DefaultEncrypt. Thanks to Alex for their help! Sometimes it takes a second pair of eyes to solve a problem [1]. [1] https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00174.html Chris Marusich (1): gnu: Add emacs-default-encrypt. gnu/packages/emacs.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) -- 2.12.0 ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt. 2017-04-11 8:44 bug#26442: [PATCH 0/1] gnu: Add emacs-default-encrypt Chris Marusich @ 2017-04-11 8:49 ` Chris Marusich 2017-04-11 15:51 ` Ludovic Courtès 0 siblings, 1 reply; 4+ messages in thread From: Chris Marusich @ 2017-04-11 8:49 UTC (permalink / raw) To: 26442; +Cc: Chris Marusich * gnu/packages/emacs.scm (emacs-default-encrypt): New variable. --- gnu/packages/emacs.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 3db31f207..53ad50e86 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com> ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> -;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> +;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org> ;;; Copyright © 2016 humanitiesNerd <catonano@gmail.com> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> @@ -4057,3 +4057,31 @@ jQuery and Bootstrap resources included via osscdn.") (description "This Emacs package highlights the s-exp at the current position.") (license license:gpl3+))) + +(define-public emacs-default-encrypt + (package + (name "emacs-default-encrypt") + (version "4.3") + (source + (origin + (method url-fetch) + (uri (string-append + ;; A versioned, signed copy of this package is avialable on the + ;; home page, but 'guix download' fails to download it. + "https://github.com/emacsmirror/emacswiki.org/raw/master/jl-encrypt.el")) + (file-name (string-append "jl-encrypt-" version ".el")) + (sha256 + (base32 + "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0")))) + (build-system emacs-build-system) + (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html") + (synopsis "Automatically encrypt or sign Gnus messages in Emacs") + (description + "DefaultEncrypt is designed to be used with Gnus in Emacs. It +automatically encrypts messages that you send (e.g., email) when public keys +for all recipients are available, and it protects you from accidentally +sending un-encrypted messages. It can also be configured to automatically +sign messages that you send. For details and instructions on how to use +DefaultEncrypt, please refer to the home page or read the comments in the +source file, @file{jl-encrypt.el}.") + (license license:gpl3+))) -- 2.12.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt. 2017-04-11 8:49 ` bug#26442: [PATCH 1/1] " Chris Marusich @ 2017-04-11 15:51 ` Ludovic Courtès 2017-04-11 16:41 ` Chris Marusich 0 siblings, 1 reply; 4+ messages in thread From: Ludovic Courtès @ 2017-04-11 15:51 UTC (permalink / raw) To: Chris Marusich; +Cc: 26442-done Hello Chris, Chris Marusich <cmmarusich@gmail.com> skribis: > * gnu/packages/emacs.scm (emacs-default-encrypt): New variable. Applied, thanks! > + (method url-fetch) > + (uri (string-append > + ;; A versioned, signed copy of this package is avialable on the > + ;; home page, but 'guix download' fails to download it. > + "https://github.com/emacsmirror/emacswiki.org/raw/master/jl-encrypt.el")) I think it’s OK to take it from github.com, but for the record, I don’t seem to experience the problem you’re referring to: --8<---------------cut here---------------start------------->8--- $ guix download https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el Starting download of /tmp/guix-file.ukU3OR From https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el... …rypt.el 24KiB 615KiB/s 00:00 [####################] 100.0% /gnu/store/ysgd00j7pm38wi0h40557rhsq5zprnj9-jl-encrypt.el 0viwnsza60cgf0ayh45pgbij156yacxwdfvmfldy0161vkr9dizl --8<---------------cut here---------------end--------------->8--- (That’s with Guile 2.2.0.) Ludo’. ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt. 2017-04-11 15:51 ` Ludovic Courtès @ 2017-04-11 16:41 ` Chris Marusich 0 siblings, 0 replies; 4+ messages in thread From: Chris Marusich @ 2017-04-11 16:41 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 26442-done [-- Attachment #1: Type: text/plain, Size: 802 bytes --] ludo@gnu.org (Ludovic Courtès) writes: > I don’t seem to experience the problem you’re referring to: > > $ guix download https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el > > Starting download of /tmp/guix-file.ukU3OR > From https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el... > …rypt.el 24KiB 615KiB/s 00:00 [####################] 100.0% > /gnu/store/ysgd00j7pm38wi0h40557rhsq5zprnj9-jl-encrypt.el > 0viwnsza60cgf0ayh45pgbij156yacxwdfvmfldy0161vkr9dizl > > (That’s with Guile 2.2.0.) That's because the author fixed it just a few hours ago! :-) I'll submit another patch to update the URL to use their home page. -- Chris [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-11 16:42 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-04-11 8:44 bug#26442: [PATCH 0/1] gnu: Add emacs-default-encrypt Chris Marusich 2017-04-11 8:49 ` bug#26442: [PATCH 1/1] " Chris Marusich 2017-04-11 15:51 ` Ludovic Courtès 2017-04-11 16:41 ` Chris Marusich
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).