guix-patches
[Top][All Lists]
Advanced

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

[bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8


From: Domagoj Stolfa
Subject: [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8
Date: Sun, 4 Jul 2021 17:32:01 +0100

* gnu/packages/crates-io.scm (rust-rstar-0.8): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c8e10a772..8ec8506c94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37209,6 +37209,39 @@ wildcard segments")
 rust.")
     (license license:mpl2.0)))
 
+(define-public rust-rstar-0.8
+  (package
+    (name "rust-rstar")
+    (version "0.8.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstar" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-heapless" ,rust-heapless-0.6)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-pdqselect" ,rust-pdqselect-0.1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-smallvec" ,rust-smallvec-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-hc" ,rust-rand-hc-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/Stoeoef/rstar";)
+    (synopsis
+      "R*-tree library for the rust ecosystem")
+    (description
+      "R*-tree library for the rust ecosystem")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-- 
2.32.0






reply via email to

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