guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

48/69: gnu: Add rust-enum-map-0.6.


From: guix-commits
Subject: 48/69: gnu: Add rust-enum-map-0.6.
Date: Thu, 11 Nov 2021 10:43:34 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 5f42641ba73e680eb60f606bb7da969531d260cd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Nov 11 09:43:35 2021 +0000

    gnu: Add rust-enum-map-0.6.
    
    * gnu/packages/crates-io.scm (rust-enum-map-0.6): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 552f678..16ae864 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]