From patchwork Fri Nov 25 01:15:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 44801 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E556C27BBEC; Fri, 25 Nov 2022 01:17:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3AD4727BBE9 for ; Fri, 25 Nov 2022 01:17:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyNL7-0003J6-Qw; Thu, 24 Nov 2022 20:17:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNKw-0003HM-WE for guix-patches@gnu.org; Thu, 24 Nov 2022 20:17:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyNKw-0002jC-NJ for guix-patches@gnu.org; Thu, 24 Nov 2022 20:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyNKw-00005L-Jy for guix-patches@gnu.org; Thu, 24 Nov 2022 20:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59552] [PATCH] gnu: Add emacs-wakatime-mode. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 01:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59552 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59552@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166933901432752 (code B ref -1); Fri, 25 Nov 2022 01:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2022 01:16:54 +0000 Received: from localhost ([127.0.0.1]:60691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNKo-0008W7-8R for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:16:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:41712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyNKm-0008Vr-0l for submit@debbugs.gnu.org; Thu, 24 Nov 2022 20:16:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNKl-0003F3-Rw for guix-patches@gnu.org; Thu, 24 Nov 2022 20:16:51 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyNKd-0002ek-6m for guix-patches@gnu.org; Thu, 24 Nov 2022 20:16:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1669338989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5zxG4JCZwavlSImYYb3kItL/0PV7xSx6TYbramIMm1A=; b=jdOqjJrFNwtsLmR2nLK9lBcQ7vhSnszQKg5iecTO4OTDoKk47SusIkjuE7T+Dw61tTT/74 lVHSUtQTccukvgz2S+1kaBCFR4gZAjg1/IubrGa/U8BWHzhsdAwqrBvGxEJ/88vxb/1eT6 EnQkXeCv8mOpjAT/ar34n2SDlaquNOF/7/yxDRGQLXHLkJTAwPSGO+VVlx3eGt+V13Io4h rMBr6u5P4WFVG57zlZW2Gf/iXyKWgmoJVo5OL/MgkefWMTgMbIV+0b6hPphE+Ox+gHKE2l PwSaXGB74lNxl1a6B8OVsM5l+3hoM6iyldLXMaJkOwtxVZ8RsHTdYy+NTrrLFA== Date: Fri, 25 Nov 2022 09:15:30 +0800 Message-Id: <20221125011530.12585-1-hako@ultrarare.space> MIME-Version: 1.0 X-Spamd-Bar: + Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-wakatime-mode): New variable. --- gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) base-commit: 5eb2995c006283fc0b649f10a6d002580ccac8d6 -- 2.38.1 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e941064d07..a6002efa51 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34160,6 +34160,36 @@ (define-public emacs-semi-epg EasyPG and latest Emacs.") (license license:gpl2+)))) +(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+)))) + (define-public emacs-wanderlust ;; No release since Jan 15, 2010. ;; FIXME: Building with emacs-next-pgtk would yield a void variable related