From daaa7c4c53aaf1689265c592e98d989e8c4f89a0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 6 Oct 2021 17:40:31 +0200 Subject: gnu: Add rust-strum-0.21. * gnu/packages/crates-io.scm (rust-strum-0.21): New variable. (rust-strum-0.20): Inherit from above. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 92f3b7db23..672a840915 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48651,22 +48651,22 @@ struct.") "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-strum-0.20 +(define-public rust-strum-0.21 (package (name "rust-strum") - (version "0.20.0") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "strum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p5cslmdnz261kiwmm4h7qsmv9bh83r0f9lq6f2z2mxsnl4wa63k")))) + (base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-strum-macros" ,rust-strum-macros-0.20)))) + (("rust-strum-macros" ,rust-strum-macros-0.21)))) (home-page "https://github.com/Peternator7/strum") (synopsis "Set of traits for working with enums and strings") (description @@ -48674,6 +48674,23 @@ struct.") easier in Rust.") (license license:expat))) +(define-public rust-strum-0.20 + (package + (inherit rust-strum-0.21) + (name "rust-strum") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p5cslmdnz261kiwmm4h7qsmv9bh83r0f9lq6f2z2mxsnl4wa63k")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-strum-macros" ,rust-strum-macros-0.20)))))) + (define-public rust-strum-0.19 (package (inherit rust-strum-0.20) -- cgit 1.4.1