Subject: [bug#76225] [PATCH v3 1/3] gnu: Add emacs-age.

From: Nicolas Graves <[email-masked]>
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 <[email-masked]>
 ;;; Copyright © 2022 Jose G Perez Taveras <[email-masked]>
 ;;; Copyright © 2022 Hilton Chain <[email-masked]>
-;;; Copyright © 2022 Nicolas Graves <[email-masked]>
+;;; Copyright © 2022, 2024, 2025 Nicolas Graves <[email-masked]>
 ;;; Copyright © 2022 Thiago Jung Bauermann <[email-masked]>
 ;;; Copyright © 2022 Joeke de Graaf <[email-masked]>
 ;;; Copyright © 2023 Simon Streit <[email-masked]>
@@ -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