[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/299: gnu: Add rust-memchr-2.2.
From: |
guix-commits |
Subject: |
09/299: gnu: Add rust-memchr-2.2. |
Date: |
Thu, 2 Jan 2020 13:19:01 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 73dd517dfc4b025fd826301bd5113511d5bb8358
Author: John Soo <address@hidden>
Date: Fri Dec 13 22:00:54 2019 -0800
gnu: Add rust-memchr-2.2.
* gnu/packages/crates-io.scm (rust-memchr-2.2): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6296ce2..52b9429 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1805,6 +1805,32 @@ whether an expression matches a pattern.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-memchr-2.2
+ (package
+ (name "rust-memchr")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memchr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0f8wdra7yaggsr4jzlrvpd8yknnqhd990iijdr6llgc8gk2ppz1f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.8))))
+ (home-page
+ "https://github.com/BurntSushi/rust-memchr")
+ (synopsis "Safe interface to memchr")
+ (description "Safe interface to memchr.")
+ (license (list license:expat license:unlicense))))
+
(define-public rust-memmap-0.7
(package
(name "rust-memmap")
@@ -3048,7 +3074,7 @@ system calls.")
"1pabajpp0wzb7dm2x32gy8w7k0mwykr6zsvzn0fgpr6pww40hbqb"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build #t
+ `(#:skip-build? #t
#:cargo-inputs
(("rust-aho-corasick" ,rust-aho-corasick-0.7)
("rust-memchr" ,rust-memchr-2.2)
@@ -3061,8 +3087,7 @@ system calls.")
("rust-quickcheck" ,rust-quickcheck-0.8)
("rust-rand" ,rust-rand-0.4))))
(home-page "https://github.com/rust-lang/regex")
- (synopsis
- "Regular expressions for Rust")
+ (synopsis "Regular expressions for Rust")
(description
"An implementation of regular expressions for Rust. This implementation
uses finite automata and guarantees linear time matching on all inputs.")
- branch master updated (70848cd -> 2d41d86), guix-commits, 2020/01/02
- 01/299: gnu: Add rust-bstr-0.1., guix-commits, 2020/01/02
- 04/299: gnu: Add rust-serde-test-1.0., guix-commits, 2020/01/02
- 02/299: gnu: Add rust-bstr-0.2., guix-commits, 2020/01/02
- 03/299: gnu: Add rust-globset-0.4., guix-commits, 2020/01/02
- 06/299: gnu: Add rust-grep-cli-0.1., guix-commits, 2020/01/02
- 07/299: gnu: Add rust-pcre2-0.2., guix-commits, 2020/01/02
- 10/299: gnu: Add rust-memchr-1.0., guix-commits, 2020/01/02
- 09/299: gnu: Add rust-memchr-2.2.,
guix-commits <=
- 13/299: gnu: Add rust-humantime-1.2., guix-commits, 2020/01/02
- 18/299: gnu: Add rust-quickcheck-0.8., guix-commits, 2020/01/02
- 20/299: gnu: Add rust-grep-matcher-0.1., guix-commits, 2020/01/02
- 23/299: gnu: Add rust-either-1.5., guix-commits, 2020/01/02
- 16/299: gnu: Add rust-rand-core-0.5., guix-commits, 2020/01/02
- 21/299: gnu: Add rust-byteorder-1.3., guix-commits, 2020/01/02
- 15/299: gnu: Add rust-env-logger-0.6., guix-commits, 2020/01/02
- 22/299: gnu: Add rust-cast-0.2., guix-commits, 2020/01/02
- 27/299: gnu: Add rust-criterion-plot-0.3., guix-commits, 2020/01/02
- 25/299: gnu: Add rust-itertools-num-0.1., guix-commits, 2020/01/02