gnu: Add shapelib
* gnu/packages/geo.scm (shapelib): New variable Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
		
							parent
							
								
									192cb790a9
								
							
						
					
					
						commit
						6be6945251
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		| 
						 | 
					@ -14,6 +14,7 @@
 | 
				
			||||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 | 
					;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 | 
				
			||||||
;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
 | 
					;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
 | 
				
			||||||
;;; Copyright © 2020 Felix Gruber <felgru@posteo.net>
 | 
					;;; Copyright © 2020 Felix Gruber <felgru@posteo.net>
 | 
				
			||||||
 | 
					;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -1693,6 +1694,32 @@ input file (in @code{.osm} or @code{.osm.pbf} format).")
 | 
				
			||||||
                   license:lgpl2.1+
 | 
					                   license:lgpl2.1+
 | 
				
			||||||
                   license:mpl1.1))))
 | 
					                   license:mpl1.1))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public shapelib
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "shapelib")
 | 
				
			||||||
 | 
					    (version "1.5.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method git-fetch)
 | 
				
			||||||
 | 
					       (uri (git-reference
 | 
				
			||||||
 | 
					             (url "https://github.com/OSGeo/shapelib")
 | 
				
			||||||
 | 
					             (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "1lzch0jf6yqhw391phhafzw4ghmiz98zkf698h4fmq109fa2vhqd"))))
 | 
				
			||||||
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("autoconf" ,autoconf)
 | 
				
			||||||
 | 
					       ("automake" ,automake)
 | 
				
			||||||
 | 
					       ("libtool" ,libtool)))
 | 
				
			||||||
 | 
					    (home-page "http://shapelib.maptools.org/")
 | 
				
			||||||
 | 
					    (synopsis "Provides C library to write and update ESRI Shapefiles")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "The Shapefile C Library provides the ability to write simple C programs
 | 
				
			||||||
 | 
					for reading, writing and updating (to a limited extent) ESRI Shapefiles, and the
 | 
				
			||||||
 | 
					associated attribute file (@file{.dbf}).")
 | 
				
			||||||
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public spatialite-tools
 | 
					(define-public spatialite-tools
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "spatialite-tools")
 | 
					    (name "spatialite-tools")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue