Subject: [bug#54299] [PATCH 13/27] added [email-masked]

From: Till Robin Zickel <[email-masked]>
Date: Tue, 8 Mar 2022 18:31:13 +0100

---
 gnu/packages/crates-io.scm | 51 +++++++++++++++++++++++++++++++++++---
 1 file changed, 47 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cac17e17d5..7723436b21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38389,6 +38389,28 @@ (define-public rust-num-enum-0.4
 primitives and enums easier.")
     (license license:bsd-3)))
 
+(define-public rust-num-enum-0.5
+  (package
+    (inherit rust-num-enum-0.4)
+    (name "rust-num-enum")
+    (version "0.5.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "num_enum" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1j8rq7i4xnbzy72z82k41469xlj1bmn4ixagd9wlbvv2ark9alyg"))))
+    (arguments
+     `(#:tests? #f ;missing files
+       #:cargo-inputs
+       (("rust-derivative" ,rust-derivative-2) ("rust-num-enum" ,rust-num-enum-0.5)
+        ("rust-num-enum-derive" ,rust-num-enum-derive-0.5))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1) ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-walkdir" ,rust-walkdir-2)
+        ("rust-rustversion" ,rust-rustversion-1))))))
+
 (define-public rust-num-enum-derive-0.4
   (package
     (name "rust-num-enum-derive")
@@ -38415,6 +38437,27 @@ (define-public rust-num-enum-derive-0.4
 primitives and enums easier.")
     (license license:bsd-3)))
 
+(define-public rust-num-enum-derive-0.5
+  (package
+    (inherit rust-num-enum-derive-0.4)
+    (name "rust-num-enum-derive")
+    (version "0.5.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "num_enum_derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1kj6b8f2fx8prlcl6y1k97668s5aiia4f9gjlk0nmpak3rj9h11v"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f                      ;FIXME: some doc tests fail
+       #:cargo-inputs
+       (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-num-format-0.4
   (package
     (name "rust-num-format")
@@ -59049,7 +59092,7 @@ (define-public rust-strsim-0.5
 (define-public rust-structopt-0.3
   (package
     (name "rust-structopt")
-    (version "0.3.21")
+    (version "0.3.22")
     (source
      (origin
        (method url-fetch)
@@ -59058,7 +59101,7 @@ (define-public rust-structopt-0.3
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "136j0lvjmpv5syi751vxg8vb30gfyv4k81x8d18kxrj6xvbsqxsj"))))
+         "0wadrsmkvab04dkbs670hcyl41l89kj7nvky6356l8k7rg6l3c39"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -59100,7 +59143,7 @@ (define-public rust-structopt-0.2
 (define-public rust-structopt-derive-0.4
   (package
    (name "rust-structopt-derive")
-   (version "0.4.14")
+   (version "0.4.15")
    (source
     (origin
      (method url-fetch)
@@ -59109,7 +59152,7 @@ (define-public rust-structopt-derive-0.4
       (string-append name "-" version ".tar.gz"))
      (sha256
       (base32
-       "143gjwvz3s86hwp070km83y25n8kqp5f01kb1dr19f4ilkywvaav"))))
+       "044w7z0bnsvla4d26s1r8s4q9sbx4f60c02yfxa1mxgmxi5964vq"))))
    (build-system cargo-build-system)
    (arguments
     `(#:skip-build? #t
-- 
2.34.0