gnu: Add rust-titlecase-1.

* gnu/packages/crates-io.scm (rust-titlecase-1): New variable.
This commit is contained in:
Nicolas Goaziou 2021-02-09 23:23:26 +01:00
parent d7a12a418a
commit 2d832fdd13
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -38230,6 +38230,31 @@ (define-public rust-tinyvec-0.3
"A 100% safe crate of vec-like types.")
(license (list license:zlib license:asl2.0 license:expat))))
(define-public rust-titlecase-1
(package
(name "rust-titlecase")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "titlecase" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))
(home-page "https://github.com/wezm/titlecase")
(synopsis "Tool and Rust crate for transforming text into title case")
(description
"This package provides a tool and library that capitalizes text according
to a style defined by John Gruber for post titles on his website ``Daring
Fireball''.")
(license license:expat)))
(define-public rust-tokio-1
(package
(name "rust-tokio")