From e95de640464bf4ae4022400c1c02310e3830b548 Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 21:10:31 -0800 Subject: [PATCH 003/206] gnu: Add rust-bstr-0.2. * gnu/packages/crates-io.scm (rust-bstr-0.2): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ec0e7b50d0..a9c4efd957 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -244,6 +244,38 @@ behave like a set of bitflags.") (license (list license:asl2.0 license:expat)))) +(define-public rust-bstr-0.2 + (package + (name "rust-bstr") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bstr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0prq6yk3da0k5bg2czcgg1i4ynsq1l59xc89ycsv6v7p08p5gh3c")))) + (build-system cargo-build-system) + ;; (arguments + ;; `(#:cargo-inputs + ;; (("rust-lazy-static" ,rust-lazy-static-1.3) + ;; ("rust-memchr" ,rust-memchr) + ;; ("rust-regex-automata" ,rust-regex-automata) + ;; ("rust-serde" ,rust-serde-1.0)) + ;; #:cargo-development-inputs + ;; (("rust-quickcheck" ,rust-quickcheck) + ;; ("rust-ucd-parse" ,rust-ucd-parse) + ;; ("rust-unicode-segmentation" ,rust-unicode-segmentation)))) + (home-page "https://github.com/BurntSushi/bstr") + (synopsis + "String type that is not required to be valid UTF-8") + (description + "This package provides a string type that is not required to be valid +UTF-8.") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-bstr-0.1 (package (name "rust-bstr") -- 2.24.0