summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:17:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:39 +0300
commita11f27b4e75be15cc786567bad9b869c21bb17bf (patch)
treef1a93b7084884c3117896fb2f1334ee1fe557c82
parenteeeff4be50474f4aac9930432c4837c5647daafe (diff)
downloadguix-a11f27b4e75be15cc786567bad9b869c21bb17bf.tar.gz
gnu: Add rust-slotmap-1.
* gnu/packages/crates-io.scm (rust-slotmap-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ecd1b78a40..c52358c764 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57750,6 +57750,33 @@ crate.")
 functions.")
     (license license:expat)))
 
+(define-public rust-slotmap-1
+  (package
+    (name "rust-slotmap")
+    (version "1.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "slotmap" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hhkvsc3x79c7fh97b3padjhssd19hzdyyiv291mr3qf3lk8xq71"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs
+       (("rust-fxhash" ,rust-fxhash-0.2)
+        ("rust-quickcheck" ,rust-quickcheck-0.9)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/orlp/slotmap")
+    (synopsis "Slotmap data structure")
+    (description "Slotmap data structure")
+    (license license:zlib)))
+
 (define-public rust-slug-0.1
   (package
     (name "rust-slug")