From 40089d62b7ada02541d8aa950324136fa4ababd6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 09:46:40 -0800 Subject: [PATCH 030/263] gnu: Add rust-utf8-ranges-1.0. * gnu/packages/crates-io.scm (rust-utf8-ranges-1.0): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 75dc6952d2..1e0bb32422 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5107,6 +5107,33 @@ untrusted inputs in Rust.") (properties '((hidden? . #t))) (license license:isc))) +(define-public rust-utf8-ranges-1.0 + (package + (name "rust-utf8-ranges") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "utf8-ranges" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ppzjsxmv1p1xfid8wwn07ciikk84k30frl28bwsny6za1vall4x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.8)))) + (home-page + "https://github.com/BurntSushi/utf8-ranges") + (synopsis + "Convert ranges of Unicode codepoints to UTF-8 byte ranges") + (description + "Convert ranges of Unicode codepoints to UTF-8 byte ranges.") + (license `(,license:expat ,license:unlicense)))) + (define-public rust-vcpkg-0.2 (package (name "rust-vcpkg") -- 2.24.1