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:
parent
ada3d8d880
commit
770babcd83
1 changed files with 27 additions and 11 deletions
|
@ -78989,8 +78989,33 @@ C library.")
|
||||||
containers.")
|
containers.")
|
||||||
(license (list license:expat license:asl2.0 license:zlib))))
|
(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
|
(define-public rust-titlecase-1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-titlecase-2)
|
||||||
(name "rust-titlecase")
|
(name "rust-titlecase")
|
||||||
(version "1.1.0")
|
(version "1.1.0")
|
||||||
(source
|
(source
|
||||||
|
@ -79000,19 +79025,10 @@ containers.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm"))))
|
(base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
(("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-regex" ,rust-regex-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-to-shmem-0.0.0
|
(define-public rust-to-shmem-0.0.0
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue