@@ 1,83 0,0 @@
-(define-module (ruther packages ripgrep-all)
- #:use-module (srfi srfi-26)
- #:use-module ((guix licenses) #:prefix license:)
- #:use-module (guix utils)
-
- #:use-module (guix gexp)
- #:use-module (guix packages)
-
- #:use-module (guix git-download)
- #:use-module (guix download)
-
- #:use-module (gnu packages video)
- #:use-module (gnu packages sqlite)
- #:use-module (gnu packages haskell-xyz)
- #:use-module (gnu packages pdf)
- #:use-module (gnu packages rust-apps)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages terminals)
- #:use-module (gnu packages pkg-config)
-
- #:use-module (guix build-system cargo)
- #:use-module (ruther packages rust-crates))
-
-
-(define-public ripgrep-all
- (let ((wrap-paths
- (list "ffmpeg"
- "pandoc"
- "poppler"
- "ripgrep"
- "zip"
- "fzf")))
- (package
- (name "ripgrep-all")
- (version "0.10.9")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/phiresky/ripgrep-all")
- (commit (string-append "v" version))))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32 "1cks8b9z8fl1rs2xgklgsis79w9bylfmxxvns2adwsiilkpsxzxg"))))
- (build-system cargo-build-system)
- (native-inputs
- (list
- pkg-config
- xz))
- (inputs
- `((,zstd "lib")
- ,sqlite
- ,(@ (gnu packages video) ffmpeg)
- ,pandoc
- ,poppler
- ,ripgrep
- ,zip
- ,fzf
- ,@(my-cargo-inputs 'ripgrep-all)))
- (arguments
- (list
- #:install-source? #f
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'wrap-with-path
- (lambda* _
- (let* ((bin-dir (string-append #$output "/bin/"))
- (wrap-bin-folders
- (map (lambda (pkg) (string-append pkg "/bin"))
- '#$(map (cut this-package-input <>) wrap-paths)))
- (wrap-bin-path (string-join wrap-bin-folders ":")))
- (for-each (lambda (bin)
- (wrap-program bin
- `("PATH" ":" prefix
- (,wrap-bin-path)))) (find-files bin-dir))))))))
- (home-page "https://github.com/phiresky/ripgrep-all")
- (synopsis
- "rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc")
- (description
- "This package provides rga, rga is a line-oriented search tool that allows you to look
-for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables
-it to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.")
- (license license:agpl3+))))
@@ 2696,248 2696,6 @@
rust-windows-x86-64-gnu-0.48.5
rust-windows-x86-64-gnullvm-0.48.5
rust-windows-x86-64-msvc-0.48.5))
- (ripgrep-all =>
- (list rust-addr2line-0.24.2
- rust-adler2-2.0.0
- rust-ahash-0.8.11
- rust-aho-corasick-1.1.3
- rust-alloc-no-stdlib-2.0.4
- rust-alloc-stdlib-0.2.2
- rust-allocator-api2-0.2.21
- rust-android-tzdata-0.1.1
- rust-android-system-properties-0.1.5
- rust-ansi-term-0.12.1
- rust-anstream-0.6.18
- rust-anstyle-1.0.10
- rust-anstyle-parse-0.2.6
- rust-anstyle-query-1.1.2
- rust-anstyle-wincon-3.0.7
- rust-anyhow-1.0.96
- rust-astral-tokio-tar-0.5.1
- rust-async-compression-0.3.15
- rust-async-compression-0.4.19
- rust-async-recursion-1.1.1
- rust-async-stream-0.3.6
- rust-async-stream-impl-0.3.6
- rust-async-trait-0.1.86
- rust-async-zip-0.0.12
- rust-atty-0.2.14
- rust-autocfg-1.4.0
- rust-backtrace-0.3.74
- rust-base64-0.22.1
- rust-bincode-1.3.3
- rust-bitflags-1.3.2
- rust-bitflags-2.9.0
- rust-brotli-7.0.0
- rust-brotli-decompressor-4.0.2
- rust-bumpalo-3.17.0
- rust-bytes-1.10.0
- rust-bzip2-0.4.4
- rust-bzip2-0.5.2
- rust-bzip2-sys-0.1.13+1.0.8
- rust-cc-1.2.16
- rust-cfg-if-1.0.0
- rust-charset-0.1.5
- rust-chrono-0.4.40
- rust-clap-2.34.0
- rust-clap-4.5.31
- rust-clap-builder-4.5.31
- rust-clap-lex-0.7.4
- rust-colorchoice-1.0.3
- rust-convert-case-0.4.0
- rust-core-foundation-sys-0.8.7
- rust-crc32fast-1.4.2
- rust-crossbeam-0.8.4
- rust-crossbeam-channel-0.5.14
- rust-crossbeam-deque-0.8.6
- rust-crossbeam-epoch-0.9.18
- rust-crossbeam-queue-0.3.12
- rust-crossbeam-utils-0.8.21
- rust-ctor-0.2.9
- rust-data-encoding-2.8.0
- rust-deflate64-0.1.9
- rust-derive-more-0.99.19
- rust-diff-0.1.13
- rust-directories-next-2.0.0
- rust-dirs-sys-next-0.1.2
- rust-dyn-clonable-0.9.2
- rust-dyn-clonable-impl-0.9.2
- rust-dyn-clone-1.0.18
- rust-encoding-rs-0.8.35
- rust-encoding-rs-io-0.1.7
- rust-env-logger-0.10.2
- rust-equivalent-1.0.2
- rust-errno-0.3.10
- rust-fallible-iterator-0.3.0
- rust-fallible-streaming-iterator-0.1.9
- rust-fastrand-2.3.0
- rust-filetime-0.2.25
- rust-fixedbitset-0.4.2
- rust-flate2-1.1.0
- rust-fnv-1.0.7
- rust-futures-core-0.3.31
- rust-futures-io-0.3.31
- rust-futures-macro-0.3.31
- rust-futures-sink-0.3.31
- rust-futures-task-0.3.31
- rust-futures-util-0.3.31
- rust-generic-array-0.12.4
- rust-getopts-0.2.21
- rust-getrandom-0.2.15
- rust-getrandom-0.3.1
- rust-gimli-0.31.1
- rust-glob-0.3.2
- rust-hashbrown-0.12.3
- rust-hashbrown-0.14.5
- rust-hashbrown-0.15.2
- rust-hashlink-0.8.4
- rust-heck-0.3.3
- rust-hermit-abi-0.1.19
- rust-hermit-abi-0.4.0
- rust-humantime-2.1.0
- rust-iana-time-zone-0.1.61
- rust-iana-time-zone-haiku-0.1.2
- rust-indexmap-1.9.3
- rust-indexmap-2.7.1
- rust-is-docker-0.2.0
- rust-is-terminal-0.4.15
- rust-is-wsl-0.4.0
- rust-is-terminal-polyfill-1.70.1
- rust-itoa-1.0.14
- rust-jobserver-0.1.32
- rust-js-sys-0.3.77
- rust-json-comments-0.2.2
- rust-lazy-static-1.5.0
- rust-libc-0.2.170
- rust-libredox-0.1.3
- rust-libsqlite3-sys-0.27.0
- rust-linux-raw-sys-0.4.15
- rust-lock-api-0.4.12
- rust-log-0.4.26
- rust-lzma-sys-0.1.20
- rust-mailparse-0.14.1
- rust-memchr-2.7.4
- rust-mime2ext-0.1.53
- rust-minimal-lexical-0.2.1
- rust-miniz-oxide-0.8.5
- rust-mio-1.0.3
- rust-nom-7.1.3
- rust-num-0.2.1
- rust-num-complex-0.2.4
- rust-num-integer-0.1.46
- rust-num-iter-0.1.45
- rust-num-rational-0.2.4
- rust-num-traits-0.2.19
- rust-object-0.36.7
- rust-once-cell-1.20.3
- rust-open-5.3.2
- rust-parking-lot-0.12.3
- rust-parking-lot-core-0.9.10
- rust-paste-1.0.15
- rust-path-clean-1.0.1
- rust-pathdiff-0.2.3
- rust-petgraph-0.6.5
- rust-pin-project-1.1.9
- rust-pin-project-internal-1.1.9
- rust-pin-project-lite-0.2.16
- rust-pin-utils-0.1.0
- rust-pkg-config-0.3.31
- rust-portable-atomic-1.11.0
- rust-pretty-bytes-0.2.2
- rust-pretty-assertions-1.4.1
- rust-proc-macro-error-1.0.4
- rust-proc-macro-error-attr-1.0.4
- rust-proc-macro2-1.0.93
- rust-quote-1.0.38
- rust-quoted-printable-0.5.1
- rust-redox-syscall-0.5.9
- rust-redox-users-0.4.6
- rust-regex-1.11.1
- rust-regex-automata-0.4.9
- rust-regex-syntax-0.8.5
- rust-rusqlite-0.30.0
- rust-rustc-demangle-0.1.24
- rust-rustc-hash-2.1.1
- rust-rustc-version-0.4.1
- rust-rustix-0.38.44
- rust-rustversion-1.0.19
- rust-ryu-1.0.19
- rust-schemars-0.8.22
- rust-schemars-derive-0.8.22
- rust-scopeguard-1.2.0
- rust-semver-1.0.25
- rust-serde-1.0.218
- rust-serde-derive-1.0.218
- rust-serde-derive-internals-0.29.1
- rust-serde-json-1.0.139
- rust-shlex-1.3.0
- rust-signal-hook-registry-1.4.2
- rust-size-format-1.0.2
- rust-slab-0.4.9
- rust-smallvec-1.14.0
- rust-socket2-0.5.8
- rust-strsim-0.8.0
- rust-strsim-0.11.1
- rust-structopt-0.3.26
- rust-structopt-derive-0.4.18
- rust-syn-1.0.109
- rust-syn-2.0.98
- rust-tempfile-3.17.1
- rust-termcolor-1.4.1
- rust-terminal-size-0.4.1
- rust-textwrap-0.11.0
- rust-thiserror-1.0.69
- rust-thiserror-impl-1.0.69
- rust-tokio-1.43.0
- rust-tokio-macros-2.5.0
- rust-tokio-rusqlite-0.5.0
- rust-tokio-stream-0.1.17
- rust-tokio-test-0.4.4
- rust-tokio-util-0.7.13
- rust-tree-magic-mini-3.1.6
- rust-typenum-1.18.0
- rust-unicode-ident-1.0.17
- rust-unicode-segmentation-1.12.0
- rust-unicode-width-0.1.14
- rust-utf8parse-0.2.2
- rust-vcpkg-0.2.15
- rust-vec-map-0.8.2
- rust-version-check-0.9.5
- rust-wasi-0.11.0+wasi-snapshot-preview1
- rust-wasi-0.13.3+wasi-0.2.2
- rust-wasm-bindgen-0.2.100
- rust-wasm-bindgen-backend-0.2.100
- rust-wasm-bindgen-macro-0.2.100
- rust-wasm-bindgen-macro-support-0.2.100
- rust-wasm-bindgen-shared-0.2.100
- rust-winapi-0.3.9
- rust-winapi-i686-pc-windows-gnu-0.4.0
- rust-winapi-util-0.1.9
- rust-winapi-x86-64-pc-windows-gnu-0.4.0
- rust-windows-core-0.52.0
- rust-windows-link-0.1.0
- rust-windows-sys-0.52.0
- rust-windows-sys-0.59.0
- rust-windows-targets-0.52.6
- rust-windows-aarch64-gnullvm-0.52.6
- rust-windows-aarch64-msvc-0.52.6
- rust-windows-i686-gnu-0.52.6
- rust-windows-i686-gnullvm-0.52.6
- rust-windows-i686-msvc-0.52.6
- rust-windows-x86-64-gnu-0.52.6
- rust-windows-x86-64-gnullvm-0.52.6
- rust-windows-x86-64-msvc-0.52.6
- rust-wit-bindgen-rt-0.33.0
- rust-xattr-1.4.0
- rust-xz2-0.1.7
- rust-yansi-1.0.1
- rust-zerocopy-0.7.35
- rust-zerocopy-derive-0.7.35
- rust-zstd-0.11.2+zstd.1.5.2
- rust-zstd-0.13.3
- rust-zstd-safe-5.0.2+zstd.1.5.2
- rust-zstd-safe-7.2.3
- rust-zstd-sys-2.0.14+zstd.1.5.7))
(sequence-detector =>
(list rust-ahash-0.7.6
rust-anstream-0.3.2