From a08789dbcf5bb7ffe05f6a9e2b87508da49eda73 Mon Sep 17 00:00:00 2001 From: phodina Date: Sat, 4 Sep 2021 07:44:42 +0000 Subject: gnu: Add rust-enumflags2-0.6. * gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 300fde7e2d..be654a88bd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15670,6 +15670,28 @@ implement enum_primitive.") convert enum to u8 slice ref.") (license license:bsd-3))) +(define-public rust-enumflags2-0.6 + (package + (name "rust-enumflags2") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "enumflags2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/NieDzejkob/enumflags2") + (synopsis "Enum-based bit flags") + (description "Enumflags2 is an Enum-based bit flags library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enumflags2-derive-0.6 (package (name "rust-enumflags2-derive") -- cgit v1.2.3