diff options
author | Aleksandr Vityazev <avityazew@gmail.com> | 2023-10-07 03:02:54 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 15:18:23 +0300 |
commit | 608df1c98bcb60d337ad0079a9f7dcf46c228713 (patch) | |
tree | ec824426afb5b6d0f19e4f4cab046a7247e81aa3 /gnu/packages/crates-io.scm | |
parent | 1bd7c3a1242b5564085047dda13f8fda77118f69 (diff) |
gnu: Add rust-enumflags2-0.6.
* gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bec7a1e0e1..c7b5376064 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23583,6 +23583,25 @@ convert enum to u8 slice ref.") (description "This package provides enum-based bit flags.") (license (list license:expat license:asl2.0)))) +(define-public rust-enumflags2-0.6 + (package + (inherit rust-enumflags2-0.7) + (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")))) + (arguments + `(#:cargo-inputs + (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))))) + (define-public rust-enumflags2-derive-0.7 (package (name "rust-enumflags2-derive") |