summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-04-21 09:23:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-04-21 23:07:52 +0200
commit08dac3d9e674b1412edd000f55caaef45ae0ab4c (patch)
tree69ba39779f47423a344098eba13a01a10feec585 /gnu/packages
parentc9920f25976bd947311023056f58c716a65da6c9 (diff)
downloadguix-08dac3d9e674b1412edd000f55caaef45ae0ab4c.tar.gz
gnu: Add r-maptools.
* gnu/packages/cran.scm (r-maptools): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0b54ed0c0f..12f848974c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3820,3 +3820,31 @@ without explicit decompression, and fast import packages are used where
 appropriate.  An additional convenience function, @code{convert}, provides a
 simple method for converting between file types.")
     (license license:gpl2)))
+
+(define-public r-maptools
+  (package
+    (name "r-maptools")
+    (version "0.9-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "maptools" version))
+       (sha256
+        (base32
+         "075lmb3b62171cw2dg8fv1vwmvfzg39r1ji7jwb8s5k9dz88ry1v"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-foreign" ,r-foreign)
+       ("r-lattice" ,r-lattice)
+       ("r-sp" ,r-sp)))
+    (home-page "http://r-forge.r-project.org/projects/maptools/")
+    (synopsis "Tools for reading and handling spatial objects")
+    (description
+     "This package provides a set of tools for manipulating and reading
+geographic data, in particular ESRI Shapefiles.  It includes binary access to
+GSHHG shoreline files.  The package also provides interface wrappers for
+exchanging spatial objects with other R packages.")
+    ;; The C source files from shapelib are released under the Expat license.
+    ;; The R code is released under GPL version 2 or later.
+    (license (list license:gpl2+
+                   license:expat))))