diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae618ce601..f01ee03478 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -78989,8 +78989,33 @@ (define-public rust-tinyvec-macros-0.1 containers.") (license (list license:expat license:asl2.0 license:zlib)))) +(define-public rust-titlecase-2 + (package + (name "rust-titlecase") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "titlecase" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hi0hkh2x78rvq7rhdgdzsgwcnlpvvb59hgnifsgwz01vf67lf9q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-joinery" ,rust-joinery-2) + ("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-titlecase-1 (package + (inherit rust-titlecase-2) (name "rust-titlecase") (version "1.1.0") (source @@ -79000,19 +79025,10 @@ (define-public rust-titlecase-1 (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))) + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))))) (define-public rust-to-shmem-0.0.0 (package