GNU bug report logs - #58692
[PATCH] gnu: Add emacs-tokei.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Fri, 21 Oct 2022 17:46:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

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 58692 in the body.
You can then email your comments to 58692 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#58692; Package guix-patches. (Fri, 21 Oct 2022 17:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 21 Oct 2022 17:46:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add emacs-tokei.
Date: Fri, 21 Oct 2022 12:45:48 -0500
* gnu/packages/emacs-xyz.scm (emacs-tokei): New variable.
---
 gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eef7b54777..af2a89c1d5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24395,6 +24395,42 @@ (define-public emacs-hackernews
 News homepage.")
     (license license:gpl3)))
 
+(define-public emacs-tokei
+  (package
+    (name "emacs-tokei")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nagy/tokei.el")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0gcjlcfxd4bg123gjf7d0vfvfd6zpd0da8svynglca1qhp77jkx1"))))
+    (build-system emacs-build-system)
+    (inputs (list tokei))
+    (propagated-inputs (list emacs-magit))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'configure
+           (lambda* (#:key inputs #:allow-other-keys)
+               ;; .el is read-only in git.
+               (make-file-writable "tokei.el")
+               ;; Specify the absolute file name of tokei so that everything
+               ;; works out-of-the-box.
+               (emacs-substitute-variables "tokei.el"
+                 ("tokei-program"
+                  (search-input-file inputs "/bin/tokei"))))))))
+    (home-page "https://github.com/nagy/tokei.el")
+    (synopsis "Display codebase statistics in Emacs")
+    (description 
+"@code{emacs-tokei} is a major-mode for Emacs, that displays codebase
+statistics with the help of @code{tokei}.")
+    (license license:gpl3+)))
+
 (define-public emacs-youtube-dl
   (let ((commit "af877b5bc4f01c04fccfa7d47a2c328926f20ef4")
         (revision "2"))
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#58692; Package guix-patches. (Sat, 22 Oct 2022 09:18:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: jgart <jgart <at> dismail.de>, 58692 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add emacs-tokei.
Date: Sat, 22 Oct 2022 11:16:59 +0200
Am Freitag, dem 21.10.2022 um 12:45 -0500 schrieb jgart:
> * gnu/packages/emacs-xyz.scm (emacs-tokei): New variable.
Reindented, converted to G-Expressions, and pushed.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#58692; Package guix-patches. (Sat, 22 Oct 2022 13:56:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 58692 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add emacs-tokei.
Date: Sat, 22 Oct 2022 08:54:50 -0500
On Sat, 22 Oct 2022 11:16:59 +0200 Liliana Marie Prikler <liliana.prikler <at> gmail.com> wrote:
> Am Freitag, dem 21.10.2022 um 12:45 -0500 schrieb jgart:
> > * gnu/packages/emacs-xyz.scm (emacs-tokei): New variable.
> Reindented, converted to G-Expressions, and pushed.
> 
> Cheers

Thanks! Much appreciated




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sat, 22 Oct 2022 17:22:01 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Sat, 22 Oct 2022 17:22:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: jgart <jgart <at> dismail.de>
Cc: 58692-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add emacs-tokei.
Date: Sat, 22 Oct 2022 19:21:35 +0200
Am Samstag, dem 22.10.2022 um 08:54 -0500 schrieb jgart:
> On Sat, 22 Oct 2022 11:16:59 +0200 Liliana Marie Prikler
> <liliana.prikler <at> gmail.com> wrote:
> > Am Freitag, dem 21.10.2022 um 12:45 -0500 schrieb jgart:
> > > * gnu/packages/emacs-xyz.scm (emacs-tokei): New variable.
> > Reindented, converted to G-Expressions, and pushed.
> > 
> > Cheers
> 
> Thanks! Much appreciated
Now with 100% more done marks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Nov 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 212 days ago.

Previous Next


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