From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOD3L-0005AW-FP for guix-patches@gnu.org; Tue, 14 Apr 2020 00:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOD3K-0002yd-AY for guix-patches@gnu.org; Tue, 14 Apr 2020 00:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOD3K-0002yY-87 for guix-patches@gnu.org; Tue, 14 Apr 2020 00:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOD3K-0005gN-4g for guix-patches@gnu.org; Tue, 14 Apr 2020 00:20:02 -0400 Subject: [bug#40619] [PATCH] gnu: Add emacs-typit. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOCcw-0006cn-1j for guix-patches@gnu.org; Mon, 13 Apr 2020 23:52:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOCcu-0007yE-PV for guix-patches@gnu.org; Mon, 13 Apr 2020 23:52:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46244) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOCct-0007vA-Uc for guix-patches@gnu.org; Mon, 13 Apr 2020 23:52:44 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8AACE16005C for ; Tue, 14 Apr 2020 05:52:41 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 491Wlr1sYNz9rxR for ; Tue, 14 Apr 2020 05:52:39 +0200 (CEST) From: Alberto Eleuterio Flores Guerrero Date: Mon, 13 Apr 2020 22:52:36 -0500 Message-Id: <20200414035236.22556-1-barbanegra+guix@posteo.mx> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40619@debbugs.gnu.org * 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 A= PI resources using only a handful of functions that are not resource-specific.") (license license:gpl3+)))) =20 +(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")) --=20 2.26.0