summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-11 09:43:08 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:16 +0000
commit7c4a6245c71bbb6eafb245b58b71991f9877fc0e (patch)
treed5b023cb2a777e51020d4b82a93c0615f03d9aa6 /gnu/packages
parentdba9c7d7e02c6d79fe1d561074bf4f52109c9276 (diff)
gnu: Add rust-enum-map-derive-0.4.
* gnu/packages/crates-io.scm (rust-enum-map-derive-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b5650d060..552f678438 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16448,6 +16448,30 @@ accessor functions on enums.")
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-enum-map-derive-0.4
+ (package
+ (name "rust-enum-map-derive")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum-map-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mg43p1x90cz604zddk9qzss077v2id04qmmbpa1i7jc637m1i75"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://gitlab.com/KonradBorowski/enum-map")
+ (synopsis "Macros 1.1 implementation of #[derive(Enum)]")
+ (description "This package provides a macros 1.1 implementation of
+@code{#[derive(Enum)]}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-enum-primitive-0.1
(package
(name "rust-enum-primitive")