diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
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") |