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 sBmUONLTt1+cbAAA0tVLHw (envelope-from ) for ; Fri, 20 Nov 2020 14:33:54 +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 aDpqNNLTt1+aDgAAbx9fmQ (envelope-from ) for ; Fri, 20 Nov 2020 14:33:54 +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 7E20C9403AA for ; Fri, 20 Nov 2020 14:33:54 +0000 (UTC) Received: from localhost ([::1]:47470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kg7U0-00059A-6j for larch@yhetil.org; Fri, 20 Nov 2020 09:33:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kg7QJ-00029q-9n for guix-patches@gnu.org; Fri, 20 Nov 2020 09:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kg7QJ-0008FW-1D for guix-patches@gnu.org; Fri, 20 Nov 2020 09:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kg7QI-000746-Qg for guix-patches@gnu.org; Fri, 20 Nov 2020 09:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Nov 2020 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44762 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44762@debbugs.gnu.org Cc: Joseph LaFreniere Received: via spool by 44762-submit@debbugs.gnu.org id=B44762.160588257427088 (code B ref 44762); Fri, 20 Nov 2020 14:30:02 +0000 Received: (at 44762) by debbugs.gnu.org; 20 Nov 2020 14:29:34 +0000 Received: from localhost ([127.0.0.1]:42529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg7Pp-00072k-U0 for submit@debbugs.gnu.org; Fri, 20 Nov 2020 09:29:34 -0500 Received: from mx.kolabnow.com ([95.128.36.40]:18302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kg7PY-00070H-Jy for 44762@debbugs.gnu.org; Fri, 20 Nov 2020 09:29:17 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 32A50409EC for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:29:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1605882550; x=1607696951; bh=g3y3IOtVT71VnqCmYNdXCsYh+NFd3+IyCeDOmcxZTG4=; b=A967w6jXXUYE EQnqYmtORFcEGB8hI+NUzjYGi/2+iMrDWORH1h61wlAud1KM5nWGSw0ys28LFtxB spPj4WygYlYk7fuQEreR04LuNb4yY27kZ7dXeA594SekZfk1TXI2+x+dj0GI/WEI e6NYWmm7ITT7AkrkkPUixLy0+XpAi8mhKdkS/R6rWbi1Db14vJY7kAQWBQlJsf+U lnASGMLbaSl91PBepjQBGH0bLQERV7eIEMSJZiOwQaGSJZV8KJ0ME0jujmdarpiw s4vAAHlcQTCDU7qiZXPixFedC0kEvXxwcZJBR5jObndV23flwPqS0sKXGzbwUKcj EkL00uVJuxWhF0TXwJPhUhyCI8c+blY9JIw3GT3RTHo9AJlTnj9j3UG+7gZq7PRa AQYuiKyUb2dD07qWsr5HN2aCLkc8ZwzbQEbeRdWcH1NXOdykU4/VMewBtaJSaGzo mKFvDnz5D+QEh2LpnItUURQJNHPSVPiOx0brZoSC22Z7JW+UtzDUsNZoz0adCh0k pHl8jpdUGNz7G28HMtaqklRm/KFYOA0H1ZZd38AyEtfc1c0IaxVHuMi/zLGw8cKX B/B9KHumEWn0v1F8mvipkeKGII7H/mhFDgFMvXDfjoCYScRpID2Mp7aORjISAmKf vAylRIvJ7F6mKNAE0ANRdokHrQQzb8s= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.9 Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3SfMjab6Za-s for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:29:10 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 958664037A for <44762@debbugs.gnu.org>; Fri, 20 Nov 2020 15:29:10 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 47C1B1F3; Fri, 20 Nov 2020 15:29:10 +0100 (CET) From: Joseph LaFreniere Date: Fri, 20 Nov 2020 08:27:16 -0600 Message-Id: <20201120142716.41949-37-joseph@lafreniere.xyz> In-Reply-To: <20201120142716.41949-1-joseph@lafreniere.xyz> References: <20201120142716.41949-1-joseph@lafreniere.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.5 (/) 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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=A967w6jX; 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: 4.99 X-TUID: 9ZjpiLazHLcD * gnu/packages/rust-apps.scm (ripgrep-all): New variable. --- gnu/packages/rust-apps.scm | 80 +++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index fabb4e0380..e25c858c8f 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -27,15 +27,20 @@ #:use-module (guix build-system cargo) #:use-module (guix download) #:use-module (guix packages) + #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages documentation) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages jemalloc) #:use-module (gnu packages pcre) + #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages sqlite) #:use-module (gnu packages tls) - #:use-module (gnu packages version-control)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages video)) (define-public exa (package @@ -293,6 +298,79 @@ your current directory for a regex pattern while respecting your gitignore rules.") (license (list license:unlicense license:expat)))) +(define-public ripgrep-all + (package + (name "ripgrep-all") + (version "0.9.6") + (source + (origin + (method url-fetch) + (uri (crate-uri name version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ppci77wdyxz21mn7qd3pphl3pcl2q9kf1ravc9a9zmv2r9n5gk1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-cachedir" ,rust-cachedir-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-crossbeam" ,rust-crossbeam-0.7) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-exitfailure" ,rust-exitfailure-0.5) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-lazy-static" ,rust-lazy-static-1.4) + ("rust-log" ,rust-log-0.4) + ("rust-paste" ,rust-paste-0.1) + ("rust-path-clean" ,rust-path-clean-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-rkv" ,rust-rkv-0.10) + ("rust-ruskqlite" ,rust-rusqlite-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-size-format" ,rust-size-format-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tree-magic-fork" ,rust-tree-magic-fork-0.2) + ("rust-xz2" ,rust-xz2-0.1) + ("rust-zip" ,rust-zip-0.5) + ("rust-zstd" ,rust-zstd-0.5)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1") + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (propagated-inputs + `(("ffmpeg" ,ffmpeg) + ("pandoc" ,pandoc) + ("poppler" ,poppler) + ("ripgrep" ,ripgrep) + ("sqlite" ,sqlite) + ("tar" ,tar) + ("unzip" ,unzip) + ("zip" ,zip))) + (home-page "https://github.com/phiresky/ripgrep-all") + (synopsis "Wrapper around @code{ripgrep} with support for rich file types") + (description + "ripgrep-all (rga) is a line-oriented search tool that allows you to look +for a regex in a multitude of file types. rga wraps @code{ripgrep} and +enables it to search in @file{pdf}, @file{docx}, @file{sqlite}, @file{jpg}, +movie subtitles (@file{mkv}, @file{mp4}), etc.") + (license license:agpl3+))) + (define-public rust-cbindgen (package (name "rust-cbindgen") -- 2.29.1