gnu: Add r-maptools.

* gnu/packages/cran.scm (r-maptools): New variable.
master
Ricardo Wurmus 2018-04-21 09:23:50 +02:00
parent c9920f2597
commit 08dac3d9e6
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 28 additions and 0 deletions

View File

@ -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))))