summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-02 23:03:37 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-10 11:49:12 -0500
commit8169079a5ac0b5ac6bda79817e9ea75bb9dda437 (patch)
tree76fc59214667c06e6c3bac47126d668e17191e49
parentcdb2b115a874a7ab0be85963dd1f3005cbd53da0 (diff)
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 ae9092a3d3..32feb59f17 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54609,6 +54609,30 @@ processors, disks, components and networks.")
(description "Send log messages to syslog.")
(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
+ `(#:cargo-inputs
+ (("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 @samp{cfg} expressions")
+ (description "This package provides a parser and evaluator for Rust
+@samp{cfg} expressions.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-system-deps-3
(package
(name "rust-system-deps")