gnu: Add rust-titlecase-2.

* gnu/packages/crates-io.scm (rust-titlecase-2): New variable.
(rust-titlecase-1): Inherit from rust-titlecase-2.

Change-Id: I4f779a80e92306926ef21ef2b11c3addfefb1318
This commit is contained in:
Efraim Flashner 2024-03-31 14:23:15 +03:00
parent ada3d8d880
commit 770babcd83
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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