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.
This commit is contained in:
Nicolas Goaziou 2021-10-06 17:39:47 +02:00
parent 1ab8cdedef
commit 035b9cff0c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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)