From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxrVy-0005pF-0W for guix-patches@gnu.org; Tue, 11 Apr 2017 04:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxrVu-0002rN-DG for guix-patches@gnu.org; Tue, 11 Apr 2017 04:51:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxrVu-0002rF-8L for guix-patches@gnu.org; Tue, 11 Apr 2017 04:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxrVu-0005pU-02 for guix-patches@gnu.org; Tue, 11 Apr 2017 04:51:02 -0400 Subject: bug#26442: [PATCH 1/1] gnu: Add emacs-default-encrypt. Resent-Message-ID: From: Chris Marusich Date: Tue, 11 Apr 2017 01:49:50 -0700 Message-Id: <20170411084950.9719-1-cmmarusich@gmail.com> In-Reply-To: <20170411084448.9457-1-cmmarusich@gmail.com> References: <20170411084448.9457-1-cmmarusich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26442@debbugs.gnu.org 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 ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus -;;; Copyright © 2016 Chris Marusich +;;; Copyright © 2016, 2017 Chris Marusich ;;; Copyright © 2015, 2016 Christopher Allan Webber ;;; Copyright © 2016 humanitiesNerd ;;; Copyright © 2016 Efraim Flashner @@ -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