From patchwork Sun Dec 13 14:05:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 25753 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 475DA27BC04; Sun, 13 Dec 2020 17:24:31 +0000 (GMT) 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, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable 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 7EAF227BC05 for ; Sun, 13 Dec 2020 17:24:25 +0000 (GMT) Received: from localhost ([::1]:54108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koV6d-0004as-IE for patchwork@mira.cbaines.net; Sun, 13 Dec 2020 12:24:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koV6I-0004Tt-PM for guix-patches@gnu.org; Sun, 13 Dec 2020 12:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koV6I-00010C-H2 for guix-patches@gnu.org; Sun, 13 Dec 2020 12:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koV6I-0001T6-E8 for guix-patches@gnu.org; Sun, 13 Dec 2020 12:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45223] [PATCH] gnu: Add ripgrep. Resent-From: Z572 <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Dec 2020 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45223 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45223@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16078802365622 (code B ref -1); Sun, 13 Dec 2020 17:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 17:23:56 +0000 Received: from localhost ([127.0.0.1]:50001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koV66-0001SV-HL for submit@debbugs.gnu.org; Sun, 13 Dec 2020 12:23:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:43432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1koS0i-00043b-3s for submit@debbugs.gnu.org; Sun, 13 Dec 2020 09:06:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1koS0h-0005oo-Um for guix-patches@gnu.org; Sun, 13 Dec 2020 09:06:03 -0500 Received: from out203-205-221-202.mail.qq.com ([203.205.221.202]:45027 helo=qq.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <873216071@qq.com>) id 1koS0A-0002QH-JR for guix-patches@gnu.org; Sun, 13 Dec 2020 09:05:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1607868312; bh=voUtvPbpFzGBmRRMVA/6QEsmeFaXwNMOSQgsQZP+b58=; h=From:To:Subject:Date; b=U9eyVoO5XFRn8rkrSNwIR9BmYAjzK+BY79GflI14eB9Ed5E2QeqKsAdVhBXuXvqPF P5n8T0kXPT5ck+aVnBxdL3bbRd8ArVr3MBpE+RxjH2pjN7TFPFE1f6BrIF6SqiQ5Jn EJCFE/fUIGJt+RZ6JXUA9pjPLxh4OaEXFTPBPsHE= Received: from Z572 ([112.10.13.32]) by newxmesmtplogicsvrszc6.qq.com (NewEsmtp) with SMTP id 149808DE; Sun, 13 Dec 2020 22:05:09 +0800 X-QQ-mid: xmsmtpt1607868309tdr4ykiyo Message-ID: X-QQ-XMAILINFO: Od6CeO/j0sUeXKtEC5Bvb6XRTl9kU2PehtCZCmLYOA6xTfgeADmUfBJD5/HL4G xE8KIbmQ8alnC3aeMi6/A6VrI2S0pBXBJs65G5m/3giTGS1EAvggiyUyEuvOqmNtsTjwaB7FMuX7 vtq9N1z6FMM/jxQWV1o1T7Jk4VhAvE9tz2yLlDp1rE1QT8dWhTbr88WFug2a8lE1i0l0KGie47p9 zCGB9EWpws9ZIfVOaR/HTYB7+bwz//g39ovwtBxUTNbGRco901hbhJw3gH/gJCTYSmA18YRoc0TV dj/qRZB7Dk3JFmTdP/MrENR7ToFoDuoRq7f/0ZF3B0k5zVgJMEWZy8GBhr4Ew1dA8zMvjGspMmUK bNBj7TEf4yhxH3uesoWpxvC+N0SAWS7op4NAw5bxQ2QriQqWRpzzu83IuyPJ7FMvJjMyzqgdo87F chxUrzjQkUSvm3oEe7eKPX2IhgssolvSRfwCUpWwOylb7khh2/vPxL8356biXJrsrvh4Z8Ab/C+T V3flbsKzM+17yg1v5r5SmoaBzQZuSC5KhMLPqYj3UKorNsrW7ENo9ZjaY6p77120IKk/hPME3hD1 tXRp1RvNa1k3JlF0LbAyF4qSI8ZXLZYvPteLW4qJd4JrdJVfaJAYFBIgdqU2HpzuSy6Oqv3txQvE Q3tu1YjisiCNCPcNb69swR5Fk= From: Z572 <873216071@qq.com> Date: Sun, 13 Dec 2020 22:05:09 +0800 Message-ID: <87o8ix244q.fsf@qq.com> MIME-Version: 1.0 Content-Disposition: attachment; filename=ripgrep-all.patch Received-SPF: pass client-ip=203.205.221.202; envelope-from=873216071@qq.com; helo=qq.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 13 Dec 2020 12:23:50 -0500 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" X-getmail-retrieved-from-mailbox: Patches diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6f71cf6398..d50473174f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 André Batista ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020 Antoine Côté +;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35488,3 +35489,413 @@ formatters with per-field documentation generated for each structure. (description "Generate Rust register maps (`struct`s) from SVD files") (license (list license:expat license:asl2.0)))) + +(define-public rust-tabwriter-1 + (package + (name "rust-tabwriter") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tabwriter" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "048i0mj3b07zlry9m5fl706y5bzdzgrswymqn32drakzk7y5q81n")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/BurntSushi/tabwriter") + (synopsis "Elastic tabstops.") + (description "Elastic tabstops.") + (license (list license:unlicense license:expat)))) + +(define-public rust-nom-2 + (package + (name "rust-nom") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nom" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-0.2) + ("rust-regex" ,rust-regex-0.2)))) + (home-page "https://github.com/Geal/nom") + (synopsis + "A byte-oriented, zero-copy, parser combinators library") + (description + "This package provides a byte-oriented, zero-copy, parser combinators library") + (license license:expat))) + +(define-public rust-tree-magic-fork-0.2 + (package + (name "rust-tree-magic-fork") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree_magic_fork" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bqkd17ih1ixlarjw8p5h5q584j681vmwg1zkww873w2kg523fda")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-clap" ,rust-clap-2) + ("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.8) + ("rust-petgraph" ,rust-petgraph-0.4) + ("rust-scoped-threadpool" + ,rust-scoped-threadpool-0.1) + ("rust-tabwriter" ,rust-tabwriter-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/phiresky/tree_magic") + (synopsis + "Determines the MIME type of a file by traversing a filetype tree.") + (description + "Determines the MIME type of a file by traversing a filetype tree.") + (license license:expat))) + +(define-public rust-size-format-1 + (package + (name "rust-size-format") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "size_format" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fxjl0rc0x7yc14x885dh7jjf2jrlhpwf66akp3dxii246mzdmbf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.12) + ("rust-num" ,rust-num-0.2)))) + (home-page "https://github.com/aticu/size_format") + (synopsis + "Allows for easier formatting of sizes.") + (description + "Allows for easier formatting of sizes.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-indexmap-1 + (package + (name "rust-indexmap") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "indexmap" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wi8l3y2f3k4c2azaf3jm3pw2sksm90rzgv18x1a0lxacp3y9qjm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-autocfg" ,rust-autocfg-1.0) + ("rust-hashbrown" ,rust-hashbrown-0.9) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/bluss/indexmap") + (synopsis + "A hash table with consistent order and fast iteration. + +The indexmap is a hash table where the iteration order of the key-value +pairs is independent of the hash values of the keys. It has the usual +hash table functionality, it preserves insertion order except after +removals, and it allows lookup of its elements by either hash table key +or numerical index. A corresponding hash set type is also provided. + +This crate was initially published under the name ordermap, but it was renamed to +indexmap. +") + (description + "This package provides a hash table with consistent order and fast iteration. + +The indexmap is a hash table where the iteration order of the key-value +pairs is independent of the hash values of the keys. It has the usual +hash table functionality, it preserves insertion order except after +removals, and it allows lookup of its elements by either hash table key +or numerical index. A corresponding hash set type is also provided. + +This crate was initially published under the name ordermap, but it was renamed to +indexmap. +") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-serde-json-1 + (package + (name "rust-serde-json") + (version "1.0.60") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_json" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yapc7xxk8dx12691yj0l13008rgvknmc6krvk8jwj7y4x6yh00m")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-indexmap" ,rust-indexmap-1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-ryu" ,rust-ryu-1.0) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/serde-rs/json") + (synopsis "A JSON serialization file format") + (description + "This package provides a JSON serialization file format") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libsqlite3-sys-0.18 + (package + (name "rust-libsqlite3-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ggpbnis0rci97ln628y2v6pkgfhb6zgc8rsp444mkdfph14lw0y")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.53) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis + "Native bindings to the libsqlite3 library") + (description + "Native bindings to the libsqlite3 library") + (license license:expat))) + +(define-public rust-rusqlite-0.23 + (package + (name "rust-rusqlite") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12z5584sylfqg7v2fyiycahyg0hf186v8v2ff5ad4qyzw5igvl25")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1.1) + ("rust-fallible-iterator" + ,rust-fallible-iterator-0.2) + ("rust-fallible-streaming-iterator" + ,rust-fallible-streaming-iterator-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.18) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Ergonomic wrapper for SQLite") + (description "Ergonomic wrapper for SQLite") + (license license:expat))) + +(define-public rust-lmdb-rkv-sys-0.11 + (package + (name "rust-lmdb-rkv-sys") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb-rkv-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1994mvbdxkvq6c3z9npv1zjpvrhvpk9zry3azgyklyqn4nn70x5j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.53) + ("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/mozilla/lmdb-rs") + (synopsis "Rust bindings for liblmdb.") + (description "Rust bindings for liblmdb.") + (license license:asl2.0))) + +(define-public rust-lmdb-rkv-0.14 + (package + (name "rust-lmdb-rkv") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb-rkv" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0aylp9j3s34cgxfj3dszcnplj5a594ylykhgnpxrqafag9pjjyj4")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-lmdb-rkv-sys" ,rust-lmdb-rkv-sys-0.11)))) + (home-page "https://github.com/mozilla/lmdb-rs") + (synopsis "Idiomatic and safe LMDB wrapper.") + (description "Idiomatic and safe LMDB wrapper.") + (license license:asl2.0))) + +(define-public rust-rkv-0.10 + (package + (name "rust-rkv") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rkv" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14v7izkpwvk4ag8p9machzjq2v10xwimy5ylbra744wpyk0xp8rh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-bincode" ,rust-bincode-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-failure" ,rust-failure-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lmdb-rkv" ,rust-lmdb-rkv-0.14) + ("rust-ordered-float" ,rust-ordered-float-1.0) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/mozilla/rkv") + (synopsis + "A simple, humane, typed key-value storage solution") + (description + "This package provides a simple, humane, typed key-value storage solution") + (license license:asl2.0))) + +(define-public rust-packed-simd-2-0.3 + (package + (name "rust-packed-simd-2") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "packed_simd_2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05wsm2yxxpwww6a74hi8l80qszisfar5d7whf2pd87wn5x4y0y1j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-core-arch" ,rust-core-arch-0.1) + ("rust-libm" ,rust-libm-0.1) + ("rust-sleef-sys" ,rust-sleef-sys-0.1)))) + (home-page + "https://github.com/rust-lang-nursery/packed_simd") + (synopsis "Portable Packed SIMD vectors") + (description "Portable Packed SIMD vectors") + (license (list license:expat license:asl2.0)))) + +(define-public rust-encoding-rs-0.8 + (package + (name "rust-encoding-rs") + (version "0.8.26") + (source + (origin + (method url-fetch) + (uri (crate-uri "encoding_rs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10xjcafwbxvm2kfsyymxlz8wc9s4bmdj1xzlc809rxyp2yrbl6w0")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://docs.rs/encoding_rs/") + (synopsis + "A Gecko-oriented implementation of the Encoding Standard") + (description + "This package provides a Gecko-oriented implementation of the Encoding Standard") + (license (list license:asl2.0 license:expat)))) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index c3d1d3bb26..9053ce2608 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Mark H Weaver ;;; Copyright © 2020 Gabriel Arazas ;;; Copyright © 2020 Nicolas Goaziou +;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,7 +37,10 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) - #:use-module (gnu packages version-control)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages pdf) + #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages base)) (define-public bat (package @@ -341,6 +345,69 @@ 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 "ripgrep-all" 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.3) + ("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) + ("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-rusqlite" ,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)))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) + (propagated-inputs + `(("pandoc" ,pandoc) + ("poppler" ,poppler) + ("zip" ,zip) + ("tar" ,tar))) + (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 + "rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.") + (license license:agpl3))) + (define-public rust-cbindgen (package (name "rust-cbindgen")