aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 14:14:52 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:52:46 +0200
commit6483ae57a524e3c6469286b75150e96b79f11543 (patch)
tree2e00ab1c90212cb00983cd5bb9515277a6f48599
parentc7f8a6945079c3d107b61db015cfc13612f1ffef (diff)
downloadguix-6483ae57a524e3c6469286b75150e96b79f11543.tar.gz
guix-6483ae57a524e3c6469286b75150e96b79f11543.zip
gnu: Add rust-strum-0.20.
* gnu/packages/crates-io.scm (rust-strum-0.20): New variable. (rust-strum-0.18): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b94d8e478..3209737e54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43854,21 +43854,22 @@ struct.")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-strum-0.18
+(define-public rust-strum-0.20
(package
(name "rust-strum")
- (version "0.18.0")
+ (version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
+ (base32 "0p5cslmdnz261kiwmm4h7qsmv9bh83r0f9lq6f2z2mxsnl4wa63k"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-strum-macros" ,rust-strum-macros-0.18))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.20))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of traits for working with enums and strings")
(description
@@ -43876,6 +43877,22 @@ struct.")
easier in Rust.")
(license license:expat)))
+(define-public rust-strum-0.18
+ (package
+ (inherit rust-strum-0.20)
+ (name "rust-strum")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.18))))))
+
(define-public rust-strum-macros-0.20
(package
(name "rust-strum-macros")