Subject: [bug#73956] [PATCHv2 rust-team 01/27] gnu: Add rust-cfg-expr-0.17.

From: Giacomo Leidi <[email-masked]>
Date: Wed, 6 Nov 2024 21:41:05 +0100

* gnu/packages/crates-io.scm (rust-cfg-expr-0.17): New variable.
(rust-cfg-expr-0.15): inherit from rust-cfg-expr-0.17.

Change-Id: I540636bc6f1ab66f7ca238bf4e90fb2917308241
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7dbfeba216..a17a951b21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12266,17 +12266,17 @@ (define-public rust-cfg-aliases-0.1
        (sha256
         (base32 "17p821nc6jm830vzl2lmwz60g3a30hcm33nk6l257i1rjdqw85px"))))))
 
-(define-public rust-cfg-expr-0.15
+(define-public rust-cfg-expr-0.17
   (package
     (name "rust-cfg-expr")
-    (version "0.15.8")
+    (version "0.17.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "cfg-expr" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "00lgf717pmf5qd2qsxxzs815v6baqg38d6m5i6wlh235p14asryh"))))
+                "174y5f7035cx99d83hn1m97xd5xr83nd5fpkcxr3w8nkqihh12fh"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -12291,6 +12291,25 @@ (define-public rust-cfg-expr-0.15
 expressions.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cfg-expr-0.15
+  (package
+    (inherit rust-cfg-expr-0.17)
+    (name "rust-cfg-expr")
+    (version "0.15.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "cfg-expr" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "00lgf717pmf5qd2qsxxzs815v6baqg38d6m5i6wlh235p14asryh"))))
+    (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))))))
+
 (define-public rust-cfg-expr-0.10
   (package
     (inherit rust-cfg-expr-0.15)

base-commit: e195626f6cc2ebff68d78d23a033ec4ebbf04973
-- 
2.46.0