GNU bug report logs - #76225
[PATCH] gnu: Add emacs-age.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 12 Feb 2025 13:35:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 76225 in the body.
You can then email your comments to 76225 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#76225; Package guix-patches. (Wed, 12 Feb 2025 13:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 12 Feb 2025 13:35:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: andrew <at> trop.in
Subject: [PATCH] gnu: Add emacs-age.
Date: Wed, 12 Feb 2025 14:33:21 +0100
* gnu/packages/emacs-xyz.scm (emacs-age): New variable.
---
 gnu/packages/emacs-xyz.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 89da0dd489..13139243a1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
-;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2022, 2024, 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke <at> posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon <at> netpanic.org>
@@ -436,6 +436,33 @@ (define-public emacs-activities
 compatible.")
     (license license:gpl3+)))
 
+(define-public emacs-age
+  (let ((commit "890c467ebc27538507c54a03afd2f7260630d7f5")
+        (revision "0"))
+    (package
+      (name "emacs-age")
+      ;; 0.1.4 in the code but 0.1.5 on github
+      (version (git-version "0.1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/anticomputer/age.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0777nvrvswv81g0rkclm7r2ai1xfjf380lhg8lidd060dkp71ic1"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/anticomputer/age.el")
+      (synopsis "The Age Encryption Library")
+      (description
+       "This package provides transparent Age file encryption and decryption in
+Emacs.  It is based on the Emacs @code{EasyPG} code and offers similar Emacs
+file handling for Age encrypted files: maintain .org.age encrypted Org files,
+provide Age encrypted authentication information out of .authinfo.age,
+open/edit/save Age encrypted files via @code{tramp}...")
+      (license license:gpl3+))))
+
 (define-public emacs-bookmark-plus
   (package
     (name "emacs-bookmark-plus")
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Wed, 12 Feb 2025 13:37:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76225 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-age.
Date: Wed, 12 Feb 2025 14:33:21 +0100
* gnu/packages/emacs-xyz.scm (emacs-age): New variable.
---
 gnu/packages/emacs-xyz.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 89da0dd489..d57c17d45f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
-;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2022, 2024, 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke <at> posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon <at> netpanic.org>
@@ -436,6 +436,33 @@ (define-public emacs-activities
 compatible.")
     (license license:gpl3+)))
 
+(define-public emacs-age
+  (let ((commit "890c467ebc27538507c54a03afd2f7260630d7f5")
+        (revision "0"))
+    (package
+      (name "emacs-age")
+      ;; 0.1.4 in the code but 0.1.5 on github
+      (version (git-version "0.1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/anticomputer/age.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0777nvrvswv81g0rkclm7r2ai1xfjf380lhg8lidd060dkp71ic1"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/anticomputer/age.el")
+      (synopsis "Age Encryption support for Emacs")
+      (description
+       "This package provides transparent Age file encryption and decryption
+in Emacs.  It is based on the Emacs @code{EasyPG} code and offers similar
+Emacs file handling for Age encrypted files: maintain @code{.org.age}
+encrypted Org files, provide Age encrypted authentication information out of
+@code{.authinfo.age}, open/edit/save Age encrypted files via @code{tramp}...")
+      (license license:gpl3+))))
+
 (define-public emacs-bookmark-plus
   (package
     (name "emacs-bookmark-plus")
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Wed, 12 Feb 2025 19:45:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: 76225 <at> debbugs.gnu.org, Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [bug#76225] [PATCH v2] gnu: Add emacs-age.
Date: Wed, 12 Feb 2025 20:43:40 +0100
Hello,

Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-age): New variable.

Thanks.

> +(define-public emacs-age
> +  (let ((commit "890c467ebc27538507c54a03afd2f7260630d7f5")
> +        (revision "0"))
> +    (package
> +      (name "emacs-age")
> +      ;; 0.1.4 in the code but 0.1.5 on github
> +      (version (git-version "0.1.5" revision commit))

Please use the "v0.1.5" tag instead of a raw commit.

> +      (description
> +       "This package provides transparent Age file encryption and decryption
> +in Emacs.  It is based on the Emacs @code{EasyPG} code and offers similar

Nitpick: I think EasyPG is better than @code{EasyPG}. See below.

> +Emacs file handling for Age encrypted files: maintain @code{.org.age}
> +encrypted Org files, provide Age encrypted authentication information out of
> +@code{.authinfo.age},

@code -> @file (x2)

> + open/edit/save Age encrypted files via @code{tramp}...")

Nitpick: I prefer Tramp over @code{tramp} as you’re referring to
a project, not to some piece of code. It is also coherent with Age and
Emacs in the same description.

Otherwise, LGTM.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Wed, 12 Feb 2025 19:45:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Mon, 24 Feb 2025 20:11:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76225 <at> debbugs.gnu.org
Cc: mail <at> nicolasgoaziou.fr
Subject: [PATCH v3 1/3] gnu: Add emacs-age.
Date: Wed, 12 Feb 2025 14:33:21 +0100
* gnu/packages/emacs-xyz.scm (emacs-age): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59c1927135..832a6c09b1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
-;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2022, 2024, 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke <at> posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon <at> netpanic.org>
@@ -437,6 +437,30 @@ (define-public emacs-activities
 compatible.")
     (license license:gpl3+)))
 
+(define-public emacs-age
+  (package
+    (name "emacs-age")
+    (version "0.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/anticomputer/age.el")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1703ijdgahanzkrs0w3j1l563969qnsw872vkdsmfj7qw1940ndj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/anticomputer/age.el")
+    (synopsis "Age Encryption support for Emacs")
+    (description
+     "This package provides transparent Age file encryption and decryption
+in Emacs.  It is based on the Emacs EasyPG@ code and offers similar Emacs file
+handling for Age encrypted files: maintain @code{.org.age} encrypted Org
+files, provide Age encrypted authentication information out of
+@code{.authinfo.age}, open/edit/save Age encrypted files via Tramp...")
+    (license license:gpl3+)))
+
 (define-public emacs-bookmark-plus
   (package
     (name "emacs-bookmark-plus")
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Mon, 24 Feb 2025 20:12:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76225 <at> debbugs.gnu.org
Cc: mail <at> nicolasgoaziou.fr
Subject: [PATCH v3 3/3] gnu: Add emacs-passage.
Date: Mon, 24 Feb 2025 21:05:10 +0100
* gnu/packages/emacs-xyz.scm (emacs-passage): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 832a6c09b1..aee8e67d74 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24773,6 +24773,31 @@ (define-public emacs-pass
 and can be consulted and modified.")
     (license license:gpl3+)))
 
+(define-public emacs-passage
+  (let ((commit "5f1ad815464b1e4ce7880b835f9e805a8b9b15a4")
+        (revision "0"))
+    (package
+      (name "emacs-passage")
+      (version (git-version "2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/anticomputer/passage.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "12sxaig36n3qrmnyq2znar74hgbgfh3sgghki4n7aq2bzxwfbn8h"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-age emacs-f emacs-s emacs-with-editor))
+      (home-page "https://github.com/anticomputer/passage.el")
+      (synopsis "Pass-Age Encryption support for Emacs")
+      (description
+       "This package provides transparent Age file encryption and decryption
+in Emacs for @code{pass-age}, a port of @code{pass}, the standard unix
+password manager.")
+      (license license:gpl3+))))
+
 (define-public emacs-psc-ide
   ;; There is no proper release.  The base version is extracted from the
   ;; "Version" keyword in the main file.
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Mon, 24 Feb 2025 20:12:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76225 <at> debbugs.gnu.org
Cc: mail <at> nicolasgoaziou.fr
Subject: [PATCH v3 2/3] gnu: pass-age: Update to 1.7.4a2.
Date: Mon, 24 Feb 2025 20:15:47 +0100
* gnu/packages/password-utils.scm (pass-age): Update to 1.7.4a2.
---
 gnu/packages/password-utils.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 81758cea43..78154b967c 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -827,7 +827,7 @@ (define-public pass-age
   (package
     (inherit password-store)
     (name "pass-age")
-    (version "1.7.4a1")
+    (version "1.7.4a2")
     (source
      (origin
        (method git-fetch)
@@ -836,7 +836,7 @@ (define-public pass-age
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0g8x2zivid18qf1czq1yqychmbdzxzs83rg8a5b392m2rzxlrx08"))))
+        (base32 "1ap2i08zjvacd2rllrsx9bw3zz5i99bk0i5yxrssvn6w60bwjqdl"))))
     (build-system copy-build-system)
     (arguments
      '(#:modules
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#76225; Package guix-patches. (Mon, 24 Feb 2025 20:13:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76225 <at> debbugs.gnu.org
Cc: mail <at> nicolasgoaziou.fr
Subject: [PATCH v4 1/3] gnu: Add emacs-age.
Date: Wed, 12 Feb 2025 14:33:21 +0100
* gnu/packages/emacs-xyz.scm (emacs-age): New variable.
---

Sorry I made a small typo on the previous one, seen when sent.

 gnu/packages/emacs-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59c1927135..700ac9f0cb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,7 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
-;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2022, 2024, 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann <at> kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke <at> posteo.net>
 ;;; Copyright © 2023 Simon Streit <simon <at> netpanic.org>
@@ -437,6 +437,30 @@ (define-public emacs-activities
 compatible.")
     (license license:gpl3+)))
 
+(define-public emacs-age
+  (package
+    (name "emacs-age")
+    (version "0.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/anticomputer/age.el")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1703ijdgahanzkrs0w3j1l563969qnsw872vkdsmfj7qw1940ndj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/anticomputer/age.el")
+    (synopsis "Age Encryption support for Emacs")
+    (description
+     "This package provides transparent Age file encryption and decryption
+in Emacs.  It is based on the Emacs EasyPG code and offers similar Emacs file
+handling for Age encrypted files: maintain @code{.org.age} encrypted Org
+files, provide Age encrypted authentication information out of
+@code{.authinfo.age}, open/edit/save Age encrypted files via Tramp...")
+    (license license:gpl3+)))
+
 (define-public emacs-bookmark-plus
   (package
     (name "emacs-bookmark-plus")
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Mon, 24 Feb 2025 22:12:01 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Mon, 24 Feb 2025 22:12:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 76225-done <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [PATCH] gnu: Add emacs-age.
Date: Mon, 24 Feb 2025 23:11:14 +0100
Hello,

I applied the patch set. Thank you.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Mar 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 168 days ago.

Previous Next


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