From c0fde7184e51a88f3d3fbef85882286558531832 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 21 Dec 2020 21:27:44 +0100 Subject: 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. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') 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") -- cgit v1.2.3