diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-02 20:14:19 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:22 +0300 |
commit | 0fd432b3c77a0553c83f6ae8cdd742cbfe22c9dd (patch) | |
tree | db46a24d9eafe3e7b7b497ce4bdc7cd116da07dd | |
parent | d256ecc3e6b00eead884b986e16db30afb283bbe (diff) |
gnu: Add rust-enumflags2-0.7.
* gnu/packages/crates-io.scm (rust-enumflags2-0.7): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3012b346b4..7c4e71d8ad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22165,6 +22165,27 @@ convert enum to u8 slice ref.") (description "Provide useful impls on numerical enums") (license license:bsd-3))) +(define-public rust-enumflags2-0.7 + (package + (name "rust-enumflags2") + (version "0.7.7") + (source (origin + (method url-fetch) + (uri (crate-uri "enumflags2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lhvq084ylw3nvhgv1zyagavkj392zamydh5v6y352zn1l4zahf0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.7) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/meithecatte/enumflags2") + (synopsis "Enum-based bit flags") + (description "This package provides enum-based bit flags.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enumflags2-derive-0.7 (package (name "rust-enumflags2-derive") |