From ba0de78a75319caf9ad9ff017b9a6bc53756969a Mon Sep 17 00:00:00 2001 From: phodina Date: Sat, 4 Sep 2021 07:43:30 +0000 Subject: [PATCH] gnu: Add rust-enumflags2-derive-0.6. * gnu/packages/crates-io.scm (rust-enumflags2-derive-0.6): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f34e96c789..300fde7e2d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15670,6 +15670,29 @@ (define-public rust-enum-to-u8-slice-derive-0.1 convert enum to u8 slice ref.") (license license:bsd-3))) +(define-public rust-enumflags2-derive-0.6 + (package + (name "rust-enumflags2-derive") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "enumflags2_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kkcwi4n76bi1c16ms00dyk4d393gdf29kpr4k9zsn5z7m7fjvll")))) + (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://github.com/NieDzejkob/enumflags2") + (synopsis "Rust library for typesystem-assisted bitflags") + (description "Enumflags2 implements the classic bitflags datastructure.") + (license (list license:expat license:asl2.0)))) + (define-public rust-env-logger-0.8 (package (name "rust-env-logger")