diff options
author | phodina <phodina@protonmail.com> | 2021-09-04 07:44:42 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-22 16:57:58 +0200 |
commit | a08789dbcf5bb7ffe05f6a9e2b87508da49eda73 (patch) | |
tree | 21b2a392ccbbbd52d0ee3ff0787610297afc8b24 | |
parent | ba0de78a75319caf9ad9ff017b9a6bc53756969a (diff) | |
download | guix-a08789dbcf5bb7ffe05f6a9e2b87508da49eda73.tar.gz |
gnu: Add rust-enumflags2-0.6.
* gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-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") |