diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 09:43:35 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-11 15:39:16 +0000 |
commit | 5f42641ba73e680eb60f606bb7da969531d260cd (patch) | |
tree | 6448c9be785ab379a9645b3b9993341abc5fa9af /gnu | |
parent | 7c4a6245c71bbb6eafb245b58b71991f9877fc0e (diff) | |
download | guix-5f42641ba73e680eb60f606bb7da969531d260cd.tar guix-5f42641ba73e680eb60f606bb7da969531d260cd.tar.gz |
gnu: Add rust-enum-map-0.6.
* gnu/packages/crates-io.scm (rust-enum-map-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 552f678438..16ae864a5b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16472,6 +16472,34 @@ accessor functions on enums.") @code{#[derive(Enum)]}.") (license (list license:expat license:asl2.0)))) +(define-public rust-enum-map-0.6 + (package + (name "rust-enum-map") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-map" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m8qg32fnjdf6z64j4wmyp935p5838wd31gibkiqpbpl76c9k1s1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-array-macro" ,rust-array-macro-1) + ("rust-enum-map-derive" ,rust-enum-map-derive-0.4) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://gitlab.com/KonradBorowski/enum-map") + (synopsis "Map with C-like enum keys represented internally as an array") + (description + "This package provides a map with C-like enum keys represented internally +as an array.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enum-primitive-0.1 (package (name "rust-enum-primitive") |