unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67757@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67757] [PATCH 11/19] gnu: Add rust-grep-printer-0.2.
Date: Sun, 10 Dec 2023 18:06:52 -0500	[thread overview]
Message-ID: <593b3bbfe35c0eecdee5c6493bfad4bb8bd277ca.1702248678.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1702248677.git.jaeme@runbox.com>

* gnu/packages/crates-io.scm (rust-grep-printer-0.2): New variable.

Change-Id: Ic830cbf5125f7419662d28cd61c28ae2da2082ab
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++--------
 1 file changed, 31 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22ee959e6a..f88d76bfe2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33716,8 +33716,38 @@ (define-public rust-grep-pcre2-0.1
     (description "Use PCRE2 with the grep crate.")
     (license (list license:expat license:unlicense))))
 
+(define-public rust-grep-printer-0.2
+  (package
+    (name "rust-grep-printer")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "grep-printer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cnf70gjnybfql0lmpr32dslb4xhxgc6h0dxwnv3ivla7jh14g3l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-grep-matcher" ,rust-grep-matcher-0.1)
+                       ("rust-grep-searcher" ,rust-grep-searcher-0.1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-termcolor" ,rust-termcolor-1))
+       #:cargo-development-inputs
+       (("rust-grep-regex" ,rust-grep-regex-0.1))))
+    (home-page "https://github.com/BurntSushi/ripgrep")
+    (synopsis "Standard printing of search results")
+    (description
+     "This package is an implementation of the grep crate's Sink trait that
+provides standard printing of search results, similar to grep itself.")
+    (license (list license:unlicense license:expat))))
+
 (define-public rust-grep-printer-0.1
   (package
+    (inherit rust-grep-printer-0.2)
     (name "rust-grep-printer")
     (version "0.1.6")
     (source
@@ -33729,7 +33759,6 @@ (define-public rust-grep-printer-0.1
        (sha256
         (base32
          "0wnw8khcvris8canv1dp58qh6vph18fml9qsnrsmdpxf9ni73hh5"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-base64" ,rust-base64-0.13)
@@ -33741,13 +33770,7 @@ (define-public rust-grep-printer-0.1
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-termcolor" ,rust-termcolor-1))
        #:cargo-development-inputs
-       (("rust-grep-regex" ,rust-grep-regex-0.1))))
-    (home-page "https://github.com/BurntSushi/ripgrep")
-    (synopsis "Standard printing of search results")
-    (description
-     "This package is an implementation of the grep crate's Sink trait that
-provides standard printing of search results, similar to grep itself.")
-    (license (list license:unlicense license:expat))))
+       (("rust-grep-regex" ,rust-grep-regex-0.1))))))
 
 (define-public rust-grep-regex-0.1
   (package
-- 
2.41.0





  parent reply	other threads:[~2023-12-10 23:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10 23:01 [bug#67757] [PATCH 00/19 rust-team] gnu: rust-apps: Update ripgrep to 14.0.3 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 01/19] gnu: rust-crossbeam-channel-0.5: Update to 0.5.8 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 02/19] gnu: rust-aho-corasick-1: Update to 1.1.2 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 03/19] gnu: rust-bstr-1: Update to 1.8.0 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 04/19] gnu: rust-globset-0.4: Update to 0.4.14 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 05/19] gnu: rust-serde-1: Update to 1.0.193 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 06/19] gnu: rust-grep-matcher-0.1: Update to 0.1.7 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 07/19] gnu: rust-grep-regex-0.1: Update to 0.1.12 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 08/19] gnu: rust-ignore-0.4: Update to 0.4.21 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 09/19] gnu: Add rust-memmap2-0.9 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 10/19] gnu: rust-grep-searcher-0.1: Update to 0.1.13 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-10 23:06 ` [bug#67757] [PATCH 12/19] gnu: rust-pcre2-sys-0.2: Update to 0.2.7 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 13/19] gnu: rust-pcre2-0.2: Update to 0.2.6 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 14/19] gnu: rust-grep-pcre2-0.1: Update to 0.1.7 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 15/19] gnu: rust-winapi-util-0.1: Update to 0.1.6 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 16/19] gnu: rust-grep-cli-0.1: Update to 0.1.10 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 17/19] gnu: Add rust-grep-0.3 Jaeme Sifat via Guix-patches via
2023-12-10 23:06 ` [bug#67757] [PATCH 18/19] gnu: rust-termcolor-1: Update to 1.4.0 Jaeme Sifat via Guix-patches via
2023-12-10 23:07 ` [bug#67757] [PATCH 19/19] gnu: ripgrep: Update to 14.0.3 Jaeme Sifat via Guix-patches via
2023-12-12 18:10 ` [bug#67757] [PATCH vREVISION " Jaeme Sifat via Guix-patches via
2023-12-21  9:27 ` bug#67757: [PATCH 00/19 rust-team] gnu: rust-apps: Update ripgrep " 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=593b3bbfe35c0eecdee5c6493bfad4bb8bd277ca.1702248678.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=67757@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).