guix-commits
[Top][All Lists]
Advanced

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

20/28: gnu: Add r-lwgeom.


From: guix-commits
Subject: 20/28: gnu: Add r-lwgeom.
Date: Mon, 15 Mar 2021 05:55:31 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit a1dd43e4cd35b6028beb1515960661ba0476dc61
Author: Lars-Dominik Braun <ldb@leibniz-psychology.org>
AuthorDate: Mon Mar 15 10:35:20 2021 +0100

    gnu: Add r-lwgeom.
    
    * gnu/packages/cran.scm (r-lwgeom): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 89a7c4f..39d11dd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27848,3 +27848,34 @@ and formatted text files with additional meta-data, 
such including @code{.csv},
     (description
       "Algorithms to find arrangements of non-overlapping circles.")
     (license license:expat)))
+
+;; Cannot unbundle liblwgeom, because PostGIS does not support building it on
+;; its own.
+(define-public r-lwgeom
+  (package
+    (name "r-lwgeom")
+    (version "0.2-5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "lwgeom" version))
+        (sha256
+          (base32
+            "0byhjqa2acns8mznl1ngnfygxxxyszvnq66qfg0smhhhdkwr67aa"))))
+    (properties `((upstream-name . "lwgeom")))
+    (build-system r-build-system)
+    (inputs `(("geos" ,geos) ("proj" ,proj) ("sqlite" ,sqlite)))
+    (propagated-inputs
+      `(("r-rcpp" ,r-rcpp)
+        ("r-sf" ,r-sf)
+        ("r-units" ,r-units)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page
+      "https://github.com/r-spatial/lwgeom/";)
+    (synopsis
+      "Bindings to Selected 'liblwgeom' Functions for Simple Features")
+    (description
+      "Access to selected functions found in
+@url{https://github.com/postgis/postgis/tree/master/liblwgeom,liblwgeom}, the
+light-weight geometry library used by @url{http://postgis.net/,PostGIS}.";)
+    (license license:gpl2)))



reply via email to

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