gnu: Add rust-anstyle-1.
* gnu/packages/crates-io.scm (rust-anstyle-1): New variable. (rust-anstyle-0.2): Inherit from rust-anstyle-1.
parent
3e01ee857a
commit
6ed8cbaf2b
|
@ -3062,8 +3062,29 @@ it outputs messages to Android's logcat.")
|
||||||
escape codes.")
|
escape codes.")
|
||||||
(license license:mpl2.0)))
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-anstyle-1
|
||||||
|
(package
|
||||||
|
(name "rust-anstyle")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "anstyle" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zbazbfqs4mfw93573f61iy8c78vbbv824m3w206bbljpy39mva1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-development-inputs
|
||||||
|
(("rust-lexopt" ,rust-lexopt-0.3))))
|
||||||
|
(home-page "https://github.com/rust-cli/anstyle")
|
||||||
|
(synopsis "ANSI text styling")
|
||||||
|
(description "This package provides ANSI text styling.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-anstyle-0.2
|
(define-public rust-anstyle-0.2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-anstyle-1)
|
||||||
(name "rust-anstyle")
|
(name "rust-anstyle")
|
||||||
(version "0.2.8")
|
(version "0.2.8")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -3073,14 +3094,9 @@ escape codes.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"10kdjcyks9hcvmhk44afagnrxi4pczg6jnldjdadzbi4kyi2wqah"))))
|
"10kdjcyks9hcvmhk44afagnrxi4pczg6jnldjdadzbi4kyi2wqah"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-development-inputs
|
`(#:cargo-development-inputs
|
||||||
(("rust-lexopt" ,rust-lexopt-0.3))))
|
(("rust-lexopt" ,rust-lexopt-0.3))))))
|
||||||
(home-page "https://github.com/rust-cli/anstyle")
|
|
||||||
(synopsis "ANSI text styling")
|
|
||||||
(description "This package provides ANSI text styling.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-anstyle-parse-0.2
|
(define-public rust-anstyle-parse-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue