[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67757] [PATCH 17/19] gnu: Add rust-grep-0.3.
From: |
Jaeme Sifat |
Subject: |
[bug#67757] [PATCH 17/19] gnu: Add rust-grep-0.3. |
Date: |
Sun, 10 Dec 2023 18:06:58 -0500 |
* gnu/packages/crates-io.scm (rust-grep-0.3): New variable.
* gnu/packages/crates-io.scm (rust-grep-0.2): Inherit from rust-grep-0.3.
Change-Id: I700326d84c3fee7d364fd4e4d783b9a2cd0a5581
---
gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c280e7026f..a9b41f34d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33600,8 +33600,37 @@ (define-public rust-greetd-ipc-0.8
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-1))))))
+(define-public rust-grep-0.3
+ (package
+ (name "rust-grep")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "grep" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fa9x7q3l5z0bg91wzw1jfpk5rmh60h8bswbsxjcp1p6q5704avf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-grep-cli" ,rust-grep-cli-0.1)
+ ("rust-grep-matcher" ,rust-grep-matcher-0.1)
+ ("rust-grep-pcre2" ,rust-grep-pcre2-0.1)
+ ("rust-grep-printer" ,rust-grep-printer-0.2)
+ ("rust-grep-regex" ,rust-grep-regex-0.1)
+ ("rust-grep-searcher" ,rust-grep-searcher-0.1))
+ #:cargo-development-inputs (("rust-termcolor" ,rust-termcolor-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
+ (home-page
+ "https://github.com/BurntSushi/ripgrep/tree/master/crates/grep")
+ (synopsis "Line oriented regex searching as a library")
+ (description
+ "Fast line oriented regex searching as a library.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-grep-0.2
(package
+ (inherit rust-grep-0.3)
(name "rust-grep")
(version "0.2.8")
(source
@@ -33613,10 +33642,8 @@ (define-public rust-grep-0.2
(sha256
(base32
"0mw61v132ng0nbz5ygb6jvsx729772803w5bv3zs4i8baq689jsi"))))
- (build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-grep-cli" ,rust-grep-cli-0.1)
("rust-grep-matcher" ,rust-grep-matcher-0.1)
("rust-grep-pcre2" ,rust-grep-pcre2-0.1)
@@ -33625,12 +33652,7 @@ (define-public rust-grep-0.2
("rust-grep-searcher" ,rust-grep-searcher-0.1))
#:cargo-development-inputs
(("rust-termcolor" ,rust-termcolor-1)
- ("rust-walkdir" ,rust-walkdir-2))))
- (home-page "https://github.com/BurntSushi/ripgrep")
- (synopsis "Line oriented regex searching as a library")
- (description
- "Fast line oriented regex searching as a library.")
- (license (list license:unlicense license:expat))))
+ ("rust-walkdir" ,rust-walkdir-2))))))
(define-public rust-grep-cli-0.1
(package
--
2.41.0
- [bug#67757] [PATCH 08/19] gnu: rust-ignore-0.4: Update to 0.4.21., (continued)
- [bug#67757] [PATCH 08/19] gnu: rust-ignore-0.4: Update to 0.4.21., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 05/19] gnu: rust-serde-1: Update to 1.0.193., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 07/19] gnu: rust-grep-regex-0.1: Update to 0.1.12., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 11/19] gnu: Add rust-grep-printer-0.2., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 10/19] gnu: rust-grep-searcher-0.1: Update to 0.1.13., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 14/19] gnu: rust-grep-pcre2-0.1: Update to 0.1.7., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 12/19] gnu: rust-pcre2-sys-0.2: Update to 0.2.7., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 13/19] gnu: rust-pcre2-0.2: Update to 0.2.6., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 15/19] gnu: rust-winapi-util-0.1: Update to 0.1.6., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 16/19] gnu: rust-grep-cli-0.1: Update to 0.1.10., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 17/19] gnu: Add rust-grep-0.3.,
Jaeme Sifat <=
- [bug#67757] [PATCH 19/19] gnu: ripgrep: Update to 14.0.3., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH 18/19] gnu: rust-termcolor-1: Update to 1.4.0., Jaeme Sifat, 2023/12/10
- [bug#67757] [PATCH vREVISION 19/19] gnu: ripgrep: Update to 14.0.3., Jaeme Sifat, 2023/12/12
- bug#67757: [PATCH 00/19 rust-team] gnu: rust-apps: Update ripgrep to 14.0.3, Efraim Flashner, 2023/12/21