From 16ea01ca3ce350813dc354d31fd0aac7bbfa1bd7 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 25 Nov 2022 14:35:58 +0800 Subject: [PATCH] rosenthal: Add emacs-wakatime-mode. * rosenthal/packages/emacs-xyz.scm (emacs-wakatime-mode): New variable. --- rosenthal/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/rosenthal/packages/emacs-xyz.scm b/rosenthal/packages/emacs-xyz.scm index 0f01d5e..4c0632a 100644 --- a/rosenthal/packages/emacs-xyz.scm +++ b/rosenthal/packages/emacs-xyz.scm @@ -98,3 +98,34 @@ (sha256 (base32 "1bqhn6pvsgs1x882q7y5p372aify2jmyfmgmx99nzakxbfkb0yqp"))))))) + +;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59552 +(define-public emacs-wakatime-mode + ;; No release since May 5, 2015. + (let ((version "1.0.2") ;32a0154cd4bbd525d354997e6b12c6a9726d0b43, not tagged + (revision "55") + (commit "ef923829912c3854d230834f81083814b7c9d992")) + (package + (name "emacs-wakatime-mode") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wakatime/wakatime-mode") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0m29817s2din4n42pflvzg2538i91s0n06y78pf8q94qf0mfspcl")))) + (build-system emacs-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + ;; XXX: WakaTime hasn't packaged in Guix yet. + (delete 'patch-el-files)))) + (home-page "https://wakatime.com/emacs") + (synopsis "Automatic time tracking extension for Emacs using WakaTime") + (description + "@code{wakatime-mode} is an Emacs plugin for automatic time tracking +and metrics generated from your programming activity.") + (license license:gpl3+))))