diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 14:49:21 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-04 14:50:47 +0100 |
commit | 28756005c02c1257c0979a536b087889aef4ac55 (patch) | |
tree | 9a107aa5c3c625e6760ef949fe95d7deb1573a87 /gnu | |
parent | fafbb6d57ef705de99e561d8a04d9df79c9b3cb4 (diff) |
gnu: Add rust-strum-0.18.
* gnu/packages/crates-io.scm (rust-strum-0.18): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fd3a81a231..86540d648e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27811,6 +27811,29 @@ and Jaro-Winkler.") "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) +(define-public rust-strum-0.18 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("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.18 (package (name "rust-strum-macros") |