diff options
author | aecepoglu <aecepoglu@fastmail.fm> | 2021-02-04 14:37:16 +0300 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-04 15:48:28 +0100 |
commit | e940d982135610e2c836a107fec4010e9c874419 (patch) | |
tree | c4fe511327b37564e674e28096ad9dde3e1a8e5e | |
parent | 302b14e21ffbbe90550b8345ff504dd6b21e288b (diff) | |
download | guix-e940d982135610e2c836a107fec4010e9c874419.tar guix-e940d982135610e2c836a107fec4010e9c874419.tar.gz |
gnu: Add rust-enum-primitive-0.1.
* gnu/packages/crates-io.scm (rust-enum-primitive-0.1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-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 49a6094fd0..d2461a38e6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11042,6 +11042,29 @@ accessor functions on enums.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-enum-primitive-0.1 + (package + (name "rust-enum-primitive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-primitive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "100ip2p3w1rq0clca2ai5shhvpxfipnsjncj0f9ralad5w4m2idy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.1)))) + (home-page "https://github.com/andersk/enum_primitive-rs") + (synopsis "Macro to generate @code{num::FromPrimitive} instances for enum") + (description + "This package provides a macro to generate @code{num::FromPrimitive} +instances for enum.") + (license license:expat))) + (define-public rust-enum-to-u8-slice-derive-0.1 (package (name "rust-enum-to-u8-slice-derive") |