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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33064 in the body.
You can then email your comments to 33064 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#33064; Package guix-patches. (Tue, 16 Oct 2018 15:56:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolò Balzarotti <anothersms <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 16 Oct 2018 15:56:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 19 Oct 2018 21:02:03 GMT) Full text and rfc822 format available.

Notification sent to Nicolò Balzarotti <anothersms <at> gmail.com>:
bug acknowledged by developer. (Fri, 19 Oct 2018 21:02:03 GMT) Full text and rfc822 format available.

Message #10 received at 33064-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (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

Information forwarded to guix-patches <at> gnu.org:
bug#33064; Package guix-patches. (Sat, 20 Oct 2018 00:13:02 GMT) Full text and rfc822 format available.

Message #13 received at 33064-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolò Balzarotti <nicolo <at> nixo.xyz>
To: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolò Balzarotti <anothersms <at> gmail.com>
Cc: 33064-done <at> debbugs.gnu.org
Subject: Re: [bug#33064] [PATCH 1/1] gnu: Add enchive
Date: Sat, 20 Oct 2018 02:10:29 +0200
[Message part 1 (text/plain, inline)]
Thanks! This was the first one, but many more are coming :)

I'll try to be more careful when linting (also, I didn't notice the 
commit message previously)

Thanks again :)

On 10/19/18 11:01 PM, Ludovic Courtès wrote:
> 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’.
>
>
> 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 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Nov 2018 12:24:07 GMT) Full text and rfc822 format available.

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

Previous Next


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