me
/
guix
Archived
1
0
Fork 0

gnu: rust-cfg-expr: Add 0.10.3.

* gnu/packages/crates-io.scm (rust-cfg-expr-0.10): New variable.
(rust-cfg-expr-0.8): Inherit from it.
master
Marius Bakke 2022-07-24 00:55:48 +02:00
parent ca5f1dd01e
commit 7b38d7731a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 27 additions and 7 deletions

View File

@ -10421,8 +10421,34 @@ that need to represent UTF-16 data as 8-bit characters.")
winded @code{#[cfg()]} checks.")
(license license:expat)))
(define-public rust-cfg-expr-0.10
(package
(name "rust-cfg-expr")
(version "0.10.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "cfg-expr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1nw50j1sl6q96067399r1c6ppwp483q6vvmqdsnv493cv7sarb0a"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-smallvec" ,rust-smallvec-1)
("rust-target-lexicon" ,rust-target-lexicon-0.12))
#:cargo-development-inputs
(("rust-similar-asserts" ,rust-similar-asserts-1))))
(home-page "https://github.com/EmbarkStudios/cfg-expr")
(synopsis "Parser and evaluator for Rust @code{cfg()} expressions")
(description
"This package provides a parser and evaluator for Rust @code{cfg()}
expressions.")
(license (list license:expat license:asl2.0))))
(define-public rust-cfg-expr-0.8
(package
(inherit rust-cfg-expr-0.10)
(name "rust-cfg-expr")
(version "0.8.1")
(source
@ -10438,13 +10464,7 @@ winded @code{#[cfg()]} checks.")
(("rust-smallvec" ,rust-smallvec-1)
("rust-target-lexicon" ,rust-target-lexicon-0.12))
#:cargo-development-inputs
(("rust-difference" ,rust-difference-2))))
(home-page "https://github.com/EmbarkStudios/cfg-expr")
(synopsis "Parser and evaluator for Rust @code{cfg()} expressions")
(description
"This package provides a parser and evaluator for Rust @code{cfg()}
expressions.")
(license (list license:expat license:asl2.0))))
(("rust-difference" ,rust-difference-2))))))
(define-public rust-cfg-expr-0.7
(package