* [bug#33063] [PATCH 0/1] gnu: Add enchive
@ 2018-10-16 12:18 Nicolò Balzarotti
2018-10-16 12:18 ` [bug#33064] [PATCH 1/1] " Nicolò Balzarotti
0 siblings, 1 reply; 4+ messages in thread
From: Nicolò Balzarotti @ 2018-10-16 12:18 UTC (permalink / raw)
To: 33063; +Cc: Nicolò Balzarotti
https://github.com/skeeto/enchive
nixo (1):
gnu: Add enchive
gnu/packages/crypto.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
--
2.18.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#33064] [PATCH 1/1] gnu: Add enchive
2018-10-16 12:18 [bug#33063] [PATCH 0/1] gnu: Add enchive Nicolò Balzarotti
@ 2018-10-16 12:18 ` Nicolò Balzarotti
2018-10-19 21:01 ` bug#33064: " Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Nicolò Balzarotti @ 2018-10-16 12:18 UTC (permalink / raw)
To: 33064
From: nixo <nicolo@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@flashner.co.il>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2018 Nicolò Balzarotti <nicolo@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#33064: [PATCH 1/1] gnu: Add enchive
2018-10-16 12:18 ` [bug#33064] [PATCH 1/1] " Nicolò Balzarotti
@ 2018-10-19 21:01 ` Ludovic Courtès
2018-10-20 0:10 ` [bug#33064] " Nicolò Balzarotti
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-10-19 21:01 UTC (permalink / raw)
To: Nicolò Balzarotti; +Cc: 33064-done
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]
Hello Nicolò,
Nicolò Balzarotti <anothersms@gmail.com> skribis:
> From: nixo <nicolo@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’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1210 bytes --]
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#33064] [PATCH 1/1] gnu: Add enchive
2018-10-19 21:01 ` bug#33064: " Ludovic Courtès
@ 2018-10-20 0:10 ` Nicolò Balzarotti
0 siblings, 0 replies; 4+ messages in thread
From: Nicolò Balzarotti @ 2018-10-20 0:10 UTC (permalink / raw)
To: Ludovic Courtès, Nicolò Balzarotti; +Cc: 33064-done
[-- Attachment #1: Type: text/plain, Size: 1909 bytes --]
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@gmail.com> skribis:
>
>> From: nixo <nicolo@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
[-- Attachment #2: Type: text/html, Size: 2616 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-20 0:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 12:18 [bug#33063] [PATCH 0/1] gnu: Add enchive Nicolò Balzarotti
2018-10-16 12:18 ` [bug#33064] [PATCH 1/1] " Nicolò Balzarotti
2018-10-19 21:01 ` bug#33064: " Ludovic Courtès
2018-10-20 0:10 ` [bug#33064] " Nicolò Balzarotti
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).