GNU bug report logs - #33064
[PATCH 1/1] gnu: Add enchive

Previous Next

Package: guix-patches;

Reported by: Nicolò Balzarotti <anothersms <at> gmail.com>

Date: Tue, 16 Oct 2018 15:56:03 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolò Balzarotti <anothersms <at> gmail.com>
Subject: bug#33064: closed (Re: [bug#33064] [PATCH 1/1] gnu: Add enchive)
Date: Fri, 19 Oct 2018 21:02:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#33064: [PATCH 1/1] gnu: Add enchive

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33064 <at> debbugs.gnu.org.

-- 
33064: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33064
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Nicolò Balzarotti <anothersms <at> gmail.com>
Cc: 33064-done <at> debbugs.gnu.org, nixo <nicolo <at> nixo.xyz>
Subject: Re: [bug#33064] [PATCH 1/1] gnu: Add enchive
Date: Fri, 19 Oct 2018 23:01:34 +0200
[Message part 3 (text/plain, inline)]
Hello Nicolò,

Nicolò Balzarotti <anothersms <at> gmail.com> skribis:

> From: nixo <nicolo <at> nixo.xyz>
>
> ---
>  gnu/packages/crypto.scm | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)

Applied with the minor changes below reported by ‘guix lint’ and in the
build log.  I also added a commit log that follows our conventions.

Thank you, and welcome! :-)

Ludo’.

[Message part 4 (text/x-patch, inline)]
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 08faccfa1..77b4dba6d 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -866,7 +866,8 @@ cannot sign messages in OpenBSD format yet.")
                                   version ".tar.gz"))
               (sha256
                (base32
-                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))))
+                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
+              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f                      ; no check target         '
@@ -877,7 +878,8 @@ cannot sign messages in OpenBSD format yet.")
                     (lambda _
                       (let* ((out (assoc-ref %outputs "out"))
                              (lisp (string-append out "/share/emacs/site-lisp")))
-                        (install-file "enchive-mode.el" lisp)))))))
+                        (install-file "enchive-mode.el" lisp)
+                        #t))))))
     (synopsis "Encrypted personal archives")
     (description
      "Enchive is a tool to encrypt files to yourself for long-term
[Message part 5 (message/rfc822, inline)]
From: Nicolò Balzarotti <anothersms <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: nixo <nicolo <at> nixo.xyz>
Subject: [PATCH 1/1] gnu: Add enchive
Date: Tue, 16 Oct 2018 14:18:14 +0200
From: nixo <nicolo <at> nixo.xyz>

---
 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 <efraim <at> flashner.co.il>
 ;;; Copyright © 2018 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2018 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
+;;; Copyright © 2018 Nicolò Balzarotti <nicolo <at> nixo.xyz>
 ;;;
 ;;; 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




This bug report was last modified 6 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.