summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-06-17 10:46:23 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-12-30 21:32:41 +0100
commitdb364130f9ad1a52f277f6b916ed78d014fdbaea (patch)
tree8fb21c1ace63adaedc575d56654f8addbf375a1a /gnu/packages/crates-io.scm
parentd0e1e360ec0a605b208478eaa0598d2b3d627417 (diff)
gnu: Add rust-cfg-expr-0.7.
* gnu/packages/crates-io.scm (rust-cfg-expr-0.7): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 282c0436ed..c5cec82fb4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8971,6 +8971,25 @@ winded @code{#[cfg()]} checks.")
expressions.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cfg-expr-0.7
+ (package
+ (inherit rust-cfg-expr-0.8)
+ (name "rust-cfg-expr")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cfg-expr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0sn2mw7s2i9qr5mrbyarz0mn5vb3iv6z656va6sccf5qzcprxaih"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-smallvec" ,rust-smallvec-1)
+ ("rust-target-lexicon" ,rust-target-lexicon-0.11))))))
+
(define-public rust-cfg-if-1
(package
(name "rust-cfg-if")