me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-strum-0.21.

* gnu/packages/crates-io.scm (rust-strum-0.21): New variable.
(rust-strum-0.20): Inherit from above.
master
Nicolas Goaziou 2021-10-06 17:40:31 +02:00
parent 035b9cff0c
commit daaa7c4c53
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 25 additions and 8 deletions

View File

@ -48651,8 +48651,32 @@ struct.")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
(define-public rust-strum-0.21
(package
(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"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("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
"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.20
(package
(inherit rust-strum-0.21)
(name "rust-strum")
(version "0.20.0")
(source
@ -48662,17 +48686,10 @@ struct.")
(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)))
(("rust-strum-macros" ,rust-strum-macros-0.20))))))
(define-public rust-strum-0.19
(package