From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCRhc-0000os-ID for guix-patches@gnu.org; Tue, 16 Oct 2018 11:56:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCRhT-00010D-R5 for guix-patches@gnu.org; Tue, 16 Oct 2018 11:56:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCRhT-0000ze-Ii for guix-patches@gnu.org; Tue, 16 Oct 2018 11:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gCRhT-0000LK-FQ for guix-patches@gnu.org; Tue, 16 Oct 2018 11:56:03 -0400 Subject: [bug#33064] [PATCH 1/1] gnu: Add enchive Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCOJA-0006yh-DY for guix-patches@gnu.org; Tue, 16 Oct 2018 08:18:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCOJ5-0002ft-GR for guix-patches@gnu.org; Tue, 16 Oct 2018 08:18:44 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:46427) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCOJ5-0002eU-9H for guix-patches@gnu.org; Tue, 16 Oct 2018 08:18:39 -0400 Received: by mail-wr1-x443.google.com with SMTP id n11-v6so25164195wru.13 for ; Tue, 16 Oct 2018 05:18:39 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Tue, 16 Oct 2018 14:18:14 +0200 Message-Id: <20181016121814.7617-2-anothersms@gmail.com> In-Reply-To: <20181016121814.7617-1-anothersms@gmail.com> References: <20181016121814.7617-1-anothersms@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: 33064@debbugs.gnu.org From: nixo --- gnu/packages/crypto.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 33f4abb5a..08faccfa1 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2018 Efraim Flashner ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018 Nicolas Goaziou +;;; Copyright © 2018 Nicolò Balzarotti ;;; ;;; This file is part of GNU Guix. ;;; @@ -854,3 +855,34 @@ public-key cryptography. Asignify is designed to be portable and self-contained with zero external dependencies. Asignify can verify OpenBSD signatures, but it cannot sign messages in OpenBSD format yet.") (license license:bsd-2)))) + +(define-public enchive + (package + (name "enchive") + (version "3.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/skeeto/" name "/archive/" + version ".tar.gz")) + (sha256 + (base32 + "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no check target ' + #:make-flags (list "CC=gcc" "PREFIX=$(out)") + #:phases (modify-phases %standard-phases + (delete 'configure) + (add-after 'install 'post-install + (lambda _ + (let* ((out (assoc-ref %outputs "out")) + (lisp (string-append out "/share/emacs/site-lisp"))) + (install-file "enchive-mode.el" lisp))))))) + (synopsis "Encrypted personal archives") + (description + "Enchive is a tool to encrypt files to yourself for long-term +archival. It's a focused, simple alternative to more complex solutions such as +GnuPG or encrypted filesystems. Enchive has no external dependencies and is +trivial to build for local use. Portability is emphasized over performance.") + (home-page "https://github.com/skeeto/enchive") + (license license:unlicense))) -- 2.18.0