Subject: Re: [bug#33064] [PATCH 1/1] gnu: Add enchive
From: [email-masked] (Ludovic Courtès)
To: Nicolò Balzarotti <[email-masked]>
Cc: [email-masked], nixo <[email-masked]>
Date: Fri, 19 Oct 2018 23:01:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Nicolò,

Nicolò Balzarotti <[email-masked]> skribis:

> From: nixo <[email-masked]>
>
> ---
>  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’.

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