From 035b9cff0ce5d21562d628fd0dee8e2cd6279745 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 6 Oct 2021 17:39:47 +0200 Subject: [PATCH] gnu: Add rust-strum-macros-0.21. * gnu/packages/crates-io.scm (rust-strum-macros-0.21): New variable. (rust-strum-macros-0.20): Inherit from above. --- gnu/packages/crates-io.scm | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40896056a4..92f3b7db23 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48708,17 +48708,17 @@ (define-public rust-strum-0.18 `(#:cargo-inputs (("rust-strum-macros" ,rust-strum-macros-0.18)))))) -(define-public rust-strum-macros-0.20 +(define-public rust-strum-macros-0.21 (package (name "rust-strum-macros") - (version "0.20.1") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "strum_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j9ikvxlqzr667ghc045qkpwprjgcfmzgagln7maw4jigawcd2zf")))) + (base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -48733,6 +48733,26 @@ (define-public rust-strum-macros-0.20 "This crate provides helpful macros for working with enums and strings.") (license license:expat))) +(define-public rust-strum-macros-0.20 + (package + (inherit rust-strum-macros-0.21) + (name "rust-strum-macros") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j9ikvxlqzr667ghc045qkpwprjgcfmzgagln7maw4jigawcd2zf")))) + (arguments + `(#:skip-build? #t + #: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-strum-macros-0.19 (package (inherit rust-strum-macros-0.20)