gnu: Add rust-cfg-expr-0.8.

* gnu/packages/crates-io.scm (rust-cfg-expr-0.8): New variable.
This commit is contained in:
Nicolas Goaziou 2021-12-03 23:12:00 +01:00 committed by Leo Famulari
parent 53eebc8328
commit 55610f075a
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -8696,6 +8696,30 @@ (define-public rust-cfg-aliases-0.1
winded @code{#[cfg()]} checks.")
(license license:expat)))
(define-public rust-cfg-expr-0.8
(package
(name "rust-cfg-expr")
(version "0.8.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "cfg-expr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03lgv8psc2qrr93hxgdfmfwbj1crpzghxd7qh6w2nz0l4qryh4ml"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-smallvec" ,rust-smallvec-1)
("rust-target-lexicon" ,rust-target-lexicon-0.12))))
(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-if-1
(package
(name "rust-cfg-if")