From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UCs8FtWNHV/wVAAA0tVLHw (envelope-from ) for ; Sun, 26 Jul 2020 14:06:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oEzyEdWNHV/dVwAAbx9fmQ (envelope-from ) for ; Sun, 26 Jul 2020 14:06:13 +0000 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 7419A9404E1 for ; Sun, 26 Jul 2020 14:06:12 +0000 (UTC) Received: from localhost ([::1]:38746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzhI3-0003uF-C1 for larch@yhetil.org; Sun, 26 Jul 2020 10:06:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzhHu-0003st-8P for guix-patches@gnu.org; Sun, 26 Jul 2020 10:06:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzhHt-0000gb-Up for guix-patches@gnu.org; Sun, 26 Jul 2020 10:06:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzhHt-0007ja-PE for guix-patches@gnu.org; Sun, 26 Jul 2020 10:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Jul 2020 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42525 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Joseph LaFreniere Cc: 42525@debbugs.gnu.org Received: via spool by 42525-submit@debbugs.gnu.org id=B42525.159577230229649 (code B ref 42525); Sun, 26 Jul 2020 14:06:01 +0000 Received: (at 42525) by debbugs.gnu.org; 26 Jul 2020 14:05:02 +0000 Received: from localhost ([127.0.0.1]:53212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzhGw-0007i9-Ec for submit@debbugs.gnu.org; Sun, 26 Jul 2020 10:05:02 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:57209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzhGu-0007ha-2Q for 42525@debbugs.gnu.org; Sun, 26 Jul 2020 10:05:01 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E41211BF203; Sun, 26 Jul 2020 14:04:52 +0000 (UTC) From: Nicolas Goaziou References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> Date: Sun, 26 Jul 2020 16:04:51 +0200 In-Reply-To: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Fri, 24 Jul 2020 21:04:06 -0500") Message-ID: <87d04inzi4.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: blUSHswMvtim Hello, Joseph LaFreniere writes: > Patch file is attached. Thank you. > Note that `guix lint` reports "the source file name should contain the > package name"; I'm not sure how to resolve that. You are missing a (file-name (git-file-name name version)) expression in `origin'. > +(define-public emacs-pretty-hydra > + (package > + (name "emacs-pretty-hydra") > + (version "0.2.2") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/jerrypnz/major-mode-hydra.el") > + (commit version))) > + (sha256 > + (base32 > + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) Nitpick: please move the string on the same line as `base32'. > + (build-system emacs-build-system) There are some tests using ert-runner. Could you try to enable them? > + (propagated-inputs > + `(("emacs-dash" ,emacs-dash) > + ("emacs-hydra" ,emacs-hydra) > + ("emacs-s" ,emacs-s))) > + (arguments > + `(#:install '("^pretty-hydra\\.el$"))) > + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") > + (synopsis "Major mode keybindings managed by Hydra") > + (description > + "This package offers an hydra-based method of managing major > +mode-specific key bindings. It is intended for use as a library only; see > +package @code{emacs-major-mode-hydra} for a user-friendly interface.") > + (license license:gpl3+))) > + > (define-public emacs-minions > (package > (name "emacs-minions") > @@ -6148,6 +6176,34 @@ them easier to distinguish from other, less important buffers.") > for Ivy and Company that make use of the library.") > (license license:expat))) > > +(define-public emacs-pretty-hydra You added the package twice. Could you send an updated patch? Regards, -- Nicolas Goaziou