summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 14:46:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-04 14:50:46 +0100
commitfafbb6d57ef705de99e561d8a04d9df79c9b3cb4 (patch)
treedf9861937de53b94c8264597b2cb5718b2ba507e
parent79fd9f40269ebc269715f1b14ebf13980f882992 (diff)
gnu: Add rust-strum-macros-0.18.
* gnu/packages/crates-io.scm (rust-strum-macros-0.18): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a08cc690a9..fd3a81a231 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27811,6 +27811,32 @@ and Jaro-Winkler.")
"Parse command line argument by defining a struct, derive crate.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-strum-macros-0.18
+ (package
+ (name "rust-strum-macros")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "strum_macros" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k3pwbv0c8q00jnsjshzfc2d5r3y6ppgf9fz7pyknrgaz2immj47"))))
+ (build-system cargo-build-system)
+ (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))))
+ (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-subtle-2
(package
(name "rust-subtle")