gnu: Add rust-strum-0.20.
* gnu/packages/crates-io.scm (rust-strum-0.20): New variable. (rust-strum-0.18): Inherit from above.master
parent
c7f8a69450
commit
6483ae57a5
|
@ -43854,8 +43854,32 @@ struct.")
|
||||||
"Parse command line argument by defining a struct, derive crate.")
|
"Parse command line argument by defining a struct, derive crate.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-strum-0.20
|
||||||
|
(package
|
||||||
|
(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"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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
|
||||||
|
"Strum is a set of macros and traits for working with enums and strings
|
||||||
|
easier in Rust.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-strum-0.18
|
(define-public rust-strum-0.18
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-strum-0.20)
|
||||||
(name "rust-strum")
|
(name "rust-strum")
|
||||||
(version "0.18.0")
|
(version "0.18.0")
|
||||||
(source
|
(source
|
||||||
|
@ -43865,16 +43889,9 @@ struct.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
|
(base32 "0asjskn1qhqqfiq673np0gvmnd1rsp506m38vk53gi7l93mq3gap"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-strum-macros" ,rust-strum-macros-0.18))))
|
(("rust-strum-macros" ,rust-strum-macros-0.18))))))
|
||||||
(home-page "https://github.com/Peternator7/strum")
|
|
||||||
(synopsis "Set of traits for working with enums and strings")
|
|
||||||
(description
|
|
||||||
"Strum is a set of macros and traits for working with enums and strings
|
|
||||||
easier in Rust.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-strum-macros-0.20
|
(define-public rust-strum-macros-0.20
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue