Subject: [PATCH] gnu: Add emacs-caps-lock.

From: "LaFreniere, Joseph" <[email-masked]>
Date: Wed, 25 Mar 2020 20:22:55 -0500

Patch file is attached.

The commentary section in the upstream ELPA package is empty, so 
the description in this recipe is highly editorialized.

--
Joseph LaFreniere
>From fd938317abde6de68584d6162f634cac6e0948b6 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <[email-masked]>
Date: Wed, 25 Mar 2020 20:19:33 -0500
Subject: [PATCH] gnu: Add emacs-caps-lock.

* gnu/packages/emacs-xyz.scm (emacs-caps-lock): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2bfa5f95e5..4f2552222c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1728,6 +1728,28 @@ searches.  Unlike code@{emacs-wiki.el}, it can be combined with any format.")
 Emacs buffer.")
     (license license:gpl3+)))
 
+(define-public emacs-caps-lock
+  (package
+    (name "emacs-caps-lock")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://elpa.gnu.org/packages/caps-lock-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1i4hwam81p4dr0bk8257fkiz4xmv6knkjxj7a00fa35kgx5blpva"))))
+    (build-system emacs-build-system)
+    (home-page
+     "http://elpa.gnu.org/packages/caps-lock.html")
+    (synopsis "Caps-lock as a minor mode")
+    (description
+     "This package provides a minor mode to emulate the behavior of a
+caps-lock key.")
+    (license license:gpl3+)))
+
 (define-public emacs-chronometrist
   (package
     (name "emacs-chronometrist")
-- 
2.26.0