summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:25:30 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:33 +0100
commitb2857c8c39a56d44baafdae5d36c5dd5b448461d (patch)
tree55be7a869e2c415e4d2ab23818878670ee8fc7e8 /gnu/packages
parenta2b92ff6e6bb5238fcd19b57f2fd39ce3ef8ce0e (diff)
downloadguix-b2857c8c39a56d44baafdae5d36c5dd5b448461d.tar.gz
gnu: Add rust-geo-0.4.
* gnu/packages/crates-io.scm (rust-geo-0.4): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89c856be05..8afcb68b4c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15186,6 +15186,30 @@ API library @code{gdi32}.")
      "This package provides a package for generating 3D meshes/")
     (license license:asl2.0)))
 
+(define-public rust-geo-0.4
+  (package
+    (name "rust-geo")
+    (version "0.4.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "geo" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10mvrmi5xgpil6hxl6h3b0w4lvg7mxy04n3388ah0gwhcnc1whh3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-num-traits" ,rust-num-traits-0.1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1))))
+    (home-page "https://github.com/georust/geo")
+    (synopsis "Geospatial primitives and algorithms")
+    (description
+     "This package provides geospatial primitives and algorithms.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")