summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 21:27:44 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-05 21:14:12 +0100
commitc0fde7184e51a88f3d3fbef85882286558531832 (patch)
tree8416f5beda120d59882b4811cf9592ec8db62ef1
parentc221a8979459dc8432f8ddc7e507ff65b4d4056c (diff)
gnu: Add rust-enum-to-u8-slice-derive-0.1.
* gnu/packages/crates-io.scm (rust-enum-to-u8-slice-derive-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 039a329a48..cadcc2e679 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9423,6 +9423,29 @@ accessor functions on enums.")
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-enum-to-u8-slice-derive-0.1
+ (package
+ (name "rust-enum-to-u8-slice-derive")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum_to_u8_slice_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hvzi74pnh5a7f4klrk0dz45l0mgcy5l3zajjhjsxzws28js4yc4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-quote" ,rust-quote-0.3)
+ ("rust-syn" ,rust-syn-0.11))))
+ (home-page "https://github.com/mesalock-linux/enum_to_u8_slice_derive")
+ (synopsis "Convert enum to u8 slice ref")
+ (description
+ "This package provides a simple fork of @code{enum_to_str_derive},
+convert enum to u8 slice ref.")
+ (license license:bsd-3)))
+
(define-public rust-env-logger-0.7
(package
(name "rust-env-logger")