emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58692: closed ([PATCH] gnu: Add emacs-tokei.)


From: GNU bug Tracking System
Subject: bug#58692: closed ([PATCH] gnu: Add emacs-tokei.)
Date: Sat, 22 Oct 2022 17:22:01 +0000

Your message dated Sat, 22 Oct 2022 19:21:35 +0200
with message-id <3eeaa6dbe44a5b7afaa3e7fc66f0227d6e6bc3aa.camel@gmail.com>
and subject line Re: [PATCH] gnu: Add emacs-tokei.
has caused the debbugs.gnu.org bug report #58692,
regarding [PATCH] gnu: Add emacs-tokei.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
58692: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58692
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] gnu: Add emacs-tokei. Date: Sat, 22 Oct 2022 19:21:35 +0200 User-agent: Evolution 3.46.0
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@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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]