aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2023-07-15 12:01:16 +0530
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-09-02 23:47:39 +0200
commitbdb657d499e5be27287e71c0feadd1ec41d12d2a (patch)
tree5174b9cdb81e11574cd493d5f3c17e1a77b7739b /gnu/packages/emacs-xyz.scm
parent771cbf2ab222478ebfc11b20f1833a3e0e908e6a (diff)
downloadguix-bdb657d499e5be27287e71c0feadd1ec41d12d2a.tar.gz
guix-bdb657d499e5be27287e71c0feadd1ec41d12d2a.zip
gnu: Add emacs-speed-type.
* gnu/packages/emacs-xyz.scm (emacs-speed-type): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc2998a217..0f32caa756 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1950,6 +1950,45 @@ forces you to type words correctly as fast as possible, otherwise
you will die. The game builds the list of words from the active buffer.")
(license license:gpl2+))))
+(define-public emacs-speed-type
+ (package
+ (name "emacs-speed-type")
+ (version "1.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dakra/speed-type")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0nnvk3qnn61hg5rgwpiy1dqg6sqfh1m5256sbsk2pwrdmk54k85k"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #true
+ #:test-command
+ #~(list "emacs" "-Q" "--batch" "-L" "."
+ "-l" "test-speed-type.el"
+ "-f" "ert-run-tests-batch-and-exit")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-failing-test
+ ;; This test requires an internet connection.
+ (lambda _
+ (substitute* "test-speed-type.el"
+ (("\\(ert-deftest speed-type--retrieve-test .*" all)
+ (string-append all " (skip-unless nil)"))))))))
+ (propagated-inputs (list emacs-compat))
+ (home-page "https://github.com/dakra/speed-type")
+ (synopsis "Practice touch/speed typing in GNU Emacs.")
+ (description
+ "Speed Type allows you to practice your touch typing skills. You can
+test yourself by typing snippets from online books or use any piece of text or
+code you have in Emacs. Speed Type keeps track of your stats (WPM, CPM,
+accuracy) while you are typing.")
+ (license license:gpl3+)))
+
(define-public emacs-graphql
(let ((commit "b57b5ca5d2d0837e1fb4a4f30c051d5f3e643f0f")) ;version bump
(package