2016-03-05 02:33:09 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
2016-08-17 17:37:58 -04:00
|
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2018-02-21 18:07:47 -05:00
|
|
|
|
;;; Copyright © 2017, 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2020-08-11 13:25:19 -04:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-01-23 02:44:53 -05:00
|
|
|
|
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
|
2019-12-04 09:25:17 -05:00
|
|
|
|
;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
|
2018-02-17 16:11:25 -05:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2020-07-04 17:54:30 -04:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Julien Lepiller <julien@lepiller.eu>
|
2019-08-31 05:43:45 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2020-07-21 03:58:19 -04:00
|
|
|
|
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
2019-10-04 09:25:16 -04:00
|
|
|
|
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
|
2019-11-17 11:11:28 -05:00
|
|
|
|
;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2020-01-07 08:28:09 -05:00
|
|
|
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
2020-09-13 04:31:15 -04:00
|
|
|
|
;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
|
2016-03-05 02:33:09 -05:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages geo)
|
2019-05-03 07:06:03 -04:00
|
|
|
|
#:use-module (guix build-system ant)
|
2018-09-27 16:16:31 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2017-01-16 15:05:12 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-09-23 16:36:15 -04:00
|
|
|
|
#:use-module (guix build-system go)
|
2018-12-06 17:26:25 -05:00
|
|
|
|
#:use-module (guix build-system meson)
|
2018-02-15 17:10:08 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2020-01-13 09:38:33 -05:00
|
|
|
|
#:use-module (guix build-system qt)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (guix build-system scons)
|
2018-02-17 16:11:25 -05:00
|
|
|
|
#:use-module (guix build-system r)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (guix download)
|
2019-02-18 17:32:54 -05:00
|
|
|
|
#:use-module (guix git-download)
|
2019-05-03 08:55:51 -04:00
|
|
|
|
#:use-module (guix svn-download)
|
2017-01-16 15:05:12 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils)
|
2019-12-04 15:17:47 -05:00
|
|
|
|
#:use-module (gnu packages)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2019-07-14 14:00:46 -04:00
|
|
|
|
#:use-module (gnu packages astronomy)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages audio)
|
2019-05-27 11:05:16 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages backup)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
|
|
|
|
#:use-module (gnu packages bison)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (gnu packages boost)
|
2018-02-15 17:10:08 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2017-07-20 11:50:18 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (gnu packages databases)
|
2018-09-27 16:38:32 -04:00
|
|
|
|
#:use-module (gnu packages datastructures)
|
2020-07-25 06:37:47 -04:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2018-09-27 16:38:32 -04:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages elf)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
#:use-module (gnu packages flex)
|
2019-07-14 14:00:46 -04:00
|
|
|
|
#:use-module (gnu packages fonts)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages gl)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2020-03-24 05:20:27 -04:00
|
|
|
|
#:use-module (gnu packages gps)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2020-03-24 05:20:27 -04:00
|
|
|
|
#:use-module (gnu packages haskell-apps)
|
2017-07-20 11:50:18 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2020-03-22 06:33:00 -04:00
|
|
|
|
#:use-module (gnu packages image-processing)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2019-05-03 08:55:51 -04:00
|
|
|
|
#:use-module (gnu packages java)
|
2020-03-24 05:20:27 -04:00
|
|
|
|
#:use-module (gnu packages kde)
|
2018-09-23 16:37:17 -04:00
|
|
|
|
#:use-module (gnu packages lua)
|
2019-12-20 11:24:44 -05:00
|
|
|
|
#:use-module (gnu packages maths)
|
2018-04-16 04:36:53 -04:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2020-03-22 06:33:00 -04:00
|
|
|
|
#:use-module (gnu packages pdf)
|
2018-04-16 04:45:52 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages photo)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2019-03-15 07:48:54 -04:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2020-03-18 09:57:27 -04:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2018-02-15 17:09:37 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2020-07-21 04:02:42 -04:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2019-11-17 11:23:34 -05:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2019-07-14 14:00:46 -04:00
|
|
|
|
#:use-module (gnu packages qt)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-03-22 06:33:00 -04:00
|
|
|
|
#:use-module (gnu packages swig)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2020-03-20 12:44:06 -04:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
#:use-module (gnu packages time)
|
2018-02-17 17:23:38 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:use-module (gnu packages webkit)
|
2018-02-21 18:10:51 -05:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2020-03-24 05:20:27 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg))
|
2016-03-05 02:33:09 -05:00
|
|
|
|
|
2020-07-25 06:37:47 -04:00
|
|
|
|
(define-public memphis
|
|
|
|
|
(package
|
|
|
|
|
(name "memphis")
|
|
|
|
|
(version "0.2.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/jiuka/memphis.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "068c3943pgbpfjq44pmvn5fmkh005ak5aa67vvrq3fn487c6w54q"))))
|
|
|
|
|
(build-system glib-or-gtk-build-system)
|
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"--disable-static"
|
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
|
"--enable-vala"
|
|
|
|
|
(string-append "--with-html-dir="
|
|
|
|
|
(assoc-ref %outputs "doc")
|
|
|
|
|
"/share/gtk-doc/html"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("\\./configure \"\\$@\"")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'patch-autogen 'patch-docbook-xml
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "docs/reference"
|
|
|
|
|
(substitute* "libmemphis-docs.sgml"
|
|
|
|
|
(("http://www.oasis-open.org/docbook/xml/4.3/")
|
|
|
|
|
(string-append (assoc-ref inputs "docbook-xml")
|
|
|
|
|
"/xml/dtd/docbook/"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("docbook-xml" ,docbook-xml-4.3)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("seed" ,seed)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("glib" ,glib)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("cairo" ,cairo)))
|
|
|
|
|
(synopsis "Map-rendering for OpenSteetMap")
|
|
|
|
|
(description "Memphis is a map-rendering application and a library for
|
|
|
|
|
OpenStreetMap written in C using eXpat, Cairo and GLib.")
|
|
|
|
|
(home-page "http://trac.openstreetmap.ch/trac/memphis/")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2017-01-20 12:35:31 -05:00
|
|
|
|
(define-public geos
|
|
|
|
|
(package
|
|
|
|
|
(name "geos")
|
2020-08-11 13:25:19 -04:00
|
|
|
|
(version "3.8.1")
|
2017-01-20 12:35:31 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/geos/geos-"
|
|
|
|
|
version
|
|
|
|
|
".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-11 13:25:19 -04:00
|
|
|
|
"1xqpmr10xi0n9sj47fbwc89qb0yr9imh4ybk0jsxpffy111syn22"))))
|
2017-01-20 12:35:31 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'unpack 'patch-test-shebangs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("tests/xmltester/testrunner.sh"
|
|
|
|
|
"tests/geostest/testrunner.sh")
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
|
|
|
|
(home-page "https://geos.osgeo.org/")
|
|
|
|
|
(synopsis "Geometry Engine for Geographic Information Systems")
|
|
|
|
|
(description
|
|
|
|
|
"GEOS provides a spatial object model and fundamental geometric
|
|
|
|
|
functions. It is a C++ port of the Java Topology Suite (JTS). As such,
|
|
|
|
|
it aims to contain the complete functionality of JTS in C++. This
|
|
|
|
|
includes all the OpenGIS Simple Features for SQL spatial predicate
|
|
|
|
|
functions and spatial operators, as well as specific JTS enhanced
|
|
|
|
|
topology functions.")
|
|
|
|
|
(license (list license:lgpl2.1+ ; Main distribution.
|
|
|
|
|
license:zlib ; tests/xmltester/tinyxml/*
|
|
|
|
|
license:public-domain)))) ; include/geos/timeval.h
|
|
|
|
|
|
2016-03-05 02:33:09 -05:00
|
|
|
|
(define-public gnome-maps
|
|
|
|
|
(package
|
|
|
|
|
(name "gnome-maps")
|
2019-12-23 13:06:46 -05:00
|
|
|
|
(version "3.34.2")
|
2016-03-05 02:33:09 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-23 13:06:46 -05:00
|
|
|
|
"00xslcnhhwslqglgfv2im7vq3awa49y2jxzr8wsby7f713k28vf5"))))
|
2018-12-06 17:26:25 -05:00
|
|
|
|
(build-system meson-build-system)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
(arguments
|
2018-12-06 17:26:25 -05:00
|
|
|
|
`(#:glib-or-gtk? #t
|
2016-03-05 02:33:09 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-11-06 02:20:47 -05:00
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
;; Don't create 'icon-theme.cache'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "meson_post_install.py"
|
|
|
|
|
(("gtk-update-icon-cache") "true"))
|
|
|
|
|
#t))
|
2017-11-02 14:40:17 -04:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
2018-12-06 17:26:25 -05:00
|
|
|
|
(geocode-glib-path (string-append
|
|
|
|
|
(assoc-ref inputs "geocode-glib")
|
|
|
|
|
"/lib"))
|
2017-11-02 14:40:17 -04:00
|
|
|
|
(goa-path (string-append
|
2019-07-28 08:49:00 -04:00
|
|
|
|
(assoc-ref inputs "gnome-online-accounts:lib")
|
2017-11-02 14:40:17 -04:00
|
|
|
|
"/lib"))
|
2019-07-28 08:49:00 -04:00
|
|
|
|
(gdk-pixbuf-path (string-append
|
|
|
|
|
(assoc-ref inputs "gdk-pixbuf")
|
|
|
|
|
"/lib"))
|
2017-11-02 14:40:17 -04:00
|
|
|
|
(webkitgtk-path (string-append
|
|
|
|
|
(assoc-ref inputs "webkitgtk")
|
|
|
|
|
"/lib")))
|
|
|
|
|
(wrap-program (string-append out "/bin/gnome-maps")
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
2016-03-05 02:33:09 -05:00
|
|
|
|
|
2017-11-02 14:40:17 -04:00
|
|
|
|
;; There seems to be no way to embed the path of
|
2018-12-06 17:26:25 -05:00
|
|
|
|
;; libgoa-1.0.so.0, libwebkit2gtk-4.0.so.37,
|
2019-07-28 08:49:00 -04:00
|
|
|
|
;; libgdk_pixbuf-2.0.so, libjavascriptcoregtk-4.0.so.18, and
|
|
|
|
|
;; libgeocode-glib.so.0
|
2018-12-06 17:26:25 -05:00
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix (,goa-path
|
|
|
|
|
,webkitgtk-path
|
2019-07-28 08:49:00 -04:00
|
|
|
|
,gdk-pixbuf-path
|
2018-12-06 17:26:25 -05:00
|
|
|
|
,geocode-glib-path)))
|
2017-11-02 14:40:17 -04:00
|
|
|
|
#t))))))
|
2016-03-05 02:33:09 -05:00
|
|
|
|
(native-inputs
|
2020-05-04 08:43:58 -04:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2020-05-04 08:39:56 -04:00
|
|
|
|
`(("evolution-data-server" ,evolution-data-server)
|
|
|
|
|
("folks" ,folks)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
("libchamplain" ,libchamplain)
|
|
|
|
|
("libgee" ,libgee)
|
2018-01-23 02:44:53 -05:00
|
|
|
|
("libsecret" ,libsecret)
|
|
|
|
|
("libsoup" ,libsoup)
|
|
|
|
|
("libgweather" ,libgweather)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
("libxml2" ,libxml2)
|
2019-07-28 08:49:00 -04:00
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf+svg)
|
2018-01-23 02:44:53 -05:00
|
|
|
|
("glib-networking" ,glib-networking)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
("geoclue" ,geoclue)
|
|
|
|
|
("geocode-glib" ,geocode-glib)
|
|
|
|
|
("gfbgraph" ,gfbgraph)
|
|
|
|
|
("gjs" ,gjs)
|
|
|
|
|
("glib" ,glib)
|
2019-07-28 08:49:00 -04:00
|
|
|
|
("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
|
2018-01-23 02:44:53 -05:00
|
|
|
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
2020-05-04 08:41:46 -04:00
|
|
|
|
("gtk+" ,gtk+)
|
2016-03-05 02:33:09 -05:00
|
|
|
|
("rest" ,rest)
|
|
|
|
|
("webkitgtk" ,webkitgtk)))
|
|
|
|
|
(synopsis "Graphical map viewer and wayfinding program")
|
|
|
|
|
(description "GNOME Maps is a graphical map viewer. It uses map data from
|
|
|
|
|
the OpenStreetMap project. It can provide directions for walking, bicycling,
|
|
|
|
|
and driving.")
|
|
|
|
|
(home-page "https://wiki.gnome.org/Apps/Maps")
|
2017-01-16 15:05:12 -05:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-02-21 18:08:41 -05:00
|
|
|
|
(define-public libgaiagraphics
|
|
|
|
|
(package
|
|
|
|
|
(name "libgaiagraphics")
|
|
|
|
|
(version "0.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/libgaiagraphics-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"076afqv417ag3hfvnif0qc7qscmnq1dsf6y431yygwgf34rjkayc"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("libpng" ,libpng)
|
2018-07-20 09:38:09 -04:00
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
2018-02-21 18:08:41 -05:00
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libgeotiff" ,libgeotiff)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Gaia common graphics support")
|
|
|
|
|
(description "libgaiagraphics is a library supporting
|
|
|
|
|
common-utility raster handling methods.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/libgaiagraphics/index")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(define-public libgeotiff
|
|
|
|
|
(package
|
|
|
|
|
(name "libgeotiff")
|
2019-12-04 15:17:47 -05:00
|
|
|
|
(version "1.5.1")
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-"
|
|
|
|
|
version ".tar.gz"))
|
2019-12-04 15:17:47 -05:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
;; See libgeotiff 1.5.1 issue
|
|
|
|
|
;; https://github.com/OSGeo/libgeotiff/issues/22
|
|
|
|
|
"libgeotiff-adapt-test-script-for-proj-6.2.patch"))
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(sha256
|
2019-12-04 15:17:47 -05:00
|
|
|
|
(base32 "0b31mlzcv5b1y7jdvb7p0pa3xradrg3x5g32ym911lbhq4rrgsgr"))
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove .csv files, distributed from EPSG under a restricted
|
|
|
|
|
;; license. See LICENSE for full license text.
|
|
|
|
|
(for-each delete-file (find-files "." "\\.csv$"))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
#t))))
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("zlib" ,zlib)))
|
2020-01-07 08:28:09 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(;; libgeotiff headers include proj headers, so ensure those are available.
|
|
|
|
|
("proj" ,proj)))
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-01-07 08:28:53 -05:00
|
|
|
|
(list "--disable-static"
|
|
|
|
|
"--with-zlib" "--with-jpeg"
|
2017-07-20 11:50:18 -04:00
|
|
|
|
(string-append "--with-libtiff=" (assoc-ref %build-inputs "libtiff")))))
|
|
|
|
|
(synopsis "Library for handling GeoTIFF (geographic enabled TIFF)")
|
|
|
|
|
(description "libgeotiff is a library on top of libtiff for reading and
|
|
|
|
|
writing GeoTIFF information tags.")
|
|
|
|
|
(home-page "https://trac.osgeo.org/geotiff/")
|
|
|
|
|
;; This is a mixture of various contributions under different licenses.
|
|
|
|
|
;; Note that the EPSG database is NOT "free to use" as the LICENSE file
|
|
|
|
|
;; states, as its commercial redistribution is restricted. Hence, we have
|
|
|
|
|
;; removed it from the package.
|
|
|
|
|
(license (list license:public-domain
|
|
|
|
|
license:x11
|
|
|
|
|
license:bsd-3
|
|
|
|
|
(license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution.")))))
|
|
|
|
|
|
2018-02-21 18:07:47 -05:00
|
|
|
|
(define-public libspatialite
|
|
|
|
|
(package
|
|
|
|
|
(name "libspatialite")
|
|
|
|
|
(version "4.3.0a")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/libspatialite-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16d4lpl7xrm9zy4gphy6nwanpjp8wn9g4wq2i2kh8abnlhq01448"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freexl" ,freexl)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; 3 tests are failing, ignore them:
|
|
|
|
|
(add-after 'unpack 'ignore-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("test/Makefile.in")
|
|
|
|
|
(("\tcheck_sql_stm.*" all) "\tcheck_multithread$(EXEEXT) \\\n")
|
|
|
|
|
(("(\tch.*) check_v.*ble2.*$" all vt1) (string-append vt1 " \\\n"))
|
|
|
|
|
(("\tch.* (check_v.*ble4.*)$" all vt4) (string-append "\t" vt4)))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Extend SQLite to support Spatial SQL capabilities")
|
|
|
|
|
(description
|
|
|
|
|
"SpatiaLite is a library intended to extend the SQLite core to support
|
|
|
|
|
fully fledged Spatial SQL capabilities.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/libspatialite/index")
|
|
|
|
|
;; For the genuine libspatialite-sources holds:
|
|
|
|
|
;; Any of the licenses MPL1.1, GPL2+ or LGPL2.1+ may be picked.
|
|
|
|
|
;; Files under src/control_points are from GRASS
|
|
|
|
|
;; and are licensed under GPL2+ only.
|
|
|
|
|
;; src/md5.[ch]: Placed into the public domain by Alexander Peslyak.
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1
|
|
|
|
|
license:public-domain))))
|
|
|
|
|
|
2019-12-04 15:13:42 -05:00
|
|
|
|
(define-public proj
|
|
|
|
|
(package
|
|
|
|
|
(name "proj")
|
2020-03-08 12:23:04 -04:00
|
|
|
|
(version "6.3.1")
|
2019-12-04 15:13:42 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/proj/proj-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-08 12:23:04 -04:00
|
|
|
|
"1y46ij32j9b4x1kjnnlykcwk3kkjwkg44sfc1ziwm3a3g0ki3q3d"))))
|
2019-12-04 15:13:42 -05:00
|
|
|
|
(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))))
|
|
|
|
|
|
2017-01-16 15:05:12 -05:00
|
|
|
|
(define-public proj.4
|
|
|
|
|
(package
|
|
|
|
|
(name "proj.4")
|
|
|
|
|
(version "4.9.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/proj/proj-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xw5f427xk9p2nbsj04j6m5zyjlyd66sbvl2bkg8hd1kx8pm9139"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-test-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("nad/test27"
|
|
|
|
|
"nad/test83"
|
|
|
|
|
"nad/testvarious"
|
|
|
|
|
"nad/testdatumfile"
|
|
|
|
|
"nad/testflaky"
|
|
|
|
|
"nad/testIGNF")
|
|
|
|
|
(("/bin/rm") (which "rm")))
|
|
|
|
|
#t))
|
|
|
|
|
;; Precision problems on i686 and other platforms. See:
|
|
|
|
|
;; https://web.archive.org/web/20151006134301/http://trac.osgeo.org/proj/ticket/255
|
|
|
|
|
;; Disable failing test.
|
|
|
|
|
(add-after 'patch-test-paths 'ignore-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("nad/Makefile.in")
|
|
|
|
|
(("\tPROJ_LIB.*" all) (string-append "#" all)))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
2020-01-18 14:41:48 -05:00
|
|
|
|
(home-page "https://proj.org/")
|
2017-01-16 15:05:12 -05:00
|
|
|
|
(synopsis "Cartographic Projections Library")
|
|
|
|
|
(description
|
|
|
|
|
"Proj.4 is a library for converting coordinates between cartographic
|
|
|
|
|
projections.")
|
|
|
|
|
(license (list license:expat
|
|
|
|
|
;; src/PJ_patterson.c
|
|
|
|
|
license:asl2.0
|
|
|
|
|
;; src/geodesic.c/h
|
|
|
|
|
license:x11
|
|
|
|
|
;; Embedded EPSG database.
|
|
|
|
|
(license:non-copyleft "http://www.epsg.org/TermsOfUse")
|
|
|
|
|
;; cmake/*
|
|
|
|
|
license:boost1.0))))
|
2018-02-15 17:09:37 -05:00
|
|
|
|
|
|
|
|
|
(define-public mapnik
|
|
|
|
|
(package
|
|
|
|
|
(name "mapnik")
|
|
|
|
|
(version "3.0.18")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mapnik/mapnik/releases/download/v"
|
|
|
|
|
version "/mapnik-v" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06frcikaj2mgz3abfk5h0z4j3hbksi0zikwjngbjv4p5f3pwxf8q"))))
|
|
|
|
|
(build-system scons-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:scons ,scons-python2
|
|
|
|
|
#:scons-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "CUSTOM_LDFLAGS=-Wl,-rpath=" %output "/lib"))))
|
2020-01-18 15:52:08 -05:00
|
|
|
|
(home-page "https://mapnik.org/")
|
2018-02-15 17:09:37 -05:00
|
|
|
|
(synopsis "Toolkit for developing mapping applications")
|
|
|
|
|
(description "Mapnik is a toolkit for developing mapping applications. It
|
|
|
|
|
is basically a collection of geographic objects like maps, layers,
|
|
|
|
|
datasources, features, and geometries. At its core is a C++ shared library
|
|
|
|
|
providing algorithms and patterns for spatial data access and visualization.
|
|
|
|
|
The library does not rely on any specific windowing system and can be deployed
|
|
|
|
|
to any server environment. It is intended to play fair in a multi-threaded
|
|
|
|
|
environment and is aimed primarily, but not exclusively, at web-based
|
|
|
|
|
development.")
|
|
|
|
|
(license (list license:lgpl2.1+
|
|
|
|
|
;; demo/viewer, demo/python/rundemo.py
|
|
|
|
|
license:gpl2+
|
|
|
|
|
;; deps/boost, deps/mapbox, deps/agg/include/agg_conv_offset.h
|
|
|
|
|
license:boost1.0
|
|
|
|
|
;; deps/mapnik/sparsehash
|
|
|
|
|
license:bsd-3
|
|
|
|
|
;; deps/agg
|
|
|
|
|
(license:non-copyleft "file://deps/agg/copying")))))
|
|
|
|
|
|
2018-02-15 17:10:08 -05:00
|
|
|
|
(define-public python2-mapnik
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-mapnik")
|
|
|
|
|
(version "3.0.16")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mapnik/python-mapnik/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0w7wg72gnwmbjani9sqk42p2jwqkrl9hsdkawahni5m05xsifcb4"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
|
("mapnik" ,mapnik)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("python2-pycairo" ,python2-pycairo)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(let ((test-data-input
|
|
|
|
|
(lambda (repository version hash)
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mapnik/" repository
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "python-mapnik-" repository
|
|
|
|
|
"-" version ".tar.gz"))
|
|
|
|
|
(sha256 (base32 hash))))))
|
|
|
|
|
`(("python2-nose" ,python2-nose)
|
|
|
|
|
;; Test data is released as separate tarballs
|
|
|
|
|
("test-data"
|
|
|
|
|
,(test-data-input "test-data" "3.0.18"
|
|
|
|
|
"10cvgn5gxn8ldrszj24zr1vzm5w76kqk4s7bl2zzp5yvkhh8lj1n"))
|
|
|
|
|
("test-data-visual"
|
|
|
|
|
,(test-data-input "test-data-visual" "3.0.18"
|
|
|
|
|
"1cb9ghy8sis0w5fkp0dvwxdqqx44rhs9a9w8g9r9i7md1c40r80i")))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2 ; Python 3 support is incomplete, and the build fails
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Unpack test data into the source tree
|
|
|
|
|
(add-after 'unpack 'unpack-submodules
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((unpack (lambda (source target)
|
|
|
|
|
(with-directory-excursion target
|
|
|
|
|
(invoke "tar" "xvf" (assoc-ref inputs source)
|
|
|
|
|
"--strip-components=1")))))
|
|
|
|
|
(unpack "test-data" "test/data")
|
|
|
|
|
(unpack "test-data-visual" "test/data-visual"))))
|
|
|
|
|
;; Skip failing tests
|
|
|
|
|
(add-after 'unpack 'skip-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((skipped-tests (list "test_vrt_referring_to_missing_files"
|
|
|
|
|
"test_unicode_regex_replace"
|
|
|
|
|
"test_proj_antimeridian_bbox"
|
|
|
|
|
"test_render_with_scale_factor")))
|
|
|
|
|
(substitute* "setup.cfg"
|
|
|
|
|
(("\\[nosetests\\]" all)
|
|
|
|
|
(string-append all "\nexclude=^("
|
|
|
|
|
(string-join skipped-tests "|") ")$")))))))))
|
|
|
|
|
(home-page "https://github.com/mapnik/python-mapnik")
|
|
|
|
|
(synopsis "Python bindings for Mapnik")
|
|
|
|
|
(description "This package provides Python bindings for Mapnik.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2018-02-21 18:10:51 -05:00
|
|
|
|
|
|
|
|
|
(define-public spatialite-gui
|
|
|
|
|
(package
|
|
|
|
|
(name "spatialite-gui")
|
|
|
|
|
(version "1.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/spatialite_gui-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1r05dz9pyc8vsd2wbqxcsracpfbaamz470rcyp2myfpqwznv376b"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freexl" ,freexl)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("libgaiagraphics" ,libgaiagraphics)
|
2020-03-09 09:20:21 -04:00
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
2018-02-21 18:10:51 -05:00
|
|
|
|
("libspatialite" ,libspatialite)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("wxwidgets" ,wxwidgets-2)
|
|
|
|
|
("zlib" ,zlib)))
|
2020-03-11 14:33:25 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-gui
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Fix for the GUI not showing up.
|
|
|
|
|
(substitute* "Main.cpp"
|
|
|
|
|
(("Hide\\(\\);") ""))
|
|
|
|
|
#t)))))
|
2018-02-21 18:10:51 -05:00
|
|
|
|
(synopsis "Graphical user interface for SpatiaLite")
|
|
|
|
|
(description "Spatialite-gui provides a visual interface for viewing and
|
|
|
|
|
maintaining a spatialite database. You can easily see the structure of the
|
|
|
|
|
tables and data contents using point and click functions, many of which
|
|
|
|
|
construct common SQL queries, or craft your own SQL queries.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/spatialite_gui/index")
|
|
|
|
|
(license license:gpl3+)))
|
2018-02-17 16:11:25 -05:00
|
|
|
|
|
2018-04-16 04:36:53 -04:00
|
|
|
|
(define-public gdal
|
|
|
|
|
(package
|
|
|
|
|
(name "gdal")
|
2020-07-16 17:03:45 -04:00
|
|
|
|
(version "3.1.2")
|
2018-04-16 04:36:53 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.osgeo.org/gdal/" version "/gdal-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-07-16 17:03:45 -04:00
|
|
|
|
"1p6nmlsr8wbyq350pa6c22vrp98dcsa7yjnqsbhdbp74yj53nw9r"))
|
2018-04-16 04:36:53 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
`(begin
|
|
|
|
|
;; TODO: frmts contains a lot more bundled code.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
;; bundled code
|
|
|
|
|
'("frmts/png/libpng"
|
|
|
|
|
"frmts/gif/giflib"
|
|
|
|
|
"frmts/jpeg/libjpeg"
|
|
|
|
|
"frmts/jpeg/libjpeg12"
|
|
|
|
|
"frmts/gtiff/libtiff"
|
|
|
|
|
"frmts/gtiff/libgeotiff"
|
|
|
|
|
"frmts/zlib"
|
|
|
|
|
"ogr/ogrsf_frmts/geojson/libjson"))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(let-syntax ((with (syntax-rules ()
|
|
|
|
|
((_ option input)
|
|
|
|
|
(string-append option "="
|
|
|
|
|
(assoc-ref %build-inputs input))))))
|
|
|
|
|
(list
|
|
|
|
|
;; TODO: --with-pcidsk, --with-pcraster
|
|
|
|
|
(with "--with-freexl" "freexl")
|
|
|
|
|
(with "--with-libjson-c" "json-c")
|
|
|
|
|
(with "--with-png" "libpng")
|
|
|
|
|
(with "--with-webp" "libwebp")
|
|
|
|
|
(with "--with-gif" "giflib")
|
2018-05-24 16:12:37 -04:00
|
|
|
|
(with "--with-jpeg" "libjpeg-turbo")
|
2018-04-16 04:36:53 -04:00
|
|
|
|
(with "--with-libtiff" "libtiff")
|
|
|
|
|
(with "--with-geotiff" "libgeotiff")
|
|
|
|
|
(with "--with-libz" "zlib")
|
2019-12-20 11:06:50 -05:00
|
|
|
|
(with "--with-expat" "expat")
|
2019-12-20 11:09:22 -05:00
|
|
|
|
(with "--with-sqlite3" "sqlite")
|
2018-04-16 04:36:53 -04:00
|
|
|
|
"--with-pcre"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "frmts/mrf/mrf_band.cpp"
|
|
|
|
|
(("\"../zlib/zlib.h\"") "<zlib.h>")))))))
|
|
|
|
|
(inputs
|
2019-12-20 11:06:50 -05:00
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("freexl" ,freexl)
|
2018-04-16 04:36:53 -04:00
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("giflib" ,giflib)
|
|
|
|
|
("json-c" ,json-c)
|
|
|
|
|
("libgeotiff" ,libgeotiff)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libwebp" ,libwebp)
|
2019-12-20 11:24:44 -05:00
|
|
|
|
("netcdf" ,netcdf)
|
2018-04-16 04:36:53 -04:00
|
|
|
|
("pcre" ,pcre)
|
2020-07-16 16:40:45 -04:00
|
|
|
|
("postgresql" ,postgresql) ; libpq
|
2019-12-04 15:15:30 -05:00
|
|
|
|
("proj" ,proj)
|
2019-12-20 11:09:22 -05:00
|
|
|
|
("sqlite" ,sqlite)
|
2018-04-16 04:36:53 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2020-07-16 16:40:45 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2019-12-26 05:50:16 -05:00
|
|
|
|
(home-page "https://gdal.org/")
|
2018-04-16 04:36:53 -04:00
|
|
|
|
(synopsis "Raster and vector geospatial data format library")
|
|
|
|
|
(description "GDAL is a translator library for raster and vector geospatial
|
|
|
|
|
data formats. As a library, it presents a single raster abstract data model
|
|
|
|
|
and single vector abstract data model to the calling application for all
|
|
|
|
|
supported formats. It also comes with a variety of useful command line
|
|
|
|
|
utilities for data translation and processing.")
|
|
|
|
|
(license (list
|
|
|
|
|
;; general license
|
|
|
|
|
license:expat
|
|
|
|
|
;; frmts/gtiff/tif_float.c, frmts/pcraster/libcsf,
|
|
|
|
|
;; ogr/ogrsf_frmts/dxf/intronurbs.cpp, frmts/pdf/pdfdataset.cpp
|
|
|
|
|
;; frmts/mrf/
|
|
|
|
|
license:bsd-3
|
|
|
|
|
;; frmts/hdf4/hdf-eos/*
|
|
|
|
|
;; similar to the expat license, but without guarantee exclusion
|
|
|
|
|
(license:non-copyleft "file://frmts/hdf4/hdf-eos/README")
|
|
|
|
|
;; frmts/grib/degrib/
|
|
|
|
|
license:public-domain ; with guarantee exclusion
|
|
|
|
|
;; port/cpl_minizip*
|
|
|
|
|
;; Some bsd-inspired license
|
|
|
|
|
(license:non-copyleft "file://port/LICENCE_minizip")
|
|
|
|
|
;; alg/internal_libqhull
|
|
|
|
|
;; Some 5-clause license
|
|
|
|
|
(license:non-copyleft "file://alg/internal_libqhull/COPYING.txt")
|
|
|
|
|
;; frmts/mrf/libLERC
|
|
|
|
|
license:asl2.0))))
|
2018-04-16 04:45:52 -04:00
|
|
|
|
|
2019-07-20 10:39:33 -04:00
|
|
|
|
(define-public python-gdal
|
|
|
|
|
(package (inherit gdal)
|
|
|
|
|
(name "python-gdal")
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "swig/python")
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs '())
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-numpy" ,python-numpy)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gdal" ,gdal)))
|
|
|
|
|
(synopsis "GDAL (Geospatial Data Abstraction Library) python bindings")))
|
|
|
|
|
|
2018-04-16 04:45:52 -04:00
|
|
|
|
(define-public postgis
|
|
|
|
|
(package
|
|
|
|
|
(name "postgis")
|
2020-08-18 17:26:32 -04:00
|
|
|
|
(version "3.0.2")
|
2018-04-16 04:45:52 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.osgeo.org/postgis/source/postgis-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-18 17:26:32 -04:00
|
|
|
|
"1jmji8i2wjabkrzqil683lypnmimigdmn64a10j3kj3kzlfn98d3"))))
|
2018-04-16 04:45:52 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "datadir=" (assoc-ref %outputs "out") "/share")
|
|
|
|
|
(string-append "docdir="(assoc-ref %outputs "out") "/share/doc")
|
|
|
|
|
(string-append "pkglibdir="(assoc-ref %outputs "out") "/lib")
|
|
|
|
|
(string-append "bindir=" (assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'fix-install-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* '("raster/loader/Makefile" "raster/scripts/python/Makefile")
|
|
|
|
|
(("\\$\\(DESTDIR\\)\\$\\(PGSQL_BINDIR\\)")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/bin"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gdal" ,gdal)
|
|
|
|
|
("geos" ,geos)
|
2020-05-10 04:06:19 -04:00
|
|
|
|
("giflib" ,giflib)
|
2019-12-20 08:22:38 -05:00
|
|
|
|
("json-c" ,json-c)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-04-16 04:45:52 -04:00
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("postgresql" ,postgresql)
|
2019-12-20 08:22:38 -05:00
|
|
|
|
("proj" ,proj)))
|
2018-04-16 04:45:52 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://postgis.net")
|
|
|
|
|
(synopsis "Spatial database extender for PostgreSQL")
|
|
|
|
|
(description "PostGIS is a spatial database extender for PostgreSQL
|
|
|
|
|
object-relational database. It adds support for geographic objects allowing
|
2018-10-04 16:23:54 -04:00
|
|
|
|
location queries to be run in SQL. This package provides a PostgreSQL
|
|
|
|
|
extension.")
|
2018-04-16 04:45:52 -04:00
|
|
|
|
(license (list
|
|
|
|
|
;; General license
|
|
|
|
|
license:gpl2+
|
|
|
|
|
;; loader/dbfopen, safileio.*, shapefil.h, shpopen.c
|
|
|
|
|
license:expat
|
|
|
|
|
;; loader/getopt.*
|
|
|
|
|
license:public-domain
|
|
|
|
|
;; doc/xsl
|
|
|
|
|
license:bsd-3 ; files only say "BSD"
|
|
|
|
|
;; doc
|
|
|
|
|
license:cc-by-sa3.0))))
|
2018-09-23 16:36:15 -04:00
|
|
|
|
|
|
|
|
|
(define-public tegola
|
|
|
|
|
(package
|
|
|
|
|
(name "tegola")
|
|
|
|
|
(version "0.7.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/go-spatial/tegola/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09vnzxfn0r70kmd776kcdfqxhzdj11syxa0b27z4ci1k367v7viw"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/go-spatial/tegola/cmd/tegola"
|
2019-05-06 23:10:36 -04:00
|
|
|
|
#:unpack-path "github.com/go-spatial/tegola"
|
2018-09-23 16:36:15 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-version
|
|
|
|
|
(lambda _
|
2019-05-06 23:10:36 -04:00
|
|
|
|
(with-directory-excursion "src/github.com/go-spatial/tegola"
|
2018-09-23 16:36:15 -04:00
|
|
|
|
(substitute* '("cmd/tegola/cmd/root.go"
|
|
|
|
|
"cmd/tegola_lambda/main.go")
|
|
|
|
|
(("version not set") ,version)))
|
|
|
|
|
#t)))))
|
2020-01-18 19:06:10 -05:00
|
|
|
|
(home-page "https://tegola.io")
|
2018-09-23 16:36:15 -04:00
|
|
|
|
(synopsis "Vector tile server for maps")
|
|
|
|
|
(description "Tegola is a free vector tile server written in Go. Tegola
|
|
|
|
|
takes geospatial data and slices it into vector tiles that can be efficiently
|
|
|
|
|
delivered to any client.")
|
|
|
|
|
(license (list
|
|
|
|
|
license:expat
|
|
|
|
|
;; Some packages in vendor have other licenses
|
|
|
|
|
license:asl2.0
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:wtfpl2))))
|
2018-09-23 16:36:45 -04:00
|
|
|
|
|
|
|
|
|
(define-public imposm3
|
|
|
|
|
(package
|
|
|
|
|
(name "imposm3")
|
|
|
|
|
(version "0.6.0-alpha.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/omniscale/imposm3/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"06f0kwmv52yd5m9jlckqxqmkf0cnqy3hamakrvg9lspplyqrds80"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/omniscale/imposm3/cmd/imposm"
|
2019-05-06 23:05:05 -04:00
|
|
|
|
#:unpack-path "github.com/omniscale/imposm3"
|
2018-09-23 16:36:45 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/github.com/omniscale/imposm3/version.go"
|
|
|
|
|
(("0.0.0-dev") ,version))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("geos" ,geos)
|
|
|
|
|
("leveldb" ,leveldb)))
|
|
|
|
|
(home-page "https://imposm.org/")
|
|
|
|
|
(synopsis "OpenStreetMap importer for PostGIS")
|
|
|
|
|
(description "Imposm is an importer for OpenStreetMap data. It reads PBF
|
|
|
|
|
files and imports the data into PostgreSQL/PostGIS databases. It is designed
|
|
|
|
|
to create databases that are optimized for rendering/tile/map-services.")
|
|
|
|
|
(license (list
|
|
|
|
|
license:asl2.0
|
|
|
|
|
;; Some dependencies in vendor have different licenses
|
|
|
|
|
license:expat
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3))))
|
2018-09-27 16:16:31 -04:00
|
|
|
|
|
2018-09-27 16:38:32 -04:00
|
|
|
|
(define-public libosmium
|
|
|
|
|
(package
|
|
|
|
|
(name "libosmium")
|
2020-07-17 03:18:17 -04:00
|
|
|
|
(version "2.15.6")
|
2018-09-27 16:38:32 -04:00
|
|
|
|
(source
|
2019-04-08 17:52:43 -04:00
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/osmcode/libosmium")
|
2019-04-08 17:52:43 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-07-17 03:18:17 -04:00
|
|
|
|
(base32 "0rqy18bbakp41f44y5id9ixh0ar2dby46z17p4115z8k1vv9znq2"))))
|
2018-09-27 16:38:32 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("boost" ,boost)
|
2020-03-20 12:44:06 -04:00
|
|
|
|
("bzip2" ,bzip2)
|
2018-09-27 16:38:32 -04:00
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("gdal" ,gdal)
|
|
|
|
|
("geos" ,geos)
|
2020-03-20 12:44:06 -04:00
|
|
|
|
("proj" ,proj)
|
2018-09-27 16:38:32 -04:00
|
|
|
|
("protozero" ,protozero)
|
|
|
|
|
("sparsehash" ,sparsehash)
|
2020-03-20 12:44:06 -04:00
|
|
|
|
("utfcpp" ,utfcpp)
|
2018-09-27 16:38:32 -04:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("doxygen" ,doxygen)))
|
|
|
|
|
(home-page "https://osmcode.org/libosmium/")
|
|
|
|
|
(synopsis "C++ library for working with OpenStreetMap data")
|
|
|
|
|
(description "Libosmium is a fast and flexible C++ library for working with
|
|
|
|
|
OpenStreetMap data.")
|
|
|
|
|
(license license:boost1.0)))
|
2018-09-23 16:37:17 -04:00
|
|
|
|
|
|
|
|
|
(define-public osm2pgsql
|
|
|
|
|
(package
|
|
|
|
|
(name "osm2pgsql")
|
2020-07-17 03:22:06 -04:00
|
|
|
|
(version "1.2.2")
|
2019-04-08 17:53:04 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/openstreetmap/osm2pgsql")
|
2019-04-08 17:53:04 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-07-17 03:22:06 -04:00
|
|
|
|
(base32 "1j35aa8qinhavliqi5pdm0viyi7lm5xyk402rliaxxs1r2hbsafn"))
|
2019-04-08 17:53:04 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "contrib/protozero")
|
|
|
|
|
(delete-file-recursively "contrib/libosmium")
|
|
|
|
|
#t))))
|
2018-09-23 16:37:17 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f; tests fail because we need to setup a database
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "-DOSMIUM_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "libosmium")
|
|
|
|
|
"/include")
|
|
|
|
|
(string-append "-DPROTOZERO_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "protozero")
|
|
|
|
|
"/include"))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
2020-03-20 12:57:35 -04:00
|
|
|
|
("bzip2" ,bzip2)
|
2018-09-23 16:37:17 -04:00
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("libosmium" ,libosmium)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("postgresql" ,postgresql)
|
2020-03-20 12:57:35 -04:00
|
|
|
|
("proj" ,proj)
|
2018-09-23 16:37:17 -04:00
|
|
|
|
("protozero" ,protozero)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
2020-03-20 12:57:35 -04:00
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("python-psycopg2" ,python-psycopg2)))
|
2018-09-23 16:37:17 -04:00
|
|
|
|
(home-page "https://github.com/openstreetmap/osm2pgsql")
|
|
|
|
|
(synopsis "OSM data importer to postgresql")
|
|
|
|
|
(description "Osm2pgsql is a tool for loading OpenStreetMap data into a
|
|
|
|
|
PostgreSQL / PostGIS database suitable for applications like rendering into a
|
|
|
|
|
map, geocoding with Nominatim, or general analysis.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-09-27 16:12:46 -04:00
|
|
|
|
|
|
|
|
|
(define-public tippecanoe
|
|
|
|
|
(package
|
|
|
|
|
(name "tippecanoe")
|
|
|
|
|
(version "1.31.5")
|
2019-04-08 17:53:18 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/mapbox/tippecanoe")
|
2019-04-08 17:53:18 -04:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1m0x931a945sr7axyhcvpwh798m58hx1zxh6ikgf9gsgqhdhmszz"))))
|
2018-09-27 16:12:46 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases (delete 'configure))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://github.com/mapbox/tippecanoe")
|
|
|
|
|
(synopsis "Vector tile server for maps")
|
|
|
|
|
(description "Tippecanoe creates scale-independent view of data, so that
|
|
|
|
|
the texture and density of features is visible at every zoom level, instead of
|
|
|
|
|
dropping features at lower levels.")
|
|
|
|
|
(license license:bsd-2)))
|
2019-05-27 11:05:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public osmctools
|
|
|
|
|
(package
|
|
|
|
|
(name "osmctools")
|
|
|
|
|
(version "0.9")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/osm-c-tools/osmctools")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m8d3r1q1v05pkr8k9czrmb4xjszw6hvgsf3kn9pf0v14gpn4r8f"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://gitlab.com/osm-c-tools/osmctools")
|
|
|
|
|
(synopsis "Tools to convert, filter and update OpenStreetMap data files")
|
|
|
|
|
(description "This project contains a few tools which are used in the
|
|
|
|
|
OpenStreetMap project. They can be used to convert, filter and update
|
|
|
|
|
OpenStreetMap data files.")
|
|
|
|
|
(license license:agpl3)))
|
2019-06-14 13:27:50 -04:00
|
|
|
|
|
|
|
|
|
(define-public osm-gps-map
|
|
|
|
|
(package
|
|
|
|
|
(name "osm-gps-map")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/nzjrs/osm-gps-map/releases/download/"
|
|
|
|
|
version "/osm-gps-map-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11imsf4cz1dpxdjh178k2s29axmq86rkfg1pqmn7incyxmjzhbwg"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gnome-common" ,gnome-common)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libsoup" ,libsoup)))
|
|
|
|
|
(home-page "https://nzjrs.github.io/osm-gps-map/")
|
|
|
|
|
(synopsis "GTK+ widget for displaying OpenStreetMap tiles")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a GTK+ widget (and Python bindings) that when
|
|
|
|
|
given GPS coordinates,draws a GPS track, and points of interest on a moving
|
|
|
|
|
map display. Downloads map data from a number of websites, including
|
|
|
|
|
@url{https://www.openstreetmap.org}.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-07-14 14:00:46 -04:00
|
|
|
|
|
|
|
|
|
(define-public xygrib
|
|
|
|
|
(package
|
|
|
|
|
(name "xygrib")
|
2019-09-27 06:24:06 -04:00
|
|
|
|
(version "1.2.6.1")
|
2019-07-14 14:00:46 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/opengribs/XyGrib")
|
2019-07-14 14:00:46 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-27 06:24:06 -04:00
|
|
|
|
"0xzsm8pr0zjk3f8j880fg5n82jyxn8xf1330qmmq1fqv7rsrg9ia"))
|
2019-07-14 14:00:46 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin (delete-file-recursively "data/fonts") #t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-directories
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((jpeg (assoc-ref inputs "openjpeg"))
|
|
|
|
|
(font (assoc-ref inputs "font-liberation")))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; Find libjpeg.
|
|
|
|
|
(("/usr") jpeg)
|
|
|
|
|
;; Fix install locations.
|
|
|
|
|
(("set\\(PREFIX_BIN.*") "set(PREFIX_BIN \"bin\")\n")
|
|
|
|
|
(("set\\(PREFIX_PKGDATA.*") "set(PREFIX_PKGDATA \"share/${PROJECT_NAME}\")\n")
|
|
|
|
|
;; Skip looking for the static library.
|
|
|
|
|
(("\"libnova.a\"") ""))
|
|
|
|
|
;; Don't use the bundled font-liberation.
|
|
|
|
|
(substitute* "src/util/Font.cpp"
|
|
|
|
|
(("Util::pathFonts\\(\\)\\+\"liberation-fonts/\"")
|
|
|
|
|
(string-append "\"" font "/share/fonts/truetype/\"")))
|
|
|
|
|
(substitute* "src/util/Util.h"
|
|
|
|
|
(("pathData\\(\\)\\+\"data/fonts/\"")
|
|
|
|
|
(string-append "\"" font "/share/fonts/\""))))
|
|
|
|
|
#t)))
|
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("font-liberation" ,font-liberation)
|
|
|
|
|
("libnova" ,libnova)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("openjpeg" ,openjpeg)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Weather Forecast Visualization")
|
|
|
|
|
(description
|
|
|
|
|
"XyGrib is a Grib file reader and visualizes meteorological data providing
|
|
|
|
|
an off-line capability to analyse weather forecasts or hindcasts. It is
|
|
|
|
|
intended to be used as a capable weather work station for anyone with a serious
|
|
|
|
|
interest in examining weather. This would include members of the sailing
|
|
|
|
|
community, private and sport aviators, farmers, weather buffs and many more.
|
|
|
|
|
XyGrib is the continuation of the zyGrib software package with a new team of
|
|
|
|
|
volunteers.")
|
|
|
|
|
(home-page "https://opengribs.org")
|
|
|
|
|
(license license:gpl3+)))
|
2019-10-04 09:25:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public libspatialindex
|
|
|
|
|
(package
|
|
|
|
|
(name "libspatialindex")
|
2019-12-04 15:16:28 -05:00
|
|
|
|
(version "1.9.3")
|
2019-10-04 09:25:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-12-04 15:16:28 -05:00
|
|
|
|
(uri (string-append "https://github.com/libspatialindex/libspatialindex/"
|
|
|
|
|
"releases/download/" version "/spatialindex-src-"
|
|
|
|
|
version ".tar.bz2"))
|
2019-10-04 09:25:16 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-04 15:16:28 -05:00
|
|
|
|
"02n5vjcyk04w0djidyp21hfbxfpbbara8ifd9nml6158rwqr8lja"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2019-10-04 09:25:16 -04:00
|
|
|
|
(home-page "https://libspatialindex.org")
|
|
|
|
|
(synopsis "Spatial indexing library")
|
|
|
|
|
(description "The purpose of this library is to provide:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item An extensible framework that will support robust spatial indexing
|
|
|
|
|
methods.
|
|
|
|
|
@item Support for sophisticated spatial queries. Range, point location,
|
|
|
|
|
nearest neighbor and k-nearest neighbor as well as parametric queries (defined
|
|
|
|
|
by spatial constraints) should be easy to deploy and run.
|
|
|
|
|
@item Easy to use interfaces for inserting, deleting and updating information.
|
|
|
|
|
@item Wide variety of customization capabilities. Basic index and storage
|
|
|
|
|
characteristics like the page size, node capacity, minimum fan-out, splitting
|
|
|
|
|
algorithm, etc. should be easy to customize.
|
|
|
|
|
@item Index persistence. Internal memory and external memory structures
|
|
|
|
|
should be supported. Clustered and non-clustered indices should be easy to be
|
|
|
|
|
persisted.
|
|
|
|
|
@end itemize
|
|
|
|
|
")
|
|
|
|
|
(license license:expat)))
|
2019-05-03 07:06:03 -04:00
|
|
|
|
|
|
|
|
|
(define-public java-jmapviewer
|
|
|
|
|
(package
|
|
|
|
|
(name "java-jmapviewer")
|
2020-03-03 19:59:38 -05:00
|
|
|
|
(version "2.13")
|
2019-05-03 07:06:03 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://svn.openstreetmap.org/applications/"
|
|
|
|
|
"viewer/jmapviewer/releases/" version
|
|
|
|
|
"/JMapViewer-" version "-Source.zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-03 19:59:38 -05:00
|
|
|
|
"0sy6r5fkbb9bclw0is6gwnbzz627m7pjfnsqydxz58pbndakkhrv"))))
|
2019-05-03 07:06:03 -04:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:build-target "pack"
|
|
|
|
|
#:tests? #f; No tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'clean
|
|
|
|
|
(lambda* _
|
|
|
|
|
(invoke "ant" "clean")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((dir (string-append (assoc-ref outputs "out") "/share/java/")))
|
|
|
|
|
(mkdir-p dir)
|
2020-05-14 08:07:53 -04:00
|
|
|
|
(copy-file "JMapViewer.jar" (string-append dir "JMapViewer.jar"))
|
|
|
|
|
#t))))))
|
2019-05-03 07:06:03 -04:00
|
|
|
|
(home-page "https://wiki.openstreetmap.org/wiki/JMapViewer")
|
|
|
|
|
(synopsis "OSM map integration in Java")
|
2020-04-12 17:07:09 -04:00
|
|
|
|
(description "JMapViewer is a Java component which easily
|
|
|
|
|
integrates an OSM map view into your Java application. It is maintained as
|
2019-05-03 07:06:03 -04:00
|
|
|
|
an independent project by the JOSM team.")
|
|
|
|
|
(license license:gpl2)))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
|
2020-07-04 17:54:30 -04:00
|
|
|
|
(define-public java-opening-hours-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "java-opening-hours-parser")
|
|
|
|
|
(version "0.21.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/simonpoole/OpeningHoursParser")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1m8sp0jbjyv1nq3ddj8rk6rf3sva3mkacc6vw7rsj0c2n57k3i50"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "java-opening-hours-parser.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'copy-resources
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively "src/main/resources" "build/classes")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'generate-parser
|
|
|
|
|
(lambda* _
|
|
|
|
|
(let* ((dir "src/main/java/ch/poole/openinghoursparser")
|
|
|
|
|
(file (string-append dir "/OpeningHoursParser.jj")))
|
|
|
|
|
(invoke "javacc" "-DEBUG_PARSER=false"
|
|
|
|
|
"-DEBUG_TOKEN_MANAGER=false" "-JDK_VERSION=1.8"
|
|
|
|
|
"-GRAMMAR_ENCODING=UTF-8"
|
|
|
|
|
(string-append "-OUTPUT_DIRECTORY=" dir)
|
|
|
|
|
file))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-jetbrains-annotations" ,java-jetbrains-annotations)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("javacc" ,javacc)
|
|
|
|
|
("java-junit" ,java-junit)
|
|
|
|
|
("java-hamcrest-core" ,java-hamcrest-core)))
|
|
|
|
|
(home-page "https://github.com/simonpoole/OpeningHoursParser")
|
|
|
|
|
(synopsis "Java parser for the OpenStreetMap opening hour format")
|
|
|
|
|
(description "This is a very simplistic parser for string values according
|
|
|
|
|
to the OSM opening hours specification.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(define-public josm
|
|
|
|
|
(package
|
|
|
|
|
(name "josm")
|
2020-10-03 10:48:02 -04:00
|
|
|
|
(version "17013")
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "https://josm.openstreetmap.de/svn/trunk")
|
|
|
|
|
(revision (string->number version))
|
|
|
|
|
(recursive? #f)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-10-03 10:48:02 -04:00
|
|
|
|
"12mcqswjijvx2n7hz7lnx83i3vjr5ib58cazqin10hczcwnd778q"))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2020-09-13 04:31:15 -04:00
|
|
|
|
(for-each delete-file (find-files "." ".*.jar$"))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("javacc" ,javacc)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("java-commons-jcs" ,java-commons-jcs)
|
|
|
|
|
("java-commons-compress" ,java-commons-compress)
|
|
|
|
|
("java-jmapviewer" ,java-jmapviewer)
|
|
|
|
|
("java-jsonp-api" ,java-jsonp-api)
|
|
|
|
|
("java-jsonp-impl" ,java-jsonp-impl); runtime dependency
|
|
|
|
|
("java-metadata-extractor" ,java-metadata-extractor)
|
2020-07-04 19:06:32 -04:00
|
|
|
|
("java-opening-hours-parser" ,java-opening-hours-parser)
|
2019-05-03 08:55:51 -04:00
|
|
|
|
("java-openjfx-media" ,java-openjfx-media)
|
|
|
|
|
("java-signpost-core" ,java-signpost-core)
|
|
|
|
|
("java-svg-salamander" ,java-svg-salamander)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:jar-name "josm.jar"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'rm-build.xml
|
|
|
|
|
(lambda* _
|
|
|
|
|
(delete-file "build.xml")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'fix-revision
|
|
|
|
|
(lambda* _
|
|
|
|
|
(with-output-to-file "REVISION.XML"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append "<info><entry><commit revision=\"" ,version "\">"
|
|
|
|
|
"<date>1970-01-01 00:00:00 +0000</date>"
|
|
|
|
|
"</commit></entry></info>"))))
|
|
|
|
|
#t))
|
2020-07-04 19:06:32 -04:00
|
|
|
|
(add-before 'build 'fix-jcs
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This version of JOSM uses an unreleased version of commons-jcs,
|
|
|
|
|
;; which has renamed its classes to another namespace. Rename them
|
|
|
|
|
;; back so they can be used with our version of jcs.
|
|
|
|
|
(substitute* (find-files "." ".*.java$")
|
|
|
|
|
(("jcs3") "jcs"))
|
|
|
|
|
#t))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(add-before 'build 'fix-classpath
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CLASSPATH"
|
|
|
|
|
(string-join
|
|
|
|
|
(filter
|
|
|
|
|
(lambda (s)
|
|
|
|
|
(let ((source (assoc-ref inputs "source")))
|
2020-09-13 04:31:15 -04:00
|
|
|
|
(not (equal? (substring s 0 (string-length source))
|
|
|
|
|
source))))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(string-split (getenv "CLASSPATH") #\:))
|
|
|
|
|
":"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'generate-parser
|
|
|
|
|
(lambda* _
|
|
|
|
|
(let* ((dir "src/org/openstreetmap/josm/gui/mappaint/mapcss")
|
|
|
|
|
(out (string-append dir "/parsergen"))
|
|
|
|
|
(file (string-append dir "/MapCSSParser.jj")))
|
|
|
|
|
(mkdir-p "src/org/openstreetmap/josm/gui/mappaint/mapcss/parsergen")
|
|
|
|
|
(invoke "javacc" "-DEBUG_PARSER=false"
|
|
|
|
|
"-DEBUG_TOKEN_MANAGER=false" "-JDK_VERSION=1.8"
|
|
|
|
|
"-GRAMMAR_ENCODING=UTF-8"
|
|
|
|
|
(string-append "-OUTPUT_DIRECTORY=" out)
|
|
|
|
|
file))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'build 'generate-epsg
|
|
|
|
|
(lambda _
|
|
|
|
|
(system* "javac" "scripts/BuildProjectionDefinitions.java"
|
|
|
|
|
"-cp" "build/classes")
|
|
|
|
|
(mkdir-p "data/projection")
|
|
|
|
|
(with-output-to-file "data/projection/custom-epsg"
|
|
|
|
|
(lambda _ (display "")))
|
|
|
|
|
(invoke "java" "-cp" "build/classes:scripts:."
|
|
|
|
|
"BuildProjectionDefinitions" ".")
|
|
|
|
|
#t))
|
2020-07-04 19:06:32 -04:00
|
|
|
|
(add-after 'generate-epsg 'copy-resources
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(lambda _
|
2020-07-04 19:06:32 -04:00
|
|
|
|
(copy-recursively "resources" "build/classes")
|
2019-05-03 08:55:51 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'regenerate-jar
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We need to regenerate the jar file to add data.
|
|
|
|
|
(delete-file "build/jar/josm.jar")
|
|
|
|
|
(invoke "jar" "-cf" "build/jar/josm.jar" "-C"
|
|
|
|
|
"build/classes" ".")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'copy-revision
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p "build/classes")
|
|
|
|
|
(with-output-to-file "build/classes/REVISION"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append "Revision: " ,version "\n"
|
|
|
|
|
"Is-Local-Build: true\n"
|
|
|
|
|
"Build-Date: 1970-01-01 00:00:00 +0000\n"))))
|
|
|
|
|
#t))
|
2020-09-13 04:31:15 -04:00
|
|
|
|
(add-after 'install 'install-share-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share-directories '("applications" "icons" "man" "menu"
|
|
|
|
|
"metainfo" "mime" "pixmaps")))
|
|
|
|
|
(for-each (lambda (directory)
|
|
|
|
|
(copy-recursively (string-append
|
|
|
|
|
"native/linux/tested/usr/share/"
|
|
|
|
|
directory)
|
|
|
|
|
(string-append
|
|
|
|
|
out "/share/" directory)))
|
|
|
|
|
share-directories))
|
|
|
|
|
#t))
|
2019-05-03 08:55:51 -04:00
|
|
|
|
(add-after 'install 'install-bin
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-output-to-file (string-append bin "/josm")
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append "#!/bin/sh\n"
|
|
|
|
|
(assoc-ref inputs "jdk") "/bin/java"
|
|
|
|
|
" -cp " out "/share/java/josm.jar:"
|
|
|
|
|
(getenv "CLASSPATH")
|
|
|
|
|
" org.openstreetmap.josm.gui.MainApplication"))))
|
|
|
|
|
(chmod (string-append bin "/josm") #o755))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://josm.openstreetmap.de")
|
|
|
|
|
(synopsis "OSM editor")
|
|
|
|
|
(description "JOSM is an extensible editor for OpenStreetMap (OSM). It
|
|
|
|
|
supports loading GPX tracks, background imagery and OSM data from local
|
2020-04-12 18:28:17 -04:00
|
|
|
|
sources as well as from online sources and allows editing the OSM data (nodes,
|
2019-05-03 08:55:51 -04:00
|
|
|
|
ways, and relations) and their metadata tags.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-11-17 11:11:28 -05:00
|
|
|
|
|
|
|
|
|
(define-public libmaxminddb
|
|
|
|
|
(package
|
|
|
|
|
(name "libmaxminddb")
|
2020-08-11 10:23:15 -04:00
|
|
|
|
(version "1.4.3")
|
2019-11-17 11:11:28 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/maxmind/libmaxminddb"
|
|
|
|
|
"/releases/download/" version "/"
|
|
|
|
|
"/libmaxminddb-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-11 10:23:15 -04:00
|
|
|
|
(base32 "0fd4a4sxiiwzbd5h74wl1ijnb7xybjyybb7q41vdq3w8nk3zdzd5"))))
|
2019-11-17 11:11:28 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-08-11 10:24:03 -04:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))))
|
2019-11-17 11:11:28 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page "https://maxmind.github.io/libmaxminddb/")
|
|
|
|
|
(synopsis "C library for the MaxMind DB file format")
|
|
|
|
|
(description "The libmaxminddb library provides a C library for reading
|
|
|
|
|
MaxMind DB files, including the GeoIP2 databases from MaxMind. The MaxMind DB
|
|
|
|
|
format is a custom, but open, binary format designed to facilitate fast
|
|
|
|
|
lookups of IP addresses while allowing flexibility in the type of data
|
|
|
|
|
associated with an address.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-11-17 13:37:03 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-maxminddb
|
|
|
|
|
(package
|
|
|
|
|
(name "python-maxminddb")
|
|
|
|
|
(version "1.5.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "maxminddb" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0y9giw81k4wdmpryr4k42w50z292mf364a6vs1vxf83ksc9ig6j4"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;; Tests require a copy of the maxmind database
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmaxminddb" ,libmaxminddb)))
|
2020-01-17 16:22:15 -05:00
|
|
|
|
(home-page "https://www.maxmind.com/")
|
2019-11-17 13:37:03 -05:00
|
|
|
|
(synopsis "Reader for the MaxMind DB format")
|
|
|
|
|
(description "MaxMind DB is a binary file format that stores data indexed
|
|
|
|
|
by IP address subnets (IPv4 or IPv6). This is a Python module for reading
|
|
|
|
|
MaxMind DB files.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-11-17 11:23:34 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-geoip2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geoip2")
|
|
|
|
|
(version "2.9.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geoip2" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1w7cay5q6zawjzivqbwz5cqx1qbdjw6kbriccb7l46p7b39fkzzp"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;; Tests require a copy of the maxmind database
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-maxminddb" ,python-maxminddb)
|
|
|
|
|
("python-requests" ,python-requests)))
|
2020-01-17 16:22:15 -05:00
|
|
|
|
(home-page "https://www.maxmind.com/")
|
2019-11-17 11:23:34 -05:00
|
|
|
|
(synopsis "MaxMind GeoIP2 API")
|
|
|
|
|
(description "Provides an API for the GeoIP2 web services and databases.
|
|
|
|
|
The API also works with MaxMind’s free GeoLite2 databases.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-08-31 05:43:45 -04:00
|
|
|
|
|
|
|
|
|
(define-public routino
|
|
|
|
|
(package
|
|
|
|
|
(name "routino")
|
|
|
|
|
(version "3.3.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.routino.org/download/routino-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ccx3s99j8syxc1gqkzsaqkmyf44l7h3adildnc5iq2md7bp8wab"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.conf"
|
|
|
|
|
(("prefix=/usr/local")
|
|
|
|
|
(string-append "prefix=" (assoc-ref outputs "out")))
|
|
|
|
|
(("LDFLAGS_LDSO=-Wl,-R\\.")
|
|
|
|
|
"LDFLAGS_LDSO=-Wl,-R$(libdir)")
|
|
|
|
|
(("#CFLAGS\\+=-DUSE_XZ")
|
|
|
|
|
"CFLAGS+=-DUSE_XZ")
|
|
|
|
|
(("#LDFLAGS\\+=-llzma")
|
|
|
|
|
"LDFLAGS+=-llzma"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Routing application for OpenStreetMap data")
|
|
|
|
|
(description
|
|
|
|
|
"Routino is an application for finding a route between two points
|
|
|
|
|
using the dataset of topographical information collected by
|
|
|
|
|
@url{https://www.OpenStreetMap.org}.")
|
|
|
|
|
(home-page "https://www.routino.org/")
|
|
|
|
|
(license license:agpl3+)))
|
2020-01-13 09:38:33 -05:00
|
|
|
|
|
|
|
|
|
(define-public qmapshack
|
|
|
|
|
(package
|
|
|
|
|
(name "qmapshack")
|
|
|
|
|
(version "1.14.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/Maproom/qmapshack")
|
2020-01-13 09:38:33 -05:00
|
|
|
|
(commit (string-append "V_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07c2hrq9sn456w7l3gdr599rmjfv2k6mh159zza7p1py8r7ywksa"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gdal" ,gdal)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("proj" ,proj)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
|
("qtwebchannel" ,qtwebchannel)
|
|
|
|
|
("qtwebengine" ,qtwebengine)
|
|
|
|
|
("quazip" ,quazip)
|
|
|
|
|
("routino" ,routino)
|
2020-01-14 18:09:46 -05:00
|
|
|
|
("sqlite" ,sqlite) ; See wrap phase
|
2020-01-13 09:38:33 -05:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-cmake-modules
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("find_package\\(Qt5PrintSupport REQUIRED\\)" all)
|
|
|
|
|
(string-append all "\nfind_package(Qt5Positioning REQUIRED)")))
|
|
|
|
|
(substitute* "cmake/Modules/FindROUTINO.cmake"
|
|
|
|
|
(("/usr/local")
|
|
|
|
|
(assoc-ref inputs "routino")))
|
|
|
|
|
;; The following fixes are included as patches in the sources
|
|
|
|
|
;; of QMapShack, but they are not applied by default, for
|
|
|
|
|
;; some reason...
|
|
|
|
|
(invoke "patch" "-p1" "-i" "FindPROJ4.patch")
|
|
|
|
|
(invoke "patch" "-p1" "-i" "FindQuaZip5.patch")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap
|
2020-01-24 11:54:58 -05:00
|
|
|
|
;; The program fails to find the QtWebEngineProcess program,
|
2020-01-13 09:38:33 -05:00
|
|
|
|
;; so we set QTWEBENGINEPROCESS_PATH to help it.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin"))
|
|
|
|
|
(qtwebengineprocess (string-append
|
|
|
|
|
(assoc-ref inputs "qtwebengine")
|
2020-01-24 11:54:58 -05:00
|
|
|
|
"/lib/qt5/libexec/QtWebEngineProcess")))
|
2020-01-13 09:38:33 -05:00
|
|
|
|
(for-each (lambda (program)
|
|
|
|
|
(wrap-program program
|
|
|
|
|
`("QTWEBENGINEPROCESS_PATH" =
|
|
|
|
|
(,qtwebengineprocess))))
|
|
|
|
|
(find-files bin ".*")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "GPS mapping application")
|
|
|
|
|
(description
|
|
|
|
|
"QMapShack can be used to plan your next outdoor trip or to visualize and
|
|
|
|
|
archive all the GPS recordings of your past trips. It is the successor of the
|
|
|
|
|
QLandkarte GT application.")
|
|
|
|
|
(home-page "https://github.com/Maproom/qmapshack/wiki")
|
|
|
|
|
(license license:gpl3+)))
|
2020-03-09 09:44:10 -04:00
|
|
|
|
|
|
|
|
|
(define-public readosm
|
|
|
|
|
(package
|
|
|
|
|
(name "readosm")
|
2020-08-11 11:55:48 -04:00
|
|
|
|
(version "1.1.0a")
|
2020-03-09 09:44:10 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"readosm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-08-11 11:55:48 -04:00
|
|
|
|
(base32 "0zv6p352pqjcv70nvcaf2x3011z35jqa24dcdm27a4ns1wha3cjc"))))
|
2020-03-09 09:44:10 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Data extractor for OpenStreetMap files")
|
|
|
|
|
(description
|
|
|
|
|
"ReadOSM is a library to extract valid data from within an OpenStreetMap
|
|
|
|
|
input file (in @code{.osm} or @code{.osm.pbf} format).")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/readosm/index")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1))))
|
2020-03-09 09:50:21 -04:00
|
|
|
|
|
|
|
|
|
(define-public spatialite-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "spatialite-tools")
|
|
|
|
|
(version "4.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"spatialite-tools-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "12fggjhi8cgwvw8f6nk76f83b8lqkc07abxyj5ap6f2gq2dqafgp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("freexl" ,freexl)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("libspatialite" ,libspatialite)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("readosm" ,readosm)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Collection of command line tools for SpatiaLite")
|
|
|
|
|
(description
|
|
|
|
|
"@code{spatialite-tools} is a collection of Command Line Interface (CLI)
|
|
|
|
|
tools supporting SpatiaLite.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/spatialite-tools/index")
|
|
|
|
|
(license license:gpl3+)))
|
2020-03-12 05:05:28 -04:00
|
|
|
|
|
|
|
|
|
(define-public virtualpg
|
|
|
|
|
(package
|
|
|
|
|
(name "virtualpg")
|
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"virtualpg-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kjipcd08vvn188xmwbs7sw41xcs06x47n2hbqshpjcr51mxbarp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("postgresql" ,postgresql)
|
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(synopsis "Allow SQLite/SpatiaLite to access PostgreSQL/PostGIS tables")
|
|
|
|
|
(description
|
|
|
|
|
"VirtualPG is a dynamic extension for the SQLite DBMS. It implements
|
|
|
|
|
the VirtualPostgres driver, allowing to directly exchange data between SQLite
|
|
|
|
|
and PostgreSQL; if SpatiaLite is available even PostGIS geometries can be
|
|
|
|
|
exchanged form one Spatial DBMS and the other.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/virtualpg/index")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1))))
|
2020-03-18 09:57:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public opencpn
|
|
|
|
|
(package
|
|
|
|
|
(name "opencpn")
|
|
|
|
|
(version "5.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
|
(url "https://github.com/OpenCPN/OpenCPN")
|
2020-03-18 09:57:27 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1xv3h6svw9aay5ixpql231md3pf00qxvhg62z88daraf18hlkfja"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libarchive" ,libarchive)
|
|
|
|
|
("libelf" ,libelf)
|
|
|
|
|
("libexif" ,libexif)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("lz4" ,lz4)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("portaudio" ,portaudio)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
|
("wxsvg" ,wxsvg)
|
|
|
|
|
("wxwidgets" ,wxwidgets)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DENABLE_PORTAUDIO=ON"
|
|
|
|
|
"-DENABLE_SNDFILE=ON"
|
|
|
|
|
"-DBUNDLE_TCDATA=ON"
|
|
|
|
|
"-DBUNDLE_GSHHS=CRUDE")
|
|
|
|
|
#:tests? #f ; No tests defined
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("set\\(wxWidgets_CONFIG_OPTIONS.*--toolkit=gtk3" all)
|
|
|
|
|
(string-append all " --libs all")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Chart plotter and marine GPS navigation software")
|
|
|
|
|
(description
|
|
|
|
|
"OpenCPN is a chart plotter and marine navigation software designed to be
|
|
|
|
|
used at the helm station of your boat while underway. Chart a course and
|
|
|
|
|
track your position right from your laptop.")
|
|
|
|
|
(home-page "https://opencpn.org/")
|
|
|
|
|
(license (list license:asl2.0
|
|
|
|
|
license:cc0
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:expat
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:lgpl3+
|
|
|
|
|
license:sgifreeb2.0
|
|
|
|
|
license:zlib))))
|
2020-03-21 19:03:41 -04:00
|
|
|
|
|
|
|
|
|
(define-public grass
|
2020-10-16 11:48:29 -04:00
|
|
|
|
(let* ((version "7.8.4")
|
2020-03-21 19:03:41 -04:00
|
|
|
|
(majorminor (string-join (list-head (string-split version #\.) 2) ""))
|
|
|
|
|
(grassxx (string-append "grass" majorminor)))
|
|
|
|
|
(package
|
|
|
|
|
(name "grass")
|
|
|
|
|
(version version)
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://grass.osgeo.org/" grassxx
|
|
|
|
|
"/source/grass-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-10-16 11:48:29 -04:00
|
|
|
|
(base32 "1yfghvp522ijww3n3l5xarjbc21rm0gmlgr3lvwxrv23bvxmllyr"))))
|
2020-03-21 19:03:41 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
gnu: Fix package references.
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package
inputs.
* gnu/packages/astronomy.scm (xplanet),
* gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb),
* gnu/packages/bioconductor.scm (r-cummerbund),
* gnu/packages/chicken.scm (chicken),
* gnu/packages/conky.scm (conky),
* gnu/packages/cran.scm (r-latex2exp),
* gnu/packages/crates-io.scm (rust-rgb),
* gnu/packages/databases.scm (mariadb),
* gnu/packages/diffoscope.scm (reprotest),
* gnu/packages/file-systems.scm (glusterfs),
* gnu/packages/finance.scm (electron-cash),
* gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo),
* gnu/packages/geo.scm (grass),
* gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue),
* gnu/packages/gnucash.scm (aqbanking),
* gnu/packages/image.scm (mtpaint),
* gnu/packages/kde-internet.scm (kopete, ktorrent),
* gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer),
* gnu/packages/linphone.scm (liblinphone),
* gnu/packages/maths.scm (ppl),
* gnu/packages/mercury.scm (mercury-minimal),
* gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins,
spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2),
* gnu/packages/networking.scm (restinio),
* gnu/packages/prolog.scm (swi-prolog),
* gnu/packages/python-web.scm (gunicorn),
* gnu/packages/python-xyz.scm (python-docusign-esign),
* gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable),
* gnu/packages/sagemath.scm (python-cypari2),
* gnu/packages/skarnet.scm (s6-linux-init),
* gnu/packages/vpn.scm (sshuttle),
* gnu/packages/web.scm (libcyaml),
* gnu/packages/xdisorg.scm (kbdd),
* gnu/packages/xorg.scm (xpra): Same.
2020-09-30 01:57:27 -04:00
|
|
|
|
`(("bzip2" ,bzip2)
|
2020-03-21 19:03:41 -04:00
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("gdal" ,gdal)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("lapack" ,lapack)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mariadb-dev" ,mariadb "dev")
|
|
|
|
|
("mariadb-lib" ,mariadb "lib")
|
|
|
|
|
("netcdf" ,netcdf)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-dateutil" ,python-dateutil)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-wxpython" ,python-wxpython)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("wxwidgets" ,wxwidgets)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zstd" ,zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bash" ,bash-minimal)
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; No tests
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
((guix build python-build-system) #:prefix python:)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:imported-modules (,@%gnu-build-system-modules
|
|
|
|
|
(guix build python-build-system))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((shell (string-append (assoc-ref inputs "bash")
|
|
|
|
|
"/bin/bash")))
|
|
|
|
|
(setenv "SHELL" shell)
|
|
|
|
|
(setenv "CONFIG_SHELL" shell)
|
|
|
|
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath -Wl,"
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/" ,grassxx "/lib")))
|
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix="
|
|
|
|
|
(assoc-ref outputs "out"))
|
|
|
|
|
"--with-blas"
|
|
|
|
|
"--with-bzlib"
|
|
|
|
|
(string-append "--with-freetype-includes="
|
|
|
|
|
(assoc-ref inputs "freetype")
|
|
|
|
|
"/include/freetype2")
|
|
|
|
|
(string-append "--with-freetype-libs="
|
|
|
|
|
(assoc-ref inputs "freetype")
|
|
|
|
|
"/lib")
|
|
|
|
|
"--with-geos"
|
|
|
|
|
"--with-lapack"
|
|
|
|
|
"--with-mysql"
|
|
|
|
|
(string-append "--with-mysql-includes="
|
|
|
|
|
(assoc-ref inputs "mariadb-dev")
|
|
|
|
|
"/include/mysql")
|
|
|
|
|
(string-append "--with-mysql-libs="
|
|
|
|
|
(assoc-ref inputs "mariadb-lib")
|
|
|
|
|
"/lib")
|
|
|
|
|
"--with-netcdf"
|
|
|
|
|
"--with-postgres"
|
|
|
|
|
(string-append "--with-proj-share="
|
|
|
|
|
(assoc-ref inputs "proj.4")
|
|
|
|
|
"/share/proj")
|
|
|
|
|
"--with-pthread"
|
|
|
|
|
"--with-readline"
|
|
|
|
|
"--with-sqlite"
|
|
|
|
|
"--with-wxwidgets")))
|
|
|
|
|
(add-after 'install 'install-links
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Put links for includes and libraries in the standard places.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dir (string-append out "/" ,grassxx)))
|
|
|
|
|
(symlink (string-append dir "/include")
|
|
|
|
|
(string-append out "/include"))
|
|
|
|
|
(symlink (string-append dir "/lib")
|
|
|
|
|
(string-append out "/lib")))
|
|
|
|
|
#t))
|
2020-10-16 15:07:06 -04:00
|
|
|
|
(add-after 'install-links 'python:wrap
|
|
|
|
|
(assoc-ref python:%standard-phases 'wrap))
|
|
|
|
|
(add-after 'python:wrap 'wrap-with-python-interpreter
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/" ,grassxx)
|
|
|
|
|
`("GRASS_PYTHON" = (,(which "python3"))))
|
|
|
|
|
#t))))))
|
2020-03-21 19:03:41 -04:00
|
|
|
|
(synopsis "GRASS Geographic Information System")
|
|
|
|
|
(description
|
|
|
|
|
"GRASS (Geographic Resources Analysis Support System), is a Geographic
|
|
|
|
|
Information System (GIS) software suite used for geospatial data management and
|
|
|
|
|
analysis, image processing, graphics and maps production, spatial modeling, and
|
|
|
|
|
visualization.")
|
|
|
|
|
(home-page "https://grass.osgeo.org/")
|
|
|
|
|
(license license:gpl2+))))
|
2020-03-22 06:33:00 -04:00
|
|
|
|
|
|
|
|
|
(define-public saga
|
|
|
|
|
(package
|
|
|
|
|
(name "saga")
|
|
|
|
|
(version "7.6.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/saga-gis/SAGA%20-%20"
|
|
|
|
|
(version-major version) "/SAGA%20-%20" version
|
|
|
|
|
"/saga-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "09j5magmayq2y620kqa490mfd1kpdp3lng2ifcgbrmssc079ybm0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("swig" ,swig)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("gdal" ,gdal)
|
|
|
|
|
("hdf5" ,hdf5)
|
|
|
|
|
("jasper" ,jasper)
|
|
|
|
|
("libharu" ,libharu)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("opencv" ,opencv)
|
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("proj.4" ,proj.4)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("qhull" ,qhull)
|
|
|
|
|
("unixodbc" ,unixodbc)
|
|
|
|
|
("vigra" ,vigra)
|
|
|
|
|
("wxwidgets" ,wxwidgets)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-python")))
|
|
|
|
|
(synopsis "System for Automated Geoscientific Analyses")
|
|
|
|
|
(description
|
|
|
|
|
"SAGA (System for Automated Geoscientific Analyses) is a Geographic
|
|
|
|
|
Information System (GIS) software. It has been designed for an easy and
|
|
|
|
|
effective implementation of spatial algorithms and it offers a comprehensive,
|
|
|
|
|
growing set of geoscientific methods.")
|
|
|
|
|
(home-page "http://www.saga-gis.org")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
2020-03-24 05:20:27 -04:00
|
|
|
|
|
|
|
|
|
(define-public qgis
|
|
|
|
|
(package
|
|
|
|
|
(name "qgis")
|
|
|
|
|
(version "3.12.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://qgis.org/downloads/qgis-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1a41525y8ac44gzcfaffjx0lyrm49hgnr83jrq40r5mqd3vpmp57"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build cmake-build-system)
|
|
|
|
|
((guix build python-build-system) #:prefix python:)
|
|
|
|
|
(guix build qt-utils)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:imported-modules (,@%cmake-build-system-modules
|
|
|
|
|
(guix build python-build-system)
|
|
|
|
|
(guix build qt-utils))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Configure correct path to PyQt5 SIP directory
|
|
|
|
|
(add-after 'unpack 'configure-pyqt5-sip-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "cmake/FindPyQt5.cmake"
|
|
|
|
|
(("\"\\\\\\\\1\" PYQT5_SIP_DIR")
|
|
|
|
|
(string-append "\"" (assoc-ref inputs "python-pyqt+qscintilla")
|
|
|
|
|
"/share/sip\" PYQT5_SIP_DIR")))
|
|
|
|
|
(substitute* (list "scripts/prepare-commit.sh"
|
|
|
|
|
"scripts/runtests-local-travis-config.sh"
|
|
|
|
|
"scripts/sip_include.sh"
|
|
|
|
|
"scripts/sipdiff"
|
|
|
|
|
"scripts/sipify_all.sh"
|
|
|
|
|
"scripts/spell_check/check_spelling.sh"
|
|
|
|
|
"scripts/spell_check/spell_test.sh"
|
|
|
|
|
"scripts/verify-indentation.sh"
|
|
|
|
|
"tests/code_layout/test_banned_keywords.sh"
|
|
|
|
|
"tests/code_layout/test_licenses.sh"
|
|
|
|
|
"tests/code_layout/test_shellcheck.sh"
|
|
|
|
|
"tests/code_layout/test_sip_include.sh"
|
|
|
|
|
"tests/code_layout/test_sipfiles_uptodate.sh"
|
|
|
|
|
"tests/code_layout/test_sipify.sh")
|
|
|
|
|
(("\\$\\(git rev-parse --show-toplevel\\)")
|
|
|
|
|
(getcwd)))
|
|
|
|
|
(substitute* "tests/code_layout/test_sip_include.sh"
|
|
|
|
|
(("^REV=.*") "REV=currentrev\n"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
(system (string-append (assoc-ref inputs "xorg-server")
|
|
|
|
|
"/bin/Xvfb :1 &"))
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
(setenv "TRAVIS" "true")
|
|
|
|
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
|
|
|
|
(invoke "ctest"
|
|
|
|
|
"-E" (string-join
|
|
|
|
|
'(;; Disable tests that require network access
|
|
|
|
|
"qgis_filedownloader"
|
|
|
|
|
;; TODO: Find why the following tests fail
|
|
|
|
|
"ProcessingQgisAlgorithmsTestPt1"
|
2020-06-22 08:18:36 -04:00
|
|
|
|
"ProcessingQgisAlgorithmsTestPt2"
|
2020-03-24 05:20:27 -04:00
|
|
|
|
"ProcessingQgisAlgorithmsTestPt3"
|
|
|
|
|
"ProcessingQgisAlgorithmsTestPt4"
|
|
|
|
|
"ProcessingGdalAlgorithmsRasterTest"
|
|
|
|
|
"ProcessingGdalAlgorithmsVectorTest"
|
|
|
|
|
"ProcessingGrass7AlgorithmsImageryTest"
|
|
|
|
|
"ProcessingGrass7AlgorithmsRasterTest"
|
|
|
|
|
"ProcessingGrass7AlgorithmsVectorTest"
|
|
|
|
|
"ProcessingOtbAlgorithmsTest"
|
|
|
|
|
"qgis_authmanagertest"
|
|
|
|
|
"qgis_compositionconvertertest"
|
|
|
|
|
"qgis_coordinatereferencesystemtest"
|
|
|
|
|
"qgis_geometrytest"
|
|
|
|
|
"qgis_layouthtmltest"
|
|
|
|
|
"qgis_layoutmaptest"
|
2020-06-22 08:18:36 -04:00
|
|
|
|
"qgis_layoutmapgridtest"
|
2020-03-24 05:20:27 -04:00
|
|
|
|
"qgis_painteffecttest"
|
|
|
|
|
"qgis_pallabelingtest"
|
|
|
|
|
"qgis_svgmarkertest"
|
|
|
|
|
"qgis_taskmanagertest"
|
|
|
|
|
"qgis_ziplayertest"
|
|
|
|
|
"qgis_processingtest"
|
|
|
|
|
"qgis_wcsprovidertest"
|
|
|
|
|
"qgis_arcgisrestutilstest"
|
|
|
|
|
"qgis_grassprovidertest7"
|
|
|
|
|
"qgis_gpsinformationwidget"
|
|
|
|
|
"PyCoreAdittions"
|
|
|
|
|
"PyQgsPythonProvider"
|
|
|
|
|
"PyQgsAnnotation"
|
|
|
|
|
"PyQgsAuthenticationSystem"
|
|
|
|
|
"PyQgsProject"
|
|
|
|
|
"PyQgsFileUtils"
|
|
|
|
|
"PyQgsGeometryTest"
|
|
|
|
|
"PyQgsImageCache"
|
2020-06-22 08:18:36 -04:00
|
|
|
|
"PyQgsLayerMetadata"
|
|
|
|
|
"PyQgsLayout"
|
|
|
|
|
"PyQgsLayoutHtml"
|
|
|
|
|
"PyQgsLayoutMapGrid"
|
|
|
|
|
"PyQgsMetadataBase"
|
2020-03-24 05:20:27 -04:00
|
|
|
|
"PyQgsLayoutExporter"
|
|
|
|
|
"PyQgsLayoutLegend"
|
|
|
|
|
"PyQgsMapLayer"
|
|
|
|
|
"PyQgsOGRProviderGpkg"
|
|
|
|
|
"PyQgsPalLabelingLayout"
|
|
|
|
|
"PyQgsImportIntoPostGIS"
|
|
|
|
|
"PyQgsProviderConnectionPostgres"
|
|
|
|
|
"PyQgsProviderConnectionGpkg"
|
|
|
|
|
"PyQgsShapefileProvider"
|
|
|
|
|
"PyQgsSvgCache"
|
|
|
|
|
"PyQgsTextRenderer"
|
|
|
|
|
"PyQgsOGRProvider"
|
|
|
|
|
"PyQgsSpatialiteProvider"
|
|
|
|
|
"PyQgsVectorFileWriter"
|
|
|
|
|
"PyQgsVectorLayer"
|
|
|
|
|
"PyQgsVectorLayerUtils"
|
|
|
|
|
"PyQgsVirtualLayerProvider"
|
|
|
|
|
"PyQgsWFSProvider"
|
|
|
|
|
"PyQgsOapifProvider"
|
|
|
|
|
"PyQgsLayerDependencies"
|
|
|
|
|
"PyQgsDBManagerGpkg"
|
|
|
|
|
"PyQgsDBManagerSpatialite"
|
|
|
|
|
"PyQgsSettings"
|
|
|
|
|
"PyQgsAuxiliaryStorage"
|
|
|
|
|
"PyQgsSelectiveMasking"
|
|
|
|
|
"PyQgsAppStartup"
|
|
|
|
|
"qgis_geometrycheckstest"
|
|
|
|
|
"qgis_shellcheck"
|
|
|
|
|
"qgis_sipify"
|
|
|
|
|
"qgis_sip_include"
|
|
|
|
|
"qgis_sip_uptodate")
|
|
|
|
|
"|"))))
|
|
|
|
|
(add-after 'install 'wrap-python
|
|
|
|
|
(assoc-ref python:%standard-phases 'wrap))
|
|
|
|
|
(add-after 'wrap-python 'wrap-qt
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(wrap-qt-program (assoc-ref outputs "out") "qgis")
|
2020-04-04 13:57:50 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'wrap-qt 'wrap-gis
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(saga (string-append (assoc-ref inputs "saga") "/bin"))
|
|
|
|
|
(grass-version ,(package-version grass))
|
|
|
|
|
(grass-majorminor (string-join
|
|
|
|
|
(list-head
|
|
|
|
|
(string-split grass-version #\.) 2)
|
|
|
|
|
""))
|
|
|
|
|
(grass (string-append (assoc-ref inputs "grass")
|
|
|
|
|
"/grass" grass-majorminor)))
|
|
|
|
|
(wrap-program (string-append out "/bin/qgis")
|
|
|
|
|
`("PATH" ":" prefix (,saga))
|
|
|
|
|
`("QGIS_PREFIX_PATH" = (,out))
|
|
|
|
|
`("GISBASE" = (,grass))))
|
2020-03-24 05:20:27 -04:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("exiv2" ,exiv2)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("gdal" ,gdal)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("gpsbabel" ,gpsbabel)
|
|
|
|
|
("grass" ,grass)
|
|
|
|
|
("gsl" ,gsl)
|
|
|
|
|
("hdf5" ,hdf5)
|
|
|
|
|
("libspatialindex" ,libspatialindex)
|
|
|
|
|
("libspatialite" ,libspatialite)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libzip" ,libzip)
|
|
|
|
|
("netcdf" ,netcdf)
|
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("proj" ,proj)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-chardet" ,python-chardet)
|
|
|
|
|
("python-dateutil" ,python-dateutil)
|
|
|
|
|
("python-gdal" ,python-gdal)
|
|
|
|
|
("python-jinja2" ,python-jinja2)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-owslib" ,python-owslib)
|
|
|
|
|
("python-psycopg2" ,python-psycopg2)
|
|
|
|
|
("python-pygments" ,python-pygments)
|
|
|
|
|
("python-pyqt+qscintilla" ,python-pyqt+qscintilla)
|
|
|
|
|
("python-pytz" ,python-pytz)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
|
|
|
|
("python-requests" ,python-requests)
|
|
|
|
|
("python-sip" ,python-sip)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-urllib3" ,python-urllib3)
|
|
|
|
|
("qca" ,qca)
|
|
|
|
|
("qscintilla" ,qscintilla)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtkeychain" ,qtkeychain)
|
|
|
|
|
("qtlocation" ,qtlocation)
|
|
|
|
|
("qtserialport" ,qtserialport)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("qtwebkit" ,qtwebkit)
|
|
|
|
|
("qwt" ,qwt)
|
|
|
|
|
("saga" ,saga)
|
2020-04-13 14:35:27 -04:00
|
|
|
|
("sqlite" ,sqlite)))
|
2020-03-24 05:20:27 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("perl-yaml-tiny" ,perl-yaml-tiny)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-mock" ,python-mock)
|
|
|
|
|
("python-nose2" ,python-nose2)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("shellcheck" ,shellcheck)
|
|
|
|
|
("xorg-server" ,xorg-server-for-tests)))
|
|
|
|
|
(home-page "https://qgis.org")
|
|
|
|
|
(synopsis "Geographical information system")
|
|
|
|
|
(description "QGIS is an easy to use Geographical Information
|
|
|
|
|
System (GIS). It is a GIS data viewer and editor. QGIS supports a number of
|
|
|
|
|
raster and vector data formats, with new support easily added using the plugin
|
|
|
|
|
architecture.")
|
|
|
|
|
(license
|
|
|
|
|
(list
|
|
|
|
|
license:asl1.1
|
|
|
|
|
license:asl2.0
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:boost1.0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc-by4.0
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by-sa4.0
|
|
|
|
|
(license:fsdg-compatible "https://www.deviantart.com/elvensword")
|
|
|
|
|
(license:fsf-free "file://debian/copyright" "Go Squared")
|
|
|
|
|
license:expat
|
|
|
|
|
license:fdl1.2+
|
|
|
|
|
(license:fsf-free
|
|
|
|
|
"https://www.deviantart.com/webgoddess/art/Reddish-Inspired-Gradients-42208824")
|
|
|
|
|
(license:fsf-free
|
|
|
|
|
"file://debian/copyright"
|
|
|
|
|
"QT-Commercial or LGPL-2.1 with Digia Qt LGPL Exception 1.1 or GPL-3")
|
|
|
|
|
license:gpl2
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:gpl3
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:isc
|
|
|
|
|
license:lgpl2.0+
|
|
|
|
|
license:lgpl2.1
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:lgpl3
|
|
|
|
|
(license:non-copyleft "file://debian/copyright" "BSD-like-gist")
|
|
|
|
|
(license:non-copyleft "file://debian/copyright" "Jim Mossman Attribution")
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"https://www.ncl.ucar.edu/Download/NCL_source_license.shtml"
|
|
|
|
|
"NCL Source Code License")
|
|
|
|
|
license:ogl-psi1.0
|
|
|
|
|
license:opl1.0+
|
|
|
|
|
license:public-domain
|
|
|
|
|
license:qwt1.0))))
|
2020-07-21 03:58:19 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-geographiclib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geographiclib")
|
|
|
|
|
(version "1.50")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geographiclib" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cn6ap5fkh3mkfa57l5b44z3gvz7j6lpmc9rl4g2jny2gvp4dg8j"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://geographiclib.sourceforge.io/1.50/python/")
|
|
|
|
|
(synopsis "Python geodesic routines from GeographicLib")
|
|
|
|
|
(description
|
|
|
|
|
"This is a python implementation of the geodesic routines in GeographicLib.")
|
|
|
|
|
(license license:expat)))
|
2020-07-21 04:02:42 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-geopy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geopy")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geopy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fx0cv0kgbvynpmjgsvq2fpsyngd5idiscdn8pd5201f1ngii3mq"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-geographiclib" ,python-geographiclib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-async-generator" ,python-async-generator)
|
|
|
|
|
("python-coverage" ,python-coverage)
|
|
|
|
|
("python-flake8" ,python-flake8)
|
|
|
|
|
("python-isort" ,python-isort)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-aiohttp" ,python-pytest-aiohttp)
|
|
|
|
|
("python-readme-renderer" ,python-readme-renderer)
|
|
|
|
|
("python-pytz" ,python-pytz)))
|
|
|
|
|
(home-page "https://github.com/geopy/geopy")
|
|
|
|
|
(synopsis "Geocoding library for Python")
|
|
|
|
|
(description "@code{geopy} is a Python client for several popular geocoding
|
|
|
|
|
web services. @code{geopy} makes it easy for Python developers to locate the
|
|
|
|
|
coordinates of addresses, cities, countries, and landmarks across the globe
|
|
|
|
|
using third-party geocoders and other data sources.")
|
|
|
|
|
(license license:expat)))
|