summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorColdSideOfYourPillow <ColdSideOfYourPillow@noreply.codeberg.org>2025-09-14 21:57:20 +0400
committerCayetano Santos <csantosb@inventati.org>2025-11-29 10:59:30 +0100
commit114022dc1203eb149b290f5dab8de37797ef7efe (patch)
treebbeaec978bf067c14d4614d1c3d88df101b64bca /gnu
parentd9f1955082620700c9a07b0cc2fe556c3cdf6504 (diff)
gnu: Add emacs-elchacha.
* gnu/packages/emacs-xyz.scm (emacs-elchacha): New variable. Change-Id: I30fe6121278a7bb2401955b4cb6d1d9f21c9332c Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index af94ca23bc6..a521b495ed9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -612,6 +612,33 @@ supported algorithm is chosen to ensure interoperability with
@code{openssl}.")
(license license:gpl3+)))
+(define-public emacs-elchacha
+ (package
+ (name "emacs-elchacha")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/KeyWeeUsr/elchacha")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ghh2gs36h4hnfi49y8f9bl002vjvrg239v5zgfp0mqfyr70lnqc"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:test-command #~(list "eldev" "--use-emacsloadpath" "-dtTC" "test")))
+ (native-inputs
+ (list
+ emacs-eldev
+ emacs-undercover))
+ (home-page "https://github.com/KeyWeeUsr/elchacha")
+ (synopsis "ChaCha20 implementation as per RFC7539")
+ (description "An implementation of the ChaCha20 encryption algorithm in
+Emacs Lisp.")
+ (license license:gpl3)))
+
(define-public emacs-sops
(package
(name "emacs-sops")