From patchwork Wed Jun 30 07:29:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dhruvin Gandhi X-Patchwork-Id: 30836 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 8CAED27BC83; Wed, 30 Jun 2021 08:30:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 55ADB27BC78 for ; Wed, 30 Jun 2021 08:30:11 +0100 (BST) Received: from localhost ([::1]:45004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyUfi-0001fN-Cr for patchwork@mira.cbaines.net; Wed, 30 Jun 2021 03:30:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyUfa-0001fB-80 for guix-patches@gnu.org; Wed, 30 Jun 2021 03:30:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyUfZ-0004WS-TO for guix-patches@gnu.org; Wed, 30 Jun 2021 03:30:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyUfZ-0004wC-QF for guix-patches@gnu.org; Wed, 30 Jun 2021 03:30:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49286] [PATCH 1/1] gnu: Add emacs-ripgrep. Resent-From: Dhruvin Gandhi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Jun 2021 07:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49286@debbugs.gnu.org Cc: Dhruvin Gandhi Received: via spool by 49286-submit@debbugs.gnu.org id=B49286.162503818418935 (code B ref 49286); Wed, 30 Jun 2021 07:30:01 +0000 Received: (at 49286) by debbugs.gnu.org; 30 Jun 2021 07:29:44 +0000 Received: from localhost ([127.0.0.1]:56339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyUfH-0004vL-MP for submit@debbugs.gnu.org; Wed, 30 Jun 2021 03:29:43 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:26742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyUfE-0004v5-Tc for 49286@debbugs.gnu.org; Wed, 30 Jun 2021 03:29:42 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4GFCf66GB5zQk6y; Wed, 30 Jun 2021 09:29:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=MBO0001; t=1625038172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+8QiLFTD/fZxtcnapA6aO4TSIaqc8saRuQxw4zXo2Wk=; b=kDv+00AG2zuOdDcsOiPE19x01kWpwfa06Q6vyDAf50ZuFOMv4nAaCIeUtBFOdgOOQpolNQ r/8woxVrV3AAaMlO5T8ajvsL/rVN1ZBWrW5H7dRw2UmPK7whcnB3+GU2/yvqRpPyvf221y fdzuanauFcwOddvKwSuCzw+JfX4nl2WA1gx7aUW4LMgdHUbPLp15LhwQAfxD5nIFYWJj8X k8rB9AUKHpEP25jH0f6WEgrrS3hzTvur7NsU+L92CEDf5EQntceUCfb/YKFekrMG3bD+oI hM18TJryL0QaM0i6b7iHRvZ9Pefwat5rlbAwwZkiFZWa/07ggGQk9b05iqpRZw== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id 9sDOzscXsryX; Wed, 30 Jun 2021 09:29:31 +0200 (CEST) Date: Wed, 30 Jun 2021 12:59:11 +0530 Message-Id: <20210630072911.28038-1-contact@dhruvin.dev> In-Reply-To: <20210630072601.27756-1-contact@dhruvin.dev> References: <20210630072601.27756-1-contact@dhruvin.dev> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -5.76 / 15.00 / 15.00 X-Rspamd-Queue-Id: 9ECC118BD X-Rspamd-UID: 3c318d 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Dhruvin Gandhi X-ACL-Warn: , Dhruvin Gandhi via Guix-patches X-Patchwork-Original-From: Dhruvin Gandhi via Guix-patches via From: Dhruvin Gandhi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-ripgrep): New variable. --- gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d8c1f86207..bf0ab5910d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright © 2021 Eugene Klimov ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 David Dashyan +;;; Copyright © 2021 Dhruvin Gandhi ;;; ;;; This file is part of GNU Guix. ;;; @@ -4404,6 +4405,37 @@ column by drawing a thin line down the length of the editing window.") result.") (license license:gpl3+))) +(define-public emacs-ripgrep + (package + (name "emacs-ripgrep") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nlamirault/ripgrep.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a5rdpmvsgsjlc9sywism9pq7jd6n9qbcdsvpbfkq1npwhpifkbj")))) + (build-system emacs-build-system) + (propagated-inputs + `(("ripgrep" ,ripgrep))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The repository contains both ripgrep and projectile-ripgrep + ;; packages. The latter has been merged into projectile itself. + (add-after 'unpack 'delete-projectile-ripgrep + (lambda _ + (delete-file "projectile-ripgrep.el") + #t))))) + (home-page "https://github.com/nlamirault/ripgrep.el") + (synopsis "Search using ripgrep from inside Emacs") + (description "@code{ripgrep} is an Emacs search package based on the +@code{ripgrep} command line tool.") + (license license:gpl2+))) + (define-public emacs-rg (package (name "emacs-rg")