From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mLjFL234UmMeLwEAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 21:52:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mhuQL234UmOXEAAAauVa8A (envelope-from ) for ; Fri, 21 Oct 2022 21:52:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5DFBB111EE for ; Fri, 21 Oct 2022 21:52:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olxV9-0003Cm-1Q; Fri, 21 Oct 2022 15:16:15 -0400 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 1olw5s-0007tH-AW for guix-patches@gnu.org; Fri, 21 Oct 2022 13:46:04 -0400 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 1olw5r-0005LN-2I for guix-patches@gnu.org; Fri, 21 Oct 2022 13:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olw5q-0001bD-OX for guix-patches@gnu.org; Fri, 21 Oct 2022 13:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58692] [PATCH] gnu: Add emacs-tokei. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Oct 2022 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58692 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58692@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16663743626131 (code B ref -1); Fri, 21 Oct 2022 17:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2022 17:46:02 +0000 Received: from localhost ([127.0.0.1]:39000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olw5p-0001ak-LR for submit@debbugs.gnu.org; Fri, 21 Oct 2022 13:46:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:52158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olw5o-0001ac-AN for submit@debbugs.gnu.org; Fri, 21 Oct 2022 13:46:00 -0400 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 1olw5n-0007t8-N6 for guix-patches@gnu.org; Fri, 21 Oct 2022 13:46:00 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olw5l-0005KY-Lb for guix-patches@gnu.org; Fri, 21 Oct 2022 13:45:59 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2a0c11bf for ; Fri, 21 Oct 2022 19:45:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=oncT1/MQmGnaWFQtT0komM0swcqSr96x42CVI7ClZug=; b= AvIIX9ciMSjl/K3PZEIjpyFsCm4FJzWBDtJPTV+Jzss4SBRRBEehXN5RPb1N7s/7 h2C4v4InDgnrJ4CvdWJRORt673DMSyxdbLcUJohvqOVr3znJJYWKWb0XzSBCs6pn Bf9T4ISefULjGsxu4+7xcf+NR5g82nkzrngdwEdfeQfT2IVZiEteF6JprHqKp0eJ 4gU4RGm4fZcCAgfSiehgtxilQab50o7gT3pTnZ8RlnWX0vyfR2k1PwWsv3uAwyQE qq53lfBdCcO6+PnoovTCpriiibQuu/VXRbROa2re+Xj4Rgj8wgd/Vvph4hU6b3vr e9MqxM3y3y7sS9vqxNjznw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c9d43053 for ; Fri, 21 Oct 2022 19:45:53 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ea0b7cd0 for ; Fri, 21 Oct 2022 19:45:53 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 21331905 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 21 Oct 2022 19:45:53 +0200 (CEST) Date: Fri, 21 Oct 2022 12:45:48 -0500 Message-Id: <20221021174548.13285-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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: , Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666381933; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4R4FlU+wqyPkpBI8K8NVYc6znAYxQuHI5h3NJ+lfH1s=; b=WJsk7WxaMuTqWAEBQOIjiMEFZASTp8zWxNwaSx9mcOj1BnJtWSEYOl7CfGpHqfjrT3JeVL /F55Wi5ErPKm75ol1Bb/ifH66nqS2rTmfsAqYzFPYa6vdSrlAAcyHW0ZnTvXl0oGOm6LHs +dMdNp/iBu5XWp2f1LdEq1meejbheOkmpFJHykmdWzs/Pu3Caga3fFY3ogZj1+fX76Zn0I HWkjTN5fhTXLev+183Gi/spz46+nIwG4C7rTDHxz8LYMT+K0zGgnWq0HTgi1w/8zjqmV0s korjs1okNhrxKGYBdcBs/mLK3Rkq1fsKmvlaMyvodMcMfuGuNAp4XSyYUTh9pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666381933; a=rsa-sha256; cv=none; b=XgbCz/uj1l2F0V1+b9m8a/v3j8+MDDre3A5yY30ADF25zkJFWVgD1ywsj2dbz/pGgPGpSM 7Rf8NGRHvvPV8E6HI6D+XGjCEbb0xyePQ5zbWknYOZK9ZgQzgphFtG0JJIfIQ7ceFi9kgs jKx4eTKqJvwHJ+XSXYM1ojyLYmjxpz/k01sUe+HYl3S+F8NPug5qWgx0W/Q8mKW50TJJR1 5WhnNOM2P7R89+QGU2sAxigato1pFVto0C4O6l32PW6FGNnDej74T8+3mdD83P5jgcqbXo U7y/x9Wkf1BQfizYcU5RywgIYnfQKgwxk/TIU/z7NA9K9QBZOUSFje2Anmeu2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=AvIIX9ci; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=AvIIX9ci; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5DFBB111EE X-Spam-Score: -1.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8zD/OeXmfZUi * 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