GNU bug report logs - #40619
[PATCH] gnu: Add emacs-typit.

Previous Next

Package: guix-patches;

Reported by: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>

Date: Tue, 14 Apr 2020 04:20: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 40619 in the body.
You can then email your comments to 40619 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#40619; Package guix-patches. (Tue, 14 Apr 2020 04:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 14 Apr 2020 04:20:02 GMT) Full text and rfc822 format available.

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

From: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-typit.
Date: Mon, 13 Apr 2020 22:52:36 -0500
* gnu/packages/emacs-xyz.scm (emacs-typit): New variable.
---
 gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a974d885e3..ea87802723 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -596,6 +596,44 @@ Gitea, Gogs and Bitbucket.  It abstracts access to API resources using only a
 handful of functions that are not resource-specific.")
       (license license:gpl3+))))
 
+(define-public emacs-typit
+  (package
+    (name "emacs-typit")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mrkkrp/typit.git")
+             (commit "a4e3147dedac5535bdc8b06aca00f34f14f26e35")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0hbnwrhxj9wwjvxsk372ffgjqfkb3ljxhgi5h7wps2r15dxfvf3w"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-dictionaries
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (site-lisp
+                     (string-append
+                      out "/share/emacs/site-lisp/dict")))
+               (mkdir-p site-lisp)
+               (copy-recursively "dict" site-lisp)
+               #t))))))
+    (propagated-inputs
+     `(("emacs-f" ,emacs-f)
+       ("emacs-mmt" ,emacs-mmt)))
+    (home-page "https://github.com/mrkkrp/typit")
+    (synopsis "Typing game for Emacs with two difficulties")
+    (description "@code{emacs-typit} is a typing game
+for Emacs.  Words that are picked randomly from the most
+frequent words in language you're practicing, until time
+is up.")
+    (license license:gpl3)))
+
 (define-public emacs-scribble-mode
   (let ((commit "217945d54de5e4bb207033f2116baa28f5c5ecf2")
         (revision "2"))
-- 
2.26.0





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 14 Apr 2020 09:16:02 GMT) Full text and rfc822 format available.

Notification sent to Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>:
bug acknowledged by developer. (Tue, 14 Apr 2020 09:16:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx>
Cc: 40619-done <at> debbugs.gnu.org
Subject: Re: [bug#40619] [PATCH] gnu: Add emacs-typit.
Date: Tue, 14 Apr 2020 11:15:38 +0200
Hello,

Alberto Eleuterio Flores Guerrero <barbanegra+guix <at> posteo.mx> writes:

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

Thank you. I applied your patch with the changes below.

> +(define-public emacs-typit
> +  (package
> +    (name "emacs-typit")
> +    (version "0.2.1")

This release is somewhat old (2017), and newer commits include
additional dictionaries, so I added the latest commit instead, with
a comment.

The line above became:

  (version (git-version "0.2.1" revision commit))

> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/mrkkrp/typit.git")
> +             (commit "a4e3147dedac5535bdc8b06aca00f34f14f26e35")))

The line above became

  (commit commit)

> +    (license license:gpl3)))

I fixed the license, which is gpl3+.

Regards,

-- 
Nicolas Goaziou




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

This bug report was last modified 5 years and 90 days ago.

Previous Next


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