unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42732] [PATCH] gnu: Add age.
@ 2020-08-06 21:26 Jakub Kądziołka
  2020-08-07  2:06 ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kądziołka @ 2020-08-06 21:26 UTC (permalink / raw)
  To: 42732

* gnu/packages/crypto.scm (age): New variable.
---
 gnu/packages/crypto.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 5532f7e9f8..1aa5127799 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1185,3 +1185,34 @@ length extension attacks supporting MD4, MD5, RIPEMD-160, SHA-0, SHA-1,
 SHA-256, SHA-512, and WHIRLPOOL hashes.")
       (home-page "https://github.com/iagox86/hash_extender")
       (license license:bsd-3))))
+
+(define-public age
+  (package
+    (name "age")
+    (version "1.0.0-beta4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/FiloSottile/age")
+                     (commit (string-append "v" version))))
+              (sha256
+                (base32
+                  "0pp6zn4rdypyxn1md9ppisiwiapkfkbh08rzfl3qwn0998wx6gnb"))
+              (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "filippo.io/age/cmd/..."
+       #:unpack-path "filippo.io/age"
+       #:install-source? #f))
+    (inputs
+     `(("x-crypto" ,go-golang-org-x-crypto)))
+    (synopsis "Encrypt files with a password or public key")
+    (description "@command{age} is a simple, modern and secure file encryption
+tool. It features small explicit keys, no config options, and UNIX-style
+composability.
+
+Files can be encrypted with passphrases, as well as with age-specific or SSH
+public keys. A single encrypted container can be efficiently encrypted to
+multiple recipients.")
+    (home-page "https://age-encryption.org/")
+    (license license:bsd-3)))
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#42732] [PATCH] gnu: Add age.
  2020-08-06 21:26 [bug#42732] [PATCH] gnu: Add age Jakub Kądziołka
@ 2020-08-07  2:06 ` Leo Famulari
  2020-08-07 17:45   ` Jakub Kądziołka
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2020-08-07  2:06 UTC (permalink / raw)
  To: Jakub Kądziołka; +Cc: 42732

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

On Thu, Aug 06, 2020 at 11:26:06PM +0200, Jakub Kądziołka wrote:
> * gnu/packages/crypto.scm (age): New variable.

Nice! I've been looking forward to this program.

> +    (version "1.0.0-beta4")

I know it's been in development for 10 months, but we usually don't
include betas or release candidates in Guix, unless the project is
abandoned. I think that, in this case, we should wait a bit longer for
the final release.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#42732] [PATCH] gnu: Add age.
  2020-08-07  2:06 ` Leo Famulari
@ 2020-08-07 17:45   ` Jakub Kądziołka
  2020-08-07 18:14     ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Kądziołka @ 2020-08-07 17:45 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 42732

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

On Thu, Aug 06, 2020 at 10:06:47PM -0400, Leo Famulari wrote:
> On Thu, Aug 06, 2020 at 11:26:06PM +0200, Jakub Kądziołka wrote:
> > * gnu/packages/crypto.scm (age): New variable.
> 
> Nice! I've been looking forward to this program.
> 
> > +    (version "1.0.0-beta4")
> 
> I know it's been in development for 10 months, but we usually don't
> include betas or release candidates in Guix, unless the project is
> abandoned. I think that, in this case, we should wait a bit longer for
> the final release.

Okay. Is the rest of the package fine? I doubt any of that will change
once the program gets a full release.

Regards,
Jakub Kądziołka

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#42732] [PATCH] gnu: Add age.
  2020-08-07 17:45   ` Jakub Kądziołka
@ 2020-08-07 18:14     ` Leo Famulari
  2023-05-28 22:02       ` bug#42732: " Jelle Licht
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2020-08-07 18:14 UTC (permalink / raw)
  To: Jakub Kądziołka; +Cc: 42732

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

On Fri, Aug 07, 2020 at 07:45:56PM +0200, Jakub Kądziołka wrote:
> Okay. Is the rest of the package fine? I doubt any of that will change
> once the program gets a full release.

I would make sure that version of our Go crypto library package is equal
to or newer than the one in 'go.mod'.

In general, I had not tried packaging this yet due to the long-ish list
of dependencies in 'go.sum'. But it seems they are not actually used...

I'm also curious about the go-diff dependency in 'go.mod'. It's imported
in 'internal/format/format_gofuzz.go' so I'm surprised the compilation
succeeds without it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#42732: [PATCH] gnu: Add age.
  2020-08-07 18:14     ` Leo Famulari
@ 2023-05-28 22:02       ` Jelle Licht
  0 siblings, 0 replies; 5+ messages in thread
From: Jelle Licht @ 2023-05-28 22:02 UTC (permalink / raw)
  To: 42732-done; +Cc: Jakub Kądziołka, Leo Famulari

Master already has age@1.1.1, so I'm closing this.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-28 22:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-06 21:26 [bug#42732] [PATCH] gnu: Add age Jakub Kądziołka
2020-08-07  2:06 ` Leo Famulari
2020-08-07 17:45   ` Jakub Kądziołka
2020-08-07 18:14     ` Leo Famulari
2023-05-28 22:02       ` bug#42732: " Jelle Licht

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).