guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/299: gnu: Add rust-grep-matcher-0.1.


From: guix-commits
Subject: 20/299: gnu: Add rust-grep-matcher-0.1.
Date: Thu, 2 Jan 2020 13:19:04 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit ef46db38a9527e9bd4b7489d5bed41cf10820955
Author: John Soo <address@hidden>
Date:   Fri Dec 13 22:53:24 2019 -0800

    gnu: Add rust-grep-matcher-0.1.
    
    * gnu/packages/crates-io.scm (rust-grep-matcher-0.1): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a2c40fc..6187a57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1331,6 +1331,34 @@ path simultaneously, and returning all of the globs that 
matched.")
      "Utilities for search oriented command line applications.")
     (license license:expat)))
 
+(define-public rust-grep-matcher-0.1
+  (package
+    (name "rust-grep-matcher")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "grep-matcher" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "03j26zygfgwyam66bl5g922gimrvp4yyzl8qvaykyklnf247bl3r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-memchr" ,rust-memchr-2.2))
+       #:cargo-development-inputs
+       (("rust-regex" ,rust-regex-1.1))))
+    (home-page "https://github.com/BurntSushi/ripgrep";)
+    (synopsis "Trait for regular expressions")
+    (description
+     "This crate provides a low level interface for describing regular
+expression matchers.  The @code{grep} crate uses this interface in order to 
make
+the regex engine it uses pluggable.")
+    (license (list license:expat license:unlicense))))
+
 (define-public rust-grep-pcre2-0.1
   (package
     (name "rust-grep-pcre2")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]