guix-patches
[Top][All Lists]
Advanced

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

[bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6


From: Domagoj Stolfa
Subject: [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6
Date: Sun, 11 Jul 2021 15:55:50 +0100

* gnu/packages/crates-io.scm (rust-geo-types-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe2f1467bd..83937a19cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18134,6 +18134,30 @@ API library @code{gdi32}.")
     (description "This package provides geospatial primitive data types.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-geo-types-0.6
+  (package
+    (inherit rust-geo-types-0.7)
+    (name "rust-geo-types")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "geo-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1wivy6r2bzc32gxp5g5j689qz6p9ls5qgq0z8q64aayv3xd950vm"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-rstar" ,rust-rstar-0.8)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3))))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")
-- 
2.32.0






reply via email to

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