From b2857c8c39a56d44baafdae5d36c5dd5b448461d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 10 Feb 2021 17:25:30 +0100 Subject: gnu: Add rust-geo-0.4. * gnu/packages/crates-io.scm (rust-geo-0.4): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') 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") -- cgit 1.4.1