summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm66
1 files changed, 54 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b8460f0197..c4a22857f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65102,22 +65102,25 @@ struct.")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-strum-0.21
+(define-public rust-strum-0.24
(package
(name "rust-strum")
- (version "0.21.0")
+ (version "0.24.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a"))))
+ (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
+ `(#:tests? #f ; Doc tests fail.
#:cargo-inputs
- (("rust-strum-macros" ,rust-strum-macros-0.21))))
+ (("rust-phf" ,rust-phf-0.10)
+ ("rust-strum-macros" ,rust-strum-macros-0.24))
+ #:cargo-development-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.24))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of traits for working with enums and strings")
(description
@@ -65125,6 +65128,23 @@ struct.")
easier in Rust.")
(license license:expat)))
+(define-public rust-strum-0.21
+ (package
+ (inherit rust-strum-0.24)
+ (name "rust-strum")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qnd2by1zrwgx7li0hmwy7jbzjwz1ky697qjg85nga8zzny6py5a"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-strum-macros" ,rust-strum-macros-0.21))))))
+
(define-public rust-strum-0.20
(package
(inherit rust-strum-0.21)
@@ -65176,31 +65196,53 @@ easier in Rust.")
`(#:cargo-inputs
(("rust-strum-macros" ,rust-strum-macros-0.18))))))
-(define-public rust-strum-macros-0.21
+(define-public rust-strum-macros-0.24
(package
(name "rust-strum-macros")
- (version "0.21.1")
+ (version "0.24.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "strum_macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
+ (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-heck" ,rust-heck-0.3)
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-strum" ,rust-strum-0.24))))
(home-page "https://github.com/Peternator7/strum")
(synopsis "Set of macros for working with enums and strings")
(description
"This crate provides helpful macros for working with enums and strings.")
(license license:expat)))
+(define-public rust-strum-macros-0.21
+ (package
+ (inherit rust-strum-macros-0.24)
+ (name "rust-strum-macros")
+ (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 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
+ (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.20
(package
(inherit rust-strum-macros-0.21)