unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
From: Joseph LaFreniere <joseph@lafreniere.xyz>
To: 44762@debbugs.gnu.org
Cc: Joseph LaFreniere <joseph@lafreniere.xyz>
Subject: [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all.
Date: Fri, 20 Nov 2020 08:27:16 -0600	[thread overview]
Message-ID: <20201120142716.41949-37-joseph@lafreniere.xyz> (raw)
In-Reply-To: <20201120142716.41949-1-joseph@lafreniere.xyz>

* 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





  parent reply	other threads:[~2020-11-20 14:33 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 14:15 [bug#44762] [PATCH 00/37] " Joseph LaFreniere
2020-11-20 14:26 ` [bug#44762] [PATCH 01/37] gnu: Add rust-hashbrown-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 02/37] gnu: rust-anyhow-1.0: Update to 1.0.34 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 03/37] gnu: Add rust-escargot-0.3 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 04/37] gnu: Add rust-predicates-core-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 05/37] gnu: Add rust-predicates-tree-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 06/37] gnu: Add rust-normalize-line-endings-0.2 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 07/37] gnu: Add rust-predicates-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 08/37] gnu: Add rust-assert-cmd-0.9 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 09/37] gnu: Add rust-automod-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 10/37] gnu: Add rust-bincode-0.8 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 11/37] gnu: Add rust-bindgen-0.46 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 12/37] gnu: Add rust-bzip2-0.4 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 13/37] gnu: Add rust-cachedir-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 14/37] gnu: Add rust-cfg-if-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 15/37] gnu: rust-chrono-0.4: Update to 0.4.19 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 16/37] gnu: rust-derive-more-0.99: Update to 0.99.11 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 17/37] gnu: Add rust-dirs-sys-next-0.1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 18/37] gnu: Add rust-dirs-next-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 19/37] gnu: Add rust-directories-next-1 Joseph LaFreniere
2020-11-20 14:26   ` [bug#44762] [PATCH 20/37] gnu: Add rust-exitfailure-0.5 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 21/37] gnu: Add rust-float-cmp-0.4 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 22/37] gnu: Add rust-tabwriter-1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 23/37] gnu: Add rust-size-format-1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 24/37] gnu: Add rust-nom-2 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 25/37] gnu: Add rust-lmdb-rkv-sys-0.11 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 26/37] gnu: Add rust-lmdb-rkv-0.14 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 27/37] gnu: Add rust-libsqlite3-sys-0.18 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 28/37] gnu: Add rust-serde-stacker-0.1 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 29/37] gnu: rust-serde-json-1: Update to 1.0.59 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 30/37] gnu: Add rust-rusqlite-0.23 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 31/37] gnu: Add rust-packed-simd-2-0.3 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 32/37] gnu: Add rust-pure-rust-locales-0.5 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 33/37] gnu: Add rust-rkv-0.10 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 34/37] gnu: Add rust-tree-magic-fork-0.2 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 35/37] gnu: rust-encoding-rs-0.8: Update to 0.8.26 Joseph LaFreniere
2020-11-20 14:27   ` [bug#44762] [PATCH 36/37] gnu: rust-lzma-sys-0.1: Update to 0.1.17 Joseph LaFreniere
2020-11-20 14:27   ` Joseph LaFreniere [this message]
2020-12-12 20:19     ` [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201120142716.41949-37-joseph@lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=44762@debbugs.gnu.org \
    --subject='Re: [bug#44762] [PATCH 37/37] gnu: Add ripgrep-all.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).