summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 14:13:48 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:52:45 +0200
commitc7f8a6945079c3d107b61db015cfc13612f1ffef (patch)
tree9fbff6616286f043f47c545679924dddbf05fdb0
parent24646f220563f38502667ff163ced8b966efd04c (diff)
downloadguix-c7f8a6945079c3d107b61db015cfc13612f1ffef.tar.gz
gnu: Add rust-strum-macros-0.20.
* gnu/packages/crates-io.scm (rust-strum-macros-0.20): New variable.
(rust-strum-macros-0.18): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30191daaa1..3b94d8e478 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43876,21 +43876,21 @@ struct.")
 easier in Rust.")
     (license license:expat)))
 
-(define-public rust-strum-macros-0.18
+(define-public rust-strum-macros-0.20
   (package
     (name "rust-strum-macros")
-    (version "0.18.0")
+    (version "0.20.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strum_macros" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0k3pwbv0c8q00jnsjshzfc2d5r3y6ppgf9fz7pyknrgaz2immj47"))))
+        (base32 "0j9ikvxlqzr667ghc045qkpwprjgcfmzgagln7maw4jigawcd2zf"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-heck" ,rust-heck-0.3)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
@@ -43901,6 +43901,26 @@ easier in Rust.")
      "This crate provides helpful macros for working with enums and strings.")
     (license license:expat)))
 
+(define-public rust-strum-macros-0.18
+  (package
+    (inherit rust-strum-macros-0.20)
+    (name "rust-strum-macros")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum_macros" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k3pwbv0c8q00jnsjshzfc2d5r3y6ppgf9fz7pyknrgaz2immj47"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-subtle-2
   (package
     (name "rust-subtle")