guix-commits
[Top][All Lists]
Advanced

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

16/43: gnu: Add rust-maplit.


From: guix-commits
Subject: 16/43: gnu: Add rust-maplit.
Date: Mon, 12 Aug 2019 05:02:12 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 9c6301319ea80eca661c65ec05c68c579bb2d104
Author: Efraim Flashner <address@hidden>
Date:   Sun Aug 4 13:52:00 2019 +0300

    gnu: Add rust-maplit.
    
    * gnu/packages/creates-io.scm (rust-maplit): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 86d6d8c..7c9c2ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -313,6 +313,26 @@ friction with idiomatic Rust structs to ease 
interopability.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-maplit
+  (package
+    (name "rust-maplit")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "maplit" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/bluss/maplit";)
+    (synopsis "Collection of Map macros")
+    (description "This crate provides a collection of @code{literal} macros for
+@code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-proc-macro2
   (package
     (name "rust-proc-macro2")



reply via email to

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