From 07056365b692b896419f108ec072291ab2bba7e1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 5 Dec 2019 01:43:42 +0530 Subject: [PATCH 2/9] gnu: Add proj. * gnu/packages/geo.scm (proj): New variable. --- gnu/packages/geo.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index a6186ed2f0..f5ff753390 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -319,6 +319,41 @@ fully fledged Spatial SQL capabilities.") license:mpl1.1 license:public-domain)))) +(define-public proj + (package + (name "proj") + (version "6.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/proj/proj-" + version ".tar.gz")) + (sha256 + (base32 + "0l1as8f4zfg74fms6h5p5psziw0lpznja1xnirzsscpnfbwc005k")))) + (build-system gnu-build-system) + (inputs + `(("sqlite" ,sqlite))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://proj.org/") + (synopsis "Coordinate transformation software") + (description + "Proj is a generic coordinate transformation software that transforms +geospatial coordinates from one coordinate reference system (CRS) to another. +This includes cartographic projections as well as geodetic transformations. +PROJ includes command line applications for easy conversion of coordinates +from text files or directly from user input. In addition, proj also exposes +an application programming interface that lets developers use the +functionality of proj in their own software.") + (license (list license:expat + ;; src/projections/patterson.cpp + license:asl2.0 + ;; src/geodesic.*, src/tests/geodtest.cpp + license:x11 + ;; cmake/* + license:boost1.0)))) + (define-public proj.4 (package (name "proj.4") -- 2.23.0