guix-patches
[Top][All Lists]
Advanced

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

[bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8


From: Domagoj Stolfa
Subject: [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8
Date: Sun, 11 Jul 2021 15:55:49 +0100

* gnu/packages/crates-io.scm (rust-rstar-0.8): New public 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 18b5977ee3..fe2f1467bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37348,6 +37348,34 @@ rust.")
       "R*-tree library for the rust ecosystem.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstar-0.8
+  (package
+    (inherit rust-rstar-0.9)
+    (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))))))
+
 (define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-- 
2.32.0






reply via email to

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