summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-10-06 17:40:31 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-11-03 23:00:46 +0100
commitdaaa7c4c53aaf1689265c592e98d989e8c4f89a0 (patch)
treeed0ed313ee976f03b052a7981e01abb778819a80 /gnu
parent035b9cff0ce5d21562d628fd0dee8e2cd6279745 (diff)
gnu: Add rust-strum-0.21.
* gnu/packages/crates-io.scm (rust-strum-0.21): New variable. (rust-strum-0.20): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 21 insertions, 4 deletions
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)