;; SPDX-FileCopyrightText: 2022-2023 Hilton Chain ;; ;; SPDX-License-Identifier: GPL-3.0-or-later (define-module (rosenthal packages emacs-xyz) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system emacs) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages)) ;; https://issues.guix.gnu.org/59552 (define-public emacs-wakatime-mode ;; No release since May 5, 2015. (let ((commit "ef923829912c3854d230834f81083814b7c9d992") (revision "55")) (package (name "emacs-wakatime-mode") ;; 1.0.2 on commit 32a0154cd4bbd525d354997e6b12c6a9726d0b43, not tagged (version (git-version "1.0.2" 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 "WakaTime mode is an Emacs minor mode for automatic time tracking and metrics generated from your programming activity.") (license license:gpl3+))))