aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-03 23:12:00 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:01 -0500
commit55610f075a92aa27a0f1a0a3194053f33152e7e7 (patch)
treeea342eae972b1222b4f215e16f9a8701224c1bf6
parent53eebc83280f91e9314e5ddceb21103765f1a495 (diff)
downloadguix-55610f075a92aa27a0f1a0a3194053f33152e7e7.tar
guix-55610f075a92aa27a0f1a0a3194053f33152e7e7.tar.gz
gnu: Add rust-cfg-expr-0.8.
* gnu/packages/crates-io.scm (rust-cfg-expr-0.8): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95b4c536a1..8da2c52a0e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8696,6 +8696,30 @@ that need to represent UTF-16 data as 8-bit characters.")
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")