2016-03-05 07:33:09 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
2016-08-17 21:37:58 +00:00
|
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2018-02-21 23:07:47 +00:00
|
|
|
|
;;; Copyright © 2017, 2018 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
2021-01-01 16:15:20 +00:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2024-01-09 14:41:33 +00:00
|
|
|
|
;;; Copyright © 2018, 2023, 2024 Ricardo Wurmus <rekado@elephly.net>
|
2019-12-04 14:25:17 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
|
2018-02-17 21:11:25 +00:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2021-10-09 13:25:20 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020, 2021 Julien Lepiller <julien@lepiller.eu>
|
2023-01-16 10:46:15 +00:00
|
|
|
|
;;; Copyright © 2019-2023 Guillaume Le Vaillant <glv@posteo.net>
|
2023-05-24 07:12:50 +00:00
|
|
|
|
;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il>
|
2021-07-14 17:55:52 +00:00
|
|
|
|
;;; Copyright © 2019, 2021 Wiktor Żelazny <wzelazny@vurv.cz>
|
2020-12-25 22:02:18 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2022-06-14 18:15:35 +00:00
|
|
|
|
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
|
2020-09-13 08:31:15 +00:00
|
|
|
|
;;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
|
2024-02-04 16:47:11 +00:00
|
|
|
|
;;; Copyright © 2020–2024 Felix Gruber <felgru@posteo.net>
|
2024-01-26 01:16:17 +00:00
|
|
|
|
;;; Copyright © 2021, 2023, 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2024-01-16 22:40:13 +00:00
|
|
|
|
;;; Copyright © 2021, 2023, 2024 Vinicius Monego <monego@posteo.net>
|
2021-08-27 14:23:31 +00:00
|
|
|
|
;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org>
|
2022-08-15 23:38:30 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 Nikolay Korotkiy <sikmir@disroot.org>
|
2024-01-26 01:16:17 +00:00
|
|
|
|
;;; Copyright © 2022 Patrick Noll <patrick@patricknoll.com>
|
2022-06-25 19:20:59 +00:00
|
|
|
|
;;; Copyright © 2022 Roman Scherer <roman.scherer@burningswell.com>
|
2023-04-20 19:37:48 +00:00
|
|
|
|
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2022-11-16 18:11:29 +00:00
|
|
|
|
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
2024-04-30 19:47:37 +00:00
|
|
|
|
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
|
2024-05-08 12:51:38 +00:00
|
|
|
|
;;; Copyright © 2024 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
2016-03-05 07:33:09 +00: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)
|
2023-04-27 23:43:02 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2019-05-03 11:06:03 +00:00
|
|
|
|
#:use-module (guix build-system ant)
|
2018-09-27 20:16:31 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2017-01-16 20:05:12 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-09-23 20:36:15 +00:00
|
|
|
|
#:use-module (guix build-system go)
|
2018-12-06 22:26:25 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2023-04-02 17:45:49 +00:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
2018-02-15 22:10:08 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2020-01-13 14:38:33 +00:00
|
|
|
|
#:use-module (guix build-system qt)
|
2023-06-26 10:33:02 +00:00
|
|
|
|
#:use-module (guix build-system r)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (guix download)
|
2023-04-27 23:43:02 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2019-02-18 22:32:54 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (guix packages)
|
2023-04-27 23:43:02 +00:00
|
|
|
|
#:use-module (guix svn-download)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (guix utils)
|
2019-12-04 20:17:47 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2019-07-14 18:00:46 +00:00
|
|
|
|
#:use-module (gnu packages astronomy)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages audio)
|
2019-05-27 15:05:16 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages backup)
|
2024-01-26 01:16:17 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
|
|
|
|
#:use-module (gnu packages bison)
|
2018-02-15 22:09:37 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2021-11-18 01:56:39 +00:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2022-12-03 12:17:57 +00:00
|
|
|
|
#:use-module (gnu packages c)
|
2018-02-15 22:10:08 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2022-09-15 23:45:04 +00:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2017-07-20 15:50:18 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2021-12-15 15:09:28 +00:00
|
|
|
|
#:use-module (gnu packages cpp)
|
|
|
|
|
#:use-module (gnu packages cups)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages curl)
|
2023-06-26 10:33:02 +00:00
|
|
|
|
#:use-module (gnu packages cran)
|
2018-02-15 22:09:37 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2018-09-27 20:38:32 +00:00
|
|
|
|
#:use-module (gnu packages datastructures)
|
2020-07-25 10:37:47 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2018-09-27 20:38:32 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages elf)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2019-07-14 18:00:46 +00:00
|
|
|
|
#:use-module (gnu packages fonts)
|
2018-02-15 22:09:37 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2024-05-08 12:51:38 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2022-12-19 14:18:43 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2023-06-26 19:29:29 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gnome)
|
2020-03-24 09:20:27 +00:00
|
|
|
|
#:use-module (gnu packages gps)
|
2021-10-09 13:25:20 +00:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2023-09-17 19:39:35 +00:00
|
|
|
|
#:use-module (gnu packages graphviz)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2020-03-24 09:20:27 +00:00
|
|
|
|
#:use-module (gnu packages haskell-apps)
|
2022-02-08 09:00:48 +00:00
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2023-04-27 23:43:02 +00:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2017-07-20 15:50:18 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2020-03-22 10:33:00 +00:00
|
|
|
|
#:use-module (gnu packages image-processing)
|
2023-06-26 19:29:29 +00:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2019-05-03 12:55:51 +00:00
|
|
|
|
#:use-module (gnu packages java)
|
2020-03-24 09:20:27 +00:00
|
|
|
|
#:use-module (gnu packages kde)
|
2024-04-01 17:32:54 +00:00
|
|
|
|
#:use-module (gnu packages libunwind)
|
2022-03-16 14:57:34 +00:00
|
|
|
|
#:use-module (gnu packages libusb)
|
|
|
|
|
#:use-module (gnu packages linux)
|
2018-09-23 20:37:17 +00:00
|
|
|
|
#:use-module (gnu packages lua)
|
2024-04-11 09:44:45 +00:00
|
|
|
|
#:use-module (gnu packages machine-learning)
|
2019-12-20 16:24:44 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
2021-10-09 13:25:20 +00:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2018-04-16 08:36:53 +00:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2020-03-22 10:33:00 +00:00
|
|
|
|
#:use-module (gnu packages pdf)
|
2018-04-16 08:45:52 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages photo)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2022-08-15 23:38:30 +00:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2019-03-15 11:48:54 +00:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2018-02-15 22:09:37 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2021-11-14 23:00:52 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2020-07-21 08:02:42 +00:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2021-09-28 06:34:41 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
2021-05-18 23:54:14 +00:00
|
|
|
|
#:use-module (gnu packages python-science)
|
2019-11-17 16:23:34 +00: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 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2019-07-14 18:00:46 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
#:use-module (gnu packages readline)
|
2022-11-16 18:11:29 +00:00
|
|
|
|
#:use-module (gnu packages sdl)
|
|
|
|
|
#:use-module (gnu packages speech)
|
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 20:47:05 +00:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2023-06-26 10:33:02 +00:00
|
|
|
|
#:use-module (gnu packages statistics)
|
2023-04-27 23:43:02 +00:00
|
|
|
|
#:use-module (gnu packages swig)
|
2020-03-20 16:44:06 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
#:use-module (gnu packages time)
|
2022-06-25 11:47:19 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2023-06-26 19:29:29 +00:00
|
|
|
|
#:use-module (gnu packages video)
|
2018-02-17 22:23:38 +00:00
|
|
|
|
#:use-module (gnu packages web)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
#:use-module (gnu packages webkit)
|
2018-02-21 23:10:51 +00:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
2020-03-24 09:20:27 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages xorg))
|
2016-03-05 07:33:09 +00:00
|
|
|
|
|
2023-06-26 19:29:29 +00:00
|
|
|
|
(define-public gmt
|
|
|
|
|
(package
|
|
|
|
|
(name "gmt")
|
2024-03-30 14:54:12 +00:00
|
|
|
|
(version "6.5.0")
|
2023-06-26 19:29:29 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/GenericMappingTools/gmt/"
|
|
|
|
|
"releases/download/"
|
|
|
|
|
version "/gmt-" version "-src.tar.xz"))
|
|
|
|
|
(sha256
|
2024-03-30 14:54:12 +00:00
|
|
|
|
(base32 "07hlqg3adxrz7wqih8pydr44v7j40savcxfjlkaw3y9k82sas8j0"))))
|
2023-06-26 19:29:29 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments (list #:tests? #false)) ;tests need costline data and caches
|
|
|
|
|
(inputs
|
|
|
|
|
(list curl ffmpeg fftw gdal geos ghostscript netcdf openblas pcre2))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list graphicsmagick pkg-config))
|
|
|
|
|
(home-page "https://www.generic-mapping-tools.org/")
|
|
|
|
|
(synopsis "Generic mapping tools")
|
|
|
|
|
(description "GMT is a collection of about 100 command-line tools for
|
|
|
|
|
manipulating geographic and Cartesian data sets (including filtering, trend
|
|
|
|
|
fitting, gridding, projecting, etc.) and producing high-quality illustrations
|
|
|
|
|
ranging from simple x-y plots via contour maps to artificially illuminated
|
|
|
|
|
surfaces, 3D perspective views and animations. The GMT supplements add
|
|
|
|
|
another 50 more specialized and discipline-specific tools. GMT supports over
|
|
|
|
|
30 map projections and transformations and requires support data such as GSHHG
|
|
|
|
|
coastlines, rivers, and political boundaries and optionally DCW country
|
|
|
|
|
polygons.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2022-12-03 11:14:53 +00:00
|
|
|
|
(define-public libaec
|
|
|
|
|
(package
|
|
|
|
|
(name "libaec")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.dkrz.de/k202009/libaec")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14myrmmiz9z6wgxqywf3a63cq514vrzsd6z4zvpwigvawlk30iip"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://gitlab.dkrz.de/k202009/libaec")
|
|
|
|
|
(synopsis "Adaptive Entropy Coding library")
|
|
|
|
|
(description "Libaec provides fast lossless compression of 1 up to 32 bit
|
|
|
|
|
wide signed or unsigned integers (samples). The library achieves best results
|
|
|
|
|
for low entropy data as often encountered in space imaging instrument data or
|
|
|
|
|
numerical model output from weather or climate simulations. While floating
|
|
|
|
|
point representations are not directly supported, they can also be efficiently
|
|
|
|
|
coded by grouping exponents and mantissa.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2022-12-19 14:18:43 +00:00
|
|
|
|
(define-public eccodes
|
|
|
|
|
(package
|
|
|
|
|
(name "eccodes")
|
|
|
|
|
(version "2.27.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://confluence.ecmwf.int/download/attachments/45757960/"
|
|
|
|
|
"eccodes-" version "-Source.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "16cw4v2d0kjq6gq04paqny0sh5jymn70w449mig7m5h3spzv7rgd"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DENABLE_MEMFS=ON" "-DENABLE_PNG=ON")
|
|
|
|
|
#:validate-runpath? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
(list jasper libaec libjpeg-turbo libpng netcdf openjpeg))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list gfortran perl pkg-config python))
|
|
|
|
|
(home-page "https://confluence.ecmwf.int/display/ECC")
|
|
|
|
|
(synopsis "Library for handling the GRIB, BUFR and GTS file formats")
|
|
|
|
|
(description "ecCodes is a package developed by @acronym{ECMWF, European
|
|
|
|
|
Centre for Medium-Range Weather Forecasts} which provides an application
|
|
|
|
|
programming interface and a set of tools for decoding and encoding messages in
|
|
|
|
|
the @acronym{WMO, World Meteorological Organization} FM-92 GRIB, WMO FM-94
|
|
|
|
|
BUFR and WMO GTS abbreviated header formats.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-06-25 10:10:00 +00:00
|
|
|
|
(define-public cdo
|
|
|
|
|
(package
|
|
|
|
|
(name "cdo")
|
2024-03-25 12:55:35 +00:00
|
|
|
|
(version "2.4.0")
|
2022-12-03 12:17:57 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2024-03-25 12:55:35 +00:00
|
|
|
|
"https://code.mpimet.mpg.de/attachments/download/29313/cdo-"
|
2022-12-03 12:17:57 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2024-03-25 12:55:35 +00:00
|
|
|
|
(base32 "0b2d1d8r1lxs422dxajnmvjyhjwfichlkglv3yqm7wq7rjw0yyd4"))))
|
2022-06-25 10:10:00 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags
|
2022-12-03 12:17:57 +00:00
|
|
|
|
#~(list (string-append "--with-curl="
|
|
|
|
|
#$(this-package-input "curl"))
|
|
|
|
|
(string-append "--with-eccodes="
|
|
|
|
|
#$(this-package-input "eccodes"))
|
|
|
|
|
(string-append "--with-fftw3="
|
|
|
|
|
#$(this-package-input "fftw"))
|
|
|
|
|
(string-append "--with-hdf5="
|
|
|
|
|
#$(this-package-input "hdf5"))
|
|
|
|
|
(string-append "--with-netcdf="
|
|
|
|
|
#$(this-package-input "netcdf"))
|
|
|
|
|
(string-append "--with-proj="
|
|
|
|
|
#$(this-package-input "proj"))
|
|
|
|
|
(string-append "--with-udunits2="
|
|
|
|
|
#$(this-package-input "udunits"))
|
|
|
|
|
(string-append "--with-libxml2="
|
|
|
|
|
#$(this-package-input "libxml2")))
|
|
|
|
|
;; Some tests can fail on machines with many threads.
|
|
|
|
|
#:parallel-tests? #f))
|
2022-06-25 10:10:00 +00:00
|
|
|
|
(inputs
|
2022-12-03 12:17:57 +00:00
|
|
|
|
(list curl eccodes fftw hdf5 libxml2 netcdf proj udunits))
|
2022-06-25 10:10:00 +00:00
|
|
|
|
(native-inputs
|
2024-03-25 12:55:35 +00:00
|
|
|
|
(list pkg-config python-wrapper))
|
2022-06-25 10:10:00 +00:00
|
|
|
|
(home-page "https://code.mpimet.mpg.de/projects/cdo")
|
|
|
|
|
(synopsis "Climate data operators")
|
|
|
|
|
(description "@acronym{CDO, Climate Data Operators} is a collection of command-line
|
|
|
|
|
operators to manipulate and analyse climate and NWP model data. Supported
|
|
|
|
|
data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more
|
|
|
|
|
than 600 operators available.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2023-04-27 23:43:01 +00:00
|
|
|
|
(define-public h3
|
|
|
|
|
(package
|
|
|
|
|
(name "h3")
|
|
|
|
|
(version "4.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uber/h3")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0x764xzna8ka6yhgv2y4hb158a61y3g9a6835qckqp7wfkpqvb7f"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
|
|
|
|
|
(home-page "https://h3geo.org/")
|
|
|
|
|
(synopsis "Hexagonal hierarchical geospatial indexing system")
|
|
|
|
|
(description "H3 is a geospatial indexing system using a hexagonal grid
|
|
|
|
|
that can be (approximately) subdivided into finer and finer hexagonal grids,
|
|
|
|
|
combining the benefits of a hexagonal grid with S2's hierarchical
|
|
|
|
|
subdivisions.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2023-04-27 23:43:04 +00:00
|
|
|
|
;; For python-timezonefinder, remove it when it starts supporting newer
|
|
|
|
|
;; version.
|
|
|
|
|
(define-public h3-3
|
|
|
|
|
(package
|
|
|
|
|
(inherit h3)
|
|
|
|
|
(name "h3")
|
|
|
|
|
(version "3.7.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uber/h3")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0bvsljfxmjvl23v9gxykc4aynjzh5xfy3wg02bxad7cknr1amx9j"))))))
|
|
|
|
|
|
2023-04-27 23:43:03 +00:00
|
|
|
|
(define-public python-h3
|
|
|
|
|
(package
|
|
|
|
|
(name "python-h3")
|
|
|
|
|
(version "4.0.0b2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch) ; no tests data in PyPi package
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uber/h3-py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1k1n256hhlh05gjcj64pqh08zlaz6962jkb6nk1aazsgg8p41zs0"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; Remove bundeled H3 lib.
|
|
|
|
|
(snippet #~(begin (delete-file-recursively "src/h3lib")))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; FIXME: Check why these tests are failing.
|
|
|
|
|
;; test_versions - assert (4, 1) == (4, 0)
|
|
|
|
|
;; test_resolution - h3._cy.error_system.H3Failed
|
|
|
|
|
#:test-flags #~(list "-k" (string-append
|
|
|
|
|
"not test_versions"
|
|
|
|
|
" and not test_resolution"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; Use packaged in Guix h3 source.
|
|
|
|
|
(add-after 'unpack 'patch-cmakelists
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\(src/h3lib\\)")
|
|
|
|
|
(string-append
|
|
|
|
|
"include_directories(" #$(this-package-input "h3")
|
|
|
|
|
"/include/h3)\n"
|
|
|
|
|
"link_directories(" #$(this-package-input "h3")
|
|
|
|
|
"/lib)\n"))
|
|
|
|
|
((".*CMAKE_CURRENT_BINARY_DIR.*")
|
|
|
|
|
(string-append #$(this-package-input "h3")
|
|
|
|
|
"/include/h3/h3api.h\n"))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list cmake-minimal
|
|
|
|
|
python-cython
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pytest
|
|
|
|
|
python-scikit-build
|
|
|
|
|
python-setuptools-scm))
|
|
|
|
|
(inputs (list h3))
|
|
|
|
|
(home-page "https://uber.github.io/h3-py")
|
|
|
|
|
(synopsis "Python bindings for H3")
|
|
|
|
|
(description "This package provides a Python bindings for H3, a
|
|
|
|
|
hierarchical hexagonal geospatial indexing system")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2023-04-27 23:43:04 +00:00
|
|
|
|
;; For python-timezonefinder, remove it when it starts supporting newer
|
|
|
|
|
;; version.
|
|
|
|
|
(define-public python-h3-3
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-h3)
|
|
|
|
|
(name "python-h3")
|
|
|
|
|
(version "3.7.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/uber/h3-py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "16gxa1sivghxw179rik87r918mjasars2qkzidlwq83qfa4axn20"))))
|
|
|
|
|
(inputs
|
|
|
|
|
(modify-inputs (package-inputs python-h3)
|
|
|
|
|
(replace "h3" h3-3)))))
|
|
|
|
|
|
2020-07-25 10:37:47 +00:00
|
|
|
|
(define-public memphis
|
|
|
|
|
(package
|
|
|
|
|
(name "memphis")
|
|
|
|
|
(version "0.2.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
gnu: Don't append '.git' to GitHub uris.
* gnu/packages/admin.scm (nmrpflash)[source]: Remove '.git' from URI.
* gnu/packages/aidc.scm (zxing-cpp),
* gnu/packages/assembly.scm (mbuild),
* gnu/packages/audio.scm (opensles, wildmidi, tinyalsa),
* gnu/packages/browser-extensions.scm (ublock-origin-chromium),
* gnu/packages/check.scm (mutest),
* gnu/packages/compression.scm (unshield),
* gnu/packages/coq.scm (subset),
* gnu/packages/dictionaries.scm (translate-shell),
* gnu/packages/disk.scm (memkind),
* gnu/packages/documentation.scm (latex2html),
* gnu/packages/emacs-xyz.scm (emacs-chronometrist,
emacs-flycheck-ledger, emacs-counsel-notmuch, emacs-spaceline,
emacs-org-generate),
* gnu/packages/embedded.scm (ebusd, ebusd-configuration),
* gnu/packages/enchant.scm (nuspell),
* gnu/packages/fontutils.scm (woff2),
* gnu/packages/geo.scm (memphis),
* gnu/packages/gimp.scm (mrg),
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-appindicator),
* gnu/packages/gnome.scm (parlatype),
* gnu/packages/golang.scm (go-github-com-tv42-httpunix,
go-github-com-ayufan-golang-kardianos-service),
* gnu/packages/graphics.scm (eglexternalplatform, egl-wayland, mmm,
directfb, flux),
* gnu/packages/gstreamer.scm (openni2, ccextractor, libvisual,
graphene),
* gnu/packages/guile-xyz.scm (guile-srfi-180, guile-torrent),
* gnu/packages/image.scm (openjpeg-data),
* gnu/packages/java.scm (javacc),
* gnu/packages/language.scm (liblouis, liblouisutdml),
* gnu/packages/linux.scm (pamela, ttyebus),
* gnu/packages/lxqt.scm (lxqt-connman-applet),
* gnu/packages/mail.scm (libetpan),
* gnu/packages/man.scm (ronn),
* gnu/packages/music.scm (tascam-gtk, artyfx),
* gnu/packages/networking.scm (srt, lksctp-tools, nng, nanomsg),
* gnu/packages/python-crypto.scm (pure-python-otr),
* gnu/packages/qt.scm (qtspell),
* gnu/packages/raspberry-pi.scm (raspi-gpio, raspi-open-firmware),
* gnu/packages/rdp.scm (freerdp),
* gnu/packages/ruby.scm (ruby-prawn-templates, ruby-treetop, ruby-gimme,
ruby-standard, ruby-rubocop-ast, ruby-rexml, ruby-range-compressor,
ruby-regexp-property-values, ruby-regexp-parser, ruby-rubocop,
ruby-pdf-reader, ruby-pdf-inspector, ruby-prawn),
* gnu/packages/syncthing.scm (syncthing-gtk),
* gnu/packages/video.scm (svt-hevc, mediasdk, libvideogfx, libde265,
tslib),
* gnu/packages/xml.scm (libxmlb, libxmlplusplus)[source]: Same.
2020-11-19 18:18:54 +00:00
|
|
|
|
(url "https://github.com/jiuka/memphis")
|
2020-07-25 10:37:47 +00:00
|
|
|
|
(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
|
2023-04-20 19:37:48 +00:00
|
|
|
|
(list "--disable-static"
|
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
|
"--enable-vala"
|
|
|
|
|
(string-append "--with-html-dir=" #$output "/share/gtk-doc/html"))
|
2020-07-25 10:37:47 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("\\./configure \"\\$@\"")
|
2023-04-20 19:37:48 +00:00
|
|
|
|
"")))))))
|
2020-07-25 10:37:47 +00:00
|
|
|
|
(native-inputs
|
2023-04-20 19:37:48 +00:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
docbook-xml-4.3
|
|
|
|
|
gobject-introspection
|
|
|
|
|
gtk-doc/stable
|
|
|
|
|
libtool
|
|
|
|
|
libxml2 ;for XML_CATALOG_FILES
|
|
|
|
|
pkg-config
|
|
|
|
|
python-wrapper
|
|
|
|
|
seed
|
|
|
|
|
vala))
|
|
|
|
|
(inputs (list expat glib))
|
|
|
|
|
(propagated-inputs (list cairo))
|
2020-07-25 10:37:47 +00:00
|
|
|
|
(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 17:35:31 +00:00
|
|
|
|
(define-public geos
|
|
|
|
|
(package
|
|
|
|
|
(name "geos")
|
2024-02-04 16:47:14 +00:00
|
|
|
|
(version "3.12.1")
|
2017-01-20 17:35:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/geos/geos-"
|
|
|
|
|
version
|
|
|
|
|
".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-04 16:47:14 +00:00
|
|
|
|
"00qdk9a4048pzfj2rhzkfw3lvm642znf6kr4x29i3d94494pxsnn"))))
|
2022-07-06 18:14:05 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2017-01-20 17:35:31 +00:00
|
|
|
|
(arguments `(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'unpack 'patch-test-shebangs
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("tests/xmltester/testrunner.sh"
|
2024-02-04 16:47:14 +00:00
|
|
|
|
"tests/xmltester/safe_to_xml.sh")
|
2022-07-06 18:14:05 +00:00
|
|
|
|
(("/bin/sh") (which "sh"))))))))
|
2017-01-20 17:35:31 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list glib))
|
2022-07-06 18:14:05 +00:00
|
|
|
|
(home-page "https://libgeos.org/")
|
2017-01-20 17:35:31 +00:00
|
|
|
|
(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 07:33:09 +00:00
|
|
|
|
(define-public gnome-maps
|
|
|
|
|
(package
|
|
|
|
|
(name "gnome-maps")
|
2024-05-08 12:51:38 +00:00
|
|
|
|
(version "46.10")
|
2016-03-05 07:33:09 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
2021-09-24 19:37:07 +00:00
|
|
|
|
(version-major version) "/"
|
2016-03-05 07:33:09 +00:00
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-05-08 12:51:38 +00:00
|
|
|
|
"1br1ak0cwvvv8rszj9ffyvir7qcbxys940ygy22dzzn2l2byw9az"))))
|
2018-12-06 22:26:25 +00:00
|
|
|
|
(build-system meson-build-system)
|
2016-03-05 07:33:09 +00:00
|
|
|
|
(arguments
|
2022-09-12 16:03:02 +00:00
|
|
|
|
(list
|
|
|
|
|
#:glib-or-gtk? #t
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2022-10-05 19:44:00 +00:00
|
|
|
|
(add-after 'unpack 'skip-cache-and-database-updates
|
2022-09-12 16:03:02 +00:00
|
|
|
|
(lambda _
|
2022-10-05 19:44:00 +00:00
|
|
|
|
(substitute* "meson.build"
|
|
|
|
|
(("([a-z_]*): true" all option)
|
|
|
|
|
(cond ; cond rather than match saves an import
|
|
|
|
|
((member option '("gtk_update_icon_cache"
|
|
|
|
|
"update_desktop_database"))
|
|
|
|
|
(string-append option ": false"))
|
|
|
|
|
(else all))))))
|
2024-05-08 12:51:38 +00:00
|
|
|
|
(add-before 'check 'check-setup
|
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
|
;; for timeTest
|
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(search-input-directory (or native-inputs inputs)
|
|
|
|
|
"share/zoneinfo"))))
|
2022-09-12 16:03:02 +00:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda _
|
2022-10-05 19:59:36 +00:00
|
|
|
|
(let ((gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
(substitute* (string-append #$output "/share/gnome-maps/"
|
|
|
|
|
"org.gnome.Maps")
|
|
|
|
|
(("imports\\.package\\.init" all)
|
|
|
|
|
(string-append "'" gi-typelib-path "'.split(':').forEach("
|
|
|
|
|
"path => imports.gi.GIRepository.Repository."
|
|
|
|
|
"prepend_search_path(path));\n"
|
|
|
|
|
all)))))))))
|
2016-03-05 07:33:09 +00:00
|
|
|
|
(native-inputs
|
2022-09-12 16:03:02 +00:00
|
|
|
|
(list gettext-minimal
|
|
|
|
|
`(,glib "bin")
|
|
|
|
|
gobject-introspection
|
2024-05-08 12:51:38 +00:00
|
|
|
|
libportal
|
|
|
|
|
pkg-config
|
|
|
|
|
tzdata-for-tests))
|
2016-03-05 07:33:09 +00:00
|
|
|
|
(inputs
|
2022-09-12 16:03:02 +00:00
|
|
|
|
(list folks
|
|
|
|
|
evolution-data-server
|
|
|
|
|
geoclue
|
|
|
|
|
geocode-glib
|
|
|
|
|
gfbgraph
|
|
|
|
|
gjs
|
|
|
|
|
glib
|
|
|
|
|
glib-networking
|
|
|
|
|
gnome-online-accounts
|
|
|
|
|
gsettings-desktop-schemas
|
2023-11-21 17:49:24 +00:00
|
|
|
|
gtk
|
2022-09-12 16:03:02 +00:00
|
|
|
|
libadwaita
|
|
|
|
|
libgee
|
|
|
|
|
libgweather4
|
|
|
|
|
librsvg
|
|
|
|
|
libsecret
|
2022-10-05 19:45:18 +00:00
|
|
|
|
libshumate
|
2022-09-12 16:03:02 +00:00
|
|
|
|
libsoup
|
|
|
|
|
libxml2
|
|
|
|
|
rest-next
|
gnu: Make webkitgtk-next the new webkitgtk.
As of version 2.42.0, the WebKit 6.0 typelib is considered stable.
With GNOME itself moving to GTK4 as time marches on, we should reflect
the fact that this is the preferred Webkit for future applications.
* gnu/packages/webkit.scm (webkitgtk-next): Remove variable. Inline logic…
(webkitgtk): … here. Move old value …
(webkitgtk-for-gtk3): … here.
(webkitgtk-with-libsoup2): Inherit from webkitgtk-for-gtk3.
* gnu/packages/geo.scm (gnome-maps): Adjust accordingly.
* gnu/packages/gnome.scm (gnome-initial-setup, sushi)
(cambalache, devhelp, devhelp-with-libsoup2, gnome-online-accounts)
(gnome-online-accounts-3.44, evolution-data-server, evolution-data-server-3.44)
(lollypop, evolution, gnome-boxes, geary, komikku): Likewise.
* gnu/packages/guile-xyz.scm (guile-gi, nomad): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Likewise.
* gnu/packages/mail.scm (balsa): Likewise.
* gnu/packages/mate.scm (atril): Likewise.
* gnu/packages/music.scm (ctrlr): Likewise.
* gnu/packages/rednotebook.scm (rednotebook): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telegram.scm (telegram-desktop): Likewise.
* gnu/packages/vnc.scm (remmina): Likewise.
* gnu/packages/web-browsers.scm (nyxt): Likewise.
2023-10-12 06:25:26 +00:00
|
|
|
|
webkitgtk-for-gtk3))
|
2016-03-05 07:33:09 +00:00
|
|
|
|
(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 20:05:12 +00:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-07-20 15:50:18 +00:00
|
|
|
|
(define-public libgeotiff
|
|
|
|
|
(package
|
|
|
|
|
(name "libgeotiff")
|
2022-07-06 18:14:04 +00:00
|
|
|
|
(version "1.7.1")
|
2017-07-20 15:50:18 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-"
|
|
|
|
|
version ".tar.gz"))
|
2024-02-04 16:47:13 +00:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "libgeotiff-fix-tests-with-proj-9.1.1.patch"
|
|
|
|
|
"libgeotiff-fix-tests-with-proj-9.3.0.patch"
|
|
|
|
|
"libgeotiff-fix-tests-with-proj-9.3.1.patch"
|
|
|
|
|
"libgeotiff-fix-tests-on-i386.patch"))
|
2017-07-20 15:50:18 +00:00
|
|
|
|
(sha256
|
2022-07-06 18:14:04 +00:00
|
|
|
|
(base32 "1mjmgv48x51ppax5dnb6lq7z600czxll53bx6jbzqwd4m93i7aq5"))
|
2017-07-20 15:50:18 +00: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 11:47:34 +00:00
|
|
|
|
#t))))
|
2017-07-20 15:50:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libjpeg-turbo libtiff zlib))
|
2020-01-07 13:28:09 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ;; libgeotiff headers include proj headers, so ensure those are available.
|
|
|
|
|
proj))
|
2017-07-20 15:50:18 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2020-01-07 13:28:53 +00:00
|
|
|
|
(list "--disable-static"
|
|
|
|
|
"--with-zlib" "--with-jpeg"
|
2017-07-20 15:50:18 +00: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.")))))
|
|
|
|
|
|
2021-03-28 08:40:21 +00:00
|
|
|
|
(define-public librasterlite2
|
|
|
|
|
(package
|
|
|
|
|
(name "librasterlite2")
|
|
|
|
|
(version "1.1.0-beta1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.gaia-gis.it/gaia-sins/librasterlite2-sources/"
|
|
|
|
|
"librasterlite2-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x24gqp4hsq97c31ncwxblab0x0863q8v1z42jil7lvsq3glqa7p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2021-03-28 08:40:21 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list cairo
|
|
|
|
|
curl
|
|
|
|
|
freetype
|
|
|
|
|
freexl
|
|
|
|
|
giflib
|
|
|
|
|
libgeotiff
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
librttopo
|
|
|
|
|
libspatialite
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp
|
|
|
|
|
libxml2
|
|
|
|
|
lz4
|
|
|
|
|
minizip
|
|
|
|
|
openjpeg
|
|
|
|
|
proj
|
|
|
|
|
sqlite
|
|
|
|
|
`(,zstd "lib")))
|
2021-03-28 08:40:21 +00:00
|
|
|
|
(synopsis "Library to work with huge raster coverages using a SpatiaLite")
|
|
|
|
|
(description
|
|
|
|
|
"librasterlite2 is a library that stores and retrieves huge raster
|
|
|
|
|
coverages using a SpatiaLite DBMS.")
|
|
|
|
|
(home-page "https://www.gaia-gis.it/fossil/librasterlite2/index")
|
|
|
|
|
;; For the genuine librasterlite-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.
|
|
|
|
|
;; The tools supporting the library (both rl2tool and wmslite) are
|
|
|
|
|
;; licensed under the GPL v3 (or any subsequent version) terms.
|
|
|
|
|
;; The test/*.svg files are placed in the public domain, except for
|
|
|
|
|
;; test/Car_Yellow.svg which is licensed under the Free Art License 1.3.
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:lal1.3
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:mpl1.1
|
|
|
|
|
license:public-domain))))
|
|
|
|
|
|
2020-11-30 19:42:33 +00:00
|
|
|
|
(define-public librttopo
|
|
|
|
|
(package
|
|
|
|
|
(name "librttopo")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.osgeo.org/gitea/rttopo/librttopo")
|
|
|
|
|
(commit (string-append "librttopo-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((autoconf (which "autoconf"))
|
|
|
|
|
(autoheader (which "autoheader"))
|
|
|
|
|
(aclocal (which "aclocal"))
|
|
|
|
|
(automake (which "automake"))
|
|
|
|
|
(libtoolize (which "libtoolize")))
|
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
|
(("`which autoconf 2>/dev/null`") autoconf)
|
|
|
|
|
(("`which autoheader 2>/dev/null`") autoheader)
|
|
|
|
|
(("ACLOCAL=.*$")
|
|
|
|
|
(string-append "ACLOCAL=" aclocal "\n"))
|
|
|
|
|
(("AUTOMAKE=.*$")
|
|
|
|
|
(string-append "AUTOMAKE=" automake "\n"))
|
|
|
|
|
(("LIBTOOLIZE=.*$")
|
|
|
|
|
(string-append "LIBTOOLIZE=" libtoolize "\n"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake libtool pkg-config))
|
2020-11-30 19:42:33 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list geos))
|
2020-11-30 19:42:33 +00:00
|
|
|
|
(synopsis "Library to handle SQL/MM topologies")
|
|
|
|
|
(description
|
|
|
|
|
"The RT Topology Library exposes an API to create and manage standard
|
|
|
|
|
(ISO 13249 aka SQL/MM) topologies using user-provided data stores.")
|
|
|
|
|
(home-page "https://git.osgeo.org/gitea/rttopo/librttopo")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(define-public libspatialite
|
|
|
|
|
(package
|
|
|
|
|
(name "libspatialite")
|
2023-08-12 09:12:01 +00:00
|
|
|
|
(version "5.1.0")
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2023-08-12 09:12:01 +00:00
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"libspatialite-sources/libspatialite-"
|
2018-02-21 23:07:47 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-08-12 09:12:01 +00:00
|
|
|
|
"102hc18fvwr1kw8aap53zqi8r0l52b8wa00lvlbf1zys979jvgj3"))))
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list freexl
|
|
|
|
|
geos
|
|
|
|
|
librttopo
|
|
|
|
|
libxml2
|
|
|
|
|
minizip
|
|
|
|
|
proj
|
|
|
|
|
sqlite))
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(arguments
|
2020-11-30 19:42:34 +00:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("--enable-rttopo=yes")
|
2022-09-26 15:08:39 +00:00
|
|
|
|
;; FIXME: Several tests fail with Proj 9.
|
|
|
|
|
#:tests? #f
|
2020-11-30 19:42:34 +00:00
|
|
|
|
#:phases
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(modify-phases %standard-phases
|
2021-08-20 12:24:52 +00:00
|
|
|
|
;; 1 test is failing, ignore it:
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(add-after 'unpack 'ignore-broken-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("test/Makefile.in")
|
2021-08-20 12:24:52 +00:00
|
|
|
|
(("check_wms\\$\\(EXEEXT\\) check_drop_rename\\$\\(EXEEXT\\) ")
|
|
|
|
|
"check_wms$(EXEEXT) ")))))))
|
2018-02-21 23:07:47 +00:00
|
|
|
|
(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 20:13:42 +00:00
|
|
|
|
(define-public proj
|
|
|
|
|
(package
|
|
|
|
|
(name "proj")
|
2024-02-04 16:47:11 +00:00
|
|
|
|
(version "9.3.1")
|
2019-12-04 20:13:42 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/proj/proj-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-04 16:47:11 +00:00
|
|
|
|
"1g0hkpiablvhsmw0kn5frwgdir3q7avc45p6lc1zhhhzkv5ikydh"))))
|
2021-09-28 06:34:40 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2022-09-12 21:01:14 +00:00
|
|
|
|
(native-inputs (list googletest pkg-config))
|
|
|
|
|
(propagated-inputs (list curl libtiff sqlite)) ;required by proj.pc
|
2019-12-04 20:13:42 +00:00
|
|
|
|
(home-page "https://proj.org/")
|
|
|
|
|
(synopsis "Coordinate transformation software")
|
|
|
|
|
(description
|
|
|
|
|
"Proj is a generic coordinate transformation software that transforms
|
2021-09-28 06:34:40 +00:00
|
|
|
|
geospatial coordinates from one @acronym{CRS, coordinate reference system}
|
|
|
|
|
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.")
|
2019-12-04 20:13:42 +00:00
|
|
|
|
(license (list license:expat
|
|
|
|
|
;; src/projections/patterson.cpp
|
|
|
|
|
license:asl2.0
|
|
|
|
|
;; src/geodesic.*, src/tests/geodtest.cpp
|
|
|
|
|
license:x11))))
|
|
|
|
|
|
2022-09-08 20:14:30 +00:00
|
|
|
|
; This is the last version of proj that provides the old proj.4 API.
|
|
|
|
|
(define-public proj-7
|
|
|
|
|
(package (inherit proj)
|
|
|
|
|
(version "7.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.osgeo.org/proj/proj-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-06-05 15:55:38 +00:00
|
|
|
|
"050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "proj-7-initialize-memory.patch"))))
|
2022-09-08 20:14:30 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-version
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))))
|
|
|
|
|
|
2017-01-16 20:05:12 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list glib))
|
2020-01-18 19:41:48 +00:00
|
|
|
|
(home-page "https://proj.org/")
|
2017-01-16 20:05:12 +00: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 22:09:37 +00:00
|
|
|
|
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(define-public python-pyproj
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyproj")
|
2024-02-04 16:47:12 +00:00
|
|
|
|
(version "3.6.1")
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyproj" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-04 16:47:12 +00:00
|
|
|
|
"1gq1spm5zdq9k8kl9cb31b9m08ybyrdggfw3sjrqyz9b9iq7raj4"))))
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2024-02-04 16:47:12 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-proj-path
|
|
|
|
|
(lambda* (#:key #:allow-other-keys)
|
|
|
|
|
(let ((proj #$(this-package-input "proj")))
|
|
|
|
|
(setenv "PROJ_DIR" proj)
|
|
|
|
|
(substitute* "pyproj/datadir.py"
|
|
|
|
|
(("(internal_datadir = ).*$" all var)
|
|
|
|
|
(string-append var "Path(\"" proj
|
|
|
|
|
"/share/proj\")\n")))))))))
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list proj))
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-certifi))
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(native-inputs
|
2024-02-04 16:47:12 +00:00
|
|
|
|
(list python-cython
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pandas
|
|
|
|
|
python-pytest
|
2021-12-13 16:18:24 +00:00
|
|
|
|
python-xarray))
|
2021-09-28 06:34:41 +00:00
|
|
|
|
(home-page "https://github.com/pyproj4/pyproj")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Python interface to PROJ")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Python interface to PROJ, a cartographic
|
|
|
|
|
projections and coordinate transformations library.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(define-public python-fiona
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fiona")
|
2023-06-26 15:57:26 +00:00
|
|
|
|
(version "1.9.4.post1")
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Fiona" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-06-26 15:57:26 +00:00
|
|
|
|
"083120rqc4rrqzgmams0yjd8b1h4p5xm4n9fnxg064ymw3vx6yan"))))
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'remove-local-fiona
|
|
|
|
|
(lambda _
|
|
|
|
|
; This would otherwise interfere with finding the installed
|
|
|
|
|
; fiona when running tests.
|
|
|
|
|
(delete-file-recursively "fiona")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
2022-01-19 12:48:54 +00:00
|
|
|
|
(setenv "GDAL_ENABLE_DEPRECATED_DRIVER_GTM" "YES")
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(when tests?
|
2022-01-19 12:48:54 +00:00
|
|
|
|
(invoke "pytest"
|
|
|
|
|
"-m" "not network and not wheel"
|
|
|
|
|
;; FIXME: Find why the
|
|
|
|
|
;; test_no_append_driver_cannot_append[PCIDSK]
|
|
|
|
|
;; test is failing.
|
|
|
|
|
"-k" "not test_no_append_driver_cannot_append")))))))
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gdal))
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-attrs
|
|
|
|
|
python-certifi
|
|
|
|
|
python-click
|
|
|
|
|
python-click-plugins
|
|
|
|
|
python-cligj
|
2023-06-26 15:57:26 +00:00
|
|
|
|
python-importlib-metadata
|
|
|
|
|
python-six))
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gdal ; for gdal-config
|
|
|
|
|
python-boto3
|
|
|
|
|
python-cython
|
2023-06-26 15:57:26 +00:00
|
|
|
|
python-pytest python-pytest-cov python-pytz))
|
2021-09-28 06:34:43 +00:00
|
|
|
|
(home-page "https://github.com/Toblerity/Fiona")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Fiona reads and writes spatial data files")
|
|
|
|
|
(description
|
|
|
|
|
"Fiona is GDAL’s neat and nimble vector API for Python programmers.
|
|
|
|
|
Fiona is designed to be simple and dependable. It focuses on reading
|
|
|
|
|
and writing data in standard Python IO style and relies upon familiar
|
|
|
|
|
Python types and protocols such as files, dictionaries, mappings, and
|
|
|
|
|
iterators instead of classes specific to OGR. Fiona can read and write
|
|
|
|
|
real-world data using multi-layered GIS formats and zipped virtual file
|
|
|
|
|
systems and integrates readily with other Python GIS packages such as
|
|
|
|
|
pyproj, Rtree, and Shapely.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2024-05-20 22:12:50 +00:00
|
|
|
|
(define-public python-geopack
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geopack")
|
|
|
|
|
(version "1.0.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geopack" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0mryjp7m4h99qlpvnn40s81sygr73qcv8rkmjp9pcli1gz829kjf"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; XXX Reported upstream <https://github.com/tsssss/geopack/issues/21>.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-pytest))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-numpy python-scipy))
|
|
|
|
|
(home-page "https://github.com/tsssss/geopack")
|
|
|
|
|
(synopsis "Python version of geopack and Tsyganenko models")
|
|
|
|
|
(description
|
|
|
|
|
"Python version of geopack and Tsyganenko models, compatible with
|
|
|
|
|
@code{geopack05} and @code{geopack08}.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(define-public python-geopandas
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geopandas")
|
2024-01-11 16:10:03 +00:00
|
|
|
|
(version "0.14.2")
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geopandas" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-01-11 16:10:03 +00:00
|
|
|
|
"1nycf79nzris058lz1fyg0byj874wxq33an3y74zvybnhdxxawbf"))))
|
2023-06-26 16:08:34 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(arguments
|
2023-06-26 16:08:34 +00:00
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
'(list
|
|
|
|
|
;; Test files are missing
|
|
|
|
|
"--ignore=geopandas/tests/test_overlay.py"
|
|
|
|
|
"--ignore=geopandas/io/tests/test_file.py"
|
2024-01-11 16:10:03 +00:00
|
|
|
|
;; Number of open figures changed during test
|
|
|
|
|
"-k" "not test_pandas_kind"
|
2023-06-26 16:08:34 +00:00
|
|
|
|
;; Disable tests that require internet access.
|
|
|
|
|
"-m" "not web")))
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(propagated-inputs
|
2023-06-26 16:08:34 +00:00
|
|
|
|
(list python-fiona python-packaging python-pandas python-pyproj
|
|
|
|
|
python-shapely))
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pytest))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://geopandas.org")
|
2021-09-28 06:34:44 +00:00
|
|
|
|
(synopsis "Geographic pandas extensions")
|
|
|
|
|
(description "The goal of GeoPandas is to make working with
|
|
|
|
|
geospatial data in Python easier. It combines the capabilities of
|
|
|
|
|
Pandas and Shapely, providing geospatial operations in Pandas and a
|
|
|
|
|
high-level interface to multiple geometries to Shapely. GeoPandas
|
|
|
|
|
enables you to easily do operations in Python that would otherwise
|
|
|
|
|
require a spatial database such as PostGIS.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2024-04-30 19:47:37 +00:00
|
|
|
|
(define-public python-overpass
|
|
|
|
|
(package
|
|
|
|
|
(name "python-overpass")
|
|
|
|
|
(version "0.7")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "overpass" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0l2n01j0vslag8cf3sp7jif0d4ql6i99fvfv2mgc3ajws69aqzr6"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; tests disabled, as they require network
|
|
|
|
|
(list #:tests? #f))
|
|
|
|
|
(propagated-inputs (list python-geojson
|
|
|
|
|
python-requests
|
|
|
|
|
python-shapely))
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(home-page "https://github.com/mvexel/overpass-api-python-wrapper")
|
|
|
|
|
(synopsis "Python wrapper for the OpenStreetMap Overpass API")
|
|
|
|
|
(description "This package provides python-overpass, a Python wrapper
|
|
|
|
|
for the @code{OpenStreetMap} Overpass API.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2024-01-26 01:16:17 +00:00
|
|
|
|
(define-public python-ogr2osm
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ogr2osm")
|
|
|
|
|
(version "1.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch) ; no tests data in PyPi package
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/roelderickx/ogr2osm/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hwqnx3cdqxmniydpj1v31kglq1xjsx41d8p10c9j4hg8kb43j80"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; There are tests in git checkout but non of the examples taken from
|
|
|
|
|
;; GitHub Actions worked for me. Disabling them to be checked later
|
|
|
|
|
;; <https://github.com/roelderickx/ogr2osm/blob/main/.github/workflows/test.yml>.
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
;; TODO: Fix provided tests.
|
|
|
|
|
;; (invoke "cram" "test/basic_usage.t")
|
|
|
|
|
;; (invoke "cram" "test/osm_output.t")
|
|
|
|
|
;; (invoke "cram" "test/pbf_output.t")
|
|
|
|
|
|
|
|
|
|
;; Run simple tests to ensure that the command is working.
|
|
|
|
|
(invoke "ogr2osm" "--help")
|
|
|
|
|
(invoke
|
|
|
|
|
"ogr2osm" "-f" "test/shapefiles/basic_geometries.kml")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list gdal))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list coreutils
|
|
|
|
|
diffutils
|
|
|
|
|
libxml2
|
|
|
|
|
python-cram
|
|
|
|
|
which))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-lxml
|
|
|
|
|
python-protobuf))
|
|
|
|
|
(home-page "https://github.com/roelderickx/ogr2osm")
|
|
|
|
|
(synopsis "Convert ogr-readable files like shapefiles into OSM or PDF formats")
|
|
|
|
|
(description
|
|
|
|
|
"@code{ogr2osm} is a tool for converting ogr-readable files into
|
|
|
|
|
@acronym{OSM, OpenStreetMap} format. It supports reading from OGR files like
|
|
|
|
|
shapefiles or PostgresSQL database and converts data into @code{osm} or
|
|
|
|
|
@code{osm.pbf} formats. A translation file can be used to manipulate the data
|
|
|
|
|
during conversion.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(define-public python-osmnx
|
|
|
|
|
(package
|
|
|
|
|
(name "python-osmnx")
|
2024-05-11 19:08:06 +00:00
|
|
|
|
(version "1.9.3")
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2024-01-19 08:38:16 +00:00
|
|
|
|
;; Fetch from github as the pypi package is missing the tests dir.
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gboeing/osmnx")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-05-11 19:08:06 +00:00
|
|
|
|
(base32 "0yi9al6rrc584y24vigi7w52dq9k2l2zgblrj5ajwgk8079k8zsf"))))
|
2023-04-02 17:45:49 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(arguments
|
2023-04-02 17:45:49 +00:00
|
|
|
|
(list
|
2024-01-19 08:38:16 +00:00
|
|
|
|
#:test-flags '(list "-k"
|
|
|
|
|
(string-append
|
|
|
|
|
;; The following tests require network access.
|
|
|
|
|
"not test_stats"
|
|
|
|
|
" and not test_geocoder"
|
|
|
|
|
" and not test_osm_xml"
|
|
|
|
|
" and not test_elevation"
|
|
|
|
|
" and not test_routing"
|
|
|
|
|
" and not test_plots"
|
|
|
|
|
" and not test_find_nearest"
|
|
|
|
|
" and not test_api_endpoints"
|
|
|
|
|
" and not test_graph_save_load"
|
|
|
|
|
" and not test_graph_from_functions"
|
|
|
|
|
" and not test_features"))))
|
|
|
|
|
(propagated-inputs (list python-folium
|
|
|
|
|
python-geopandas
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-networkx
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pandas
|
|
|
|
|
python-requests
|
|
|
|
|
python-shapely))
|
|
|
|
|
(native-inputs (list python-hatchling python-pytest))
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(home-page "https://github.com/gboeing/osmnx")
|
|
|
|
|
(synopsis
|
2024-01-19 08:38:16 +00:00
|
|
|
|
"Retrieve, model, analyze, and visualize OpenStreetMap street networks")
|
2022-05-19 19:46:06 +00:00
|
|
|
|
(description
|
2024-01-19 08:38:16 +00:00
|
|
|
|
"OSMnx is a Python library that lets you download geospatial data
|
2022-05-19 19:46:06 +00:00
|
|
|
|
from OpenStreetMap and model, project, visualize, and analyze real-world
|
|
|
|
|
street networks and any other geospatial geometries. You can download
|
|
|
|
|
and model walkable, drivable, or bikeable urban networks with a single
|
|
|
|
|
line of Python code then easily analyze and visualize them. You can
|
|
|
|
|
just as easily download and work with other infrastructure types,
|
|
|
|
|
amenities/points of interest, building footprints, elevation data,
|
|
|
|
|
street bearings/orientations, and speed/travel time.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-02-15 22:09:37 +00:00
|
|
|
|
(define-public mapnik
|
2022-09-15 23:45:04 +00:00
|
|
|
|
;; There hasn't been a release since early 2021, and it fails to build with
|
|
|
|
|
;; Boost 1.77+.
|
|
|
|
|
(let ((commit "81103491b467e17218140f50bc0bb9dc8c1f0317")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "mapnik")
|
|
|
|
|
(version (git-version "3.1.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mapnik/mapnik")
|
|
|
|
|
(commit commit)
|
|
|
|
|
;; TODO: Un-bundle mapbox dependencies (not yet packaged).
|
|
|
|
|
(recursive? #t))) ;for mapbox dependencies and test data
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "094nam57bdd5nak88qy33z2p3kjahk3vk2nk56m5jkcr5d3hlnx2"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:cmake cmake ;for FIND_PACKAGE_ARGS
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list (string-append "-DCMAKE_CXX_FLAGS=-I"
|
|
|
|
|
#$(this-package-native-input "catch2")
|
|
|
|
|
"/include/catch2"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'use-system-catch2
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test/CMakeLists.txt"
|
|
|
|
|
(("GIT_TAG.*v2.13.7" all)
|
|
|
|
|
(string-append all "\n"
|
|
|
|
|
" FIND_PACKAGE_ARGS NAMES Catch2"))
|
|
|
|
|
(("^include.*Catch2_SOURCE_DIR.*contrib/Catch.cmake.*")
|
|
|
|
|
"include(Catch)\n"))))
|
|
|
|
|
(add-after 'unpack 'disable-problematic-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The 'ogr' test fails for unknown reasons. Mark it as
|
|
|
|
|
;; expected to fail (see:
|
|
|
|
|
;; https://github.com/mapnik/mapnik/issues/4329).
|
2022-09-16 00:49:10 +00:00
|
|
|
|
(substitute* "test/unit/datasource/ogr.cpp"
|
2022-09-15 23:45:04 +00:00
|
|
|
|
(("TEST_CASE\\(\"ogr\"" all)
|
|
|
|
|
(string-append all ", \"[!shouldfail]\""))))))))
|
|
|
|
|
(native-inputs
|
2022-09-16 00:08:21 +00:00
|
|
|
|
(list catch2
|
2022-09-15 23:45:04 +00:00
|
|
|
|
pkg-config
|
|
|
|
|
postgresql))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
|
|
|
|
cairo
|
|
|
|
|
freetype
|
|
|
|
|
gdal
|
|
|
|
|
harfbuzz
|
|
|
|
|
icu4c
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp
|
|
|
|
|
libxml2
|
|
|
|
|
proj
|
|
|
|
|
sqlite
|
|
|
|
|
zlib))
|
|
|
|
|
(home-page "https://mapnik.org/")
|
|
|
|
|
(synopsis "Toolkit for developing mapping applications")
|
|
|
|
|
(description "Mapnik is a toolkit for developing mapping applications. It
|
2018-02-15 22:09:37 +00:00
|
|
|
|
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.")
|
2022-09-15 23:45:04 +00:00
|
|
|
|
(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 22:09:37 +00:00
|
|
|
|
|
2018-02-21 23:10:51 +00:00
|
|
|
|
(define-public spatialite-gui
|
|
|
|
|
(package
|
|
|
|
|
(name "spatialite-gui")
|
gnu: spatialite-gui: Update to 2.1.0-beta1.
* gnu/packages/geo.scm (spatialite-gui): Update to 2.1.0-beta1.
[inputs]: Replace proj.4 with proj and wxwidgets-2 with wxwidgets.
Add curl, giflib, librasterlite2, librttopo, libwebp, libxlsxwriter,
lz4, minizip, openjpeg, postgresql, virtualpg, zstd.
Remove libgaiagraphics and zlib.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-03-28 08:40:22 +00:00
|
|
|
|
(version "2.1.0-beta1")
|
2018-02-21 23:10:51 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: spatialite-gui: Update to 2.1.0-beta1.
* gnu/packages/geo.scm (spatialite-gui): Update to 2.1.0-beta1.
[inputs]: Replace proj.4 with proj and wxwidgets-2 with wxwidgets.
Add curl, giflib, librasterlite2, librttopo, libwebp, libxlsxwriter,
lz4, minizip, openjpeg, postgresql, virtualpg, zstd.
Remove libgaiagraphics and zlib.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-03-28 08:40:22 +00:00
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/"
|
|
|
|
|
"spatialite_gui-" version ".tar.gz"))
|
2018-02-21 23:10:51 +00:00
|
|
|
|
(sha256
|
gnu: spatialite-gui: Update to 2.1.0-beta1.
* gnu/packages/geo.scm (spatialite-gui): Update to 2.1.0-beta1.
[inputs]: Replace proj.4 with proj and wxwidgets-2 with wxwidgets.
Add curl, giflib, librasterlite2, librttopo, libwebp, libxlsxwriter,
lz4, minizip, openjpeg, postgresql, virtualpg, zstd.
Remove libgaiagraphics and zlib.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-03-28 08:40:22 +00:00
|
|
|
|
(base32 "0cyv4cycl073p9lnnnglcb72qn71g8h9g5zn4gzw7swcy5nxjj5s"))))
|
2018-02-21 23:10:51 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2018-02-21 23:10:51 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list curl
|
|
|
|
|
freexl
|
|
|
|
|
geos
|
|
|
|
|
giflib
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
librasterlite2
|
|
|
|
|
librttopo
|
|
|
|
|
libspatialite
|
|
|
|
|
libwebp
|
|
|
|
|
libxlsxwriter
|
|
|
|
|
libxml2
|
|
|
|
|
lz4
|
|
|
|
|
minizip
|
|
|
|
|
openjpeg
|
|
|
|
|
postgresql
|
|
|
|
|
proj
|
|
|
|
|
sqlite
|
|
|
|
|
virtualpg
|
|
|
|
|
wxwidgets
|
|
|
|
|
`(,zstd "lib")))
|
2020-03-11 18:33:25 +00: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 23:10:51 +00: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 21:11:25 +00:00
|
|
|
|
|
2024-04-01 17:32:54 +00:00
|
|
|
|
(define-public pdal
|
|
|
|
|
(package
|
|
|
|
|
(name "pdal")
|
|
|
|
|
(version "2.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/PDAL/PDAL")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0gg5lcshlmn3wwak42xr0b8a8gdr4572d7hrcvxn2291kp2c3096"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "ctest" "-E" ;; This test hangs.
|
|
|
|
|
"pdal_io_stac_reader_test")))))))
|
|
|
|
|
(native-inputs (list python))
|
|
|
|
|
(inputs (list gdal
|
|
|
|
|
h3
|
|
|
|
|
libgeotiff
|
|
|
|
|
libunwind
|
|
|
|
|
libxml2
|
|
|
|
|
nlohmann-json
|
|
|
|
|
openssl
|
|
|
|
|
proj
|
|
|
|
|
utfcpp
|
|
|
|
|
xz
|
|
|
|
|
`(,zstd "lib")))
|
|
|
|
|
(home-page "https://pdal.io/")
|
|
|
|
|
(synopsis "Point Data Abstraction Library")
|
|
|
|
|
(description "PDAL is a C++ library for translating and manipulating point
|
|
|
|
|
cloud data. It is very much like the GDAL library which handles raster and
|
|
|
|
|
vector data.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-04-16 08:36:53 +00:00
|
|
|
|
(define-public gdal
|
|
|
|
|
(package
|
|
|
|
|
(name "gdal")
|
2022-12-17 13:12:37 +00:00
|
|
|
|
(version "3.6.1")
|
2018-04-16 08:36:53 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.osgeo.org/gdal/" version "/gdal-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-17 13:12:37 +00:00
|
|
|
|
"1qckwnygszxkkq40bf87s3m1sab6jj9jyakdvskh0qf7dq8zjarf"))
|
2018-04-16 08:36:53 +00: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"))))))
|
2022-07-03 19:57:26 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2018-04-16 08:36:53 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
2022-07-03 19:57:26 +00:00
|
|
|
|
(list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
|
|
|
|
|
"-DGDAL_USE_JPEG12_INTERNAL=OFF")))
|
2018-04-16 08:36:53 +00:00
|
|
|
|
(inputs
|
2022-06-25 11:47:19 +00:00
|
|
|
|
(list curl
|
|
|
|
|
expat
|
2021-12-13 16:18:24 +00:00
|
|
|
|
freexl
|
|
|
|
|
geos
|
|
|
|
|
giflib
|
|
|
|
|
json-c
|
|
|
|
|
libgeotiff
|
|
|
|
|
libjpeg-turbo
|
2022-12-17 13:12:37 +00:00
|
|
|
|
libjxl
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libpng
|
|
|
|
|
libtiff
|
|
|
|
|
libwebp
|
2022-12-03 17:59:02 +00:00
|
|
|
|
lz4
|
2021-12-13 16:18:24 +00:00
|
|
|
|
netcdf
|
2022-06-25 11:47:19 +00:00
|
|
|
|
openssl
|
2022-12-03 17:59:02 +00:00
|
|
|
|
openjpeg
|
2022-07-03 19:57:26 +00:00
|
|
|
|
pcre2
|
2021-12-13 16:18:24 +00:00
|
|
|
|
postgresql ; libpq
|
|
|
|
|
proj
|
2022-07-03 19:57:26 +00:00
|
|
|
|
qhull
|
2021-12-13 16:18:24 +00:00
|
|
|
|
sqlite
|
2022-12-20 16:01:41 +00:00
|
|
|
|
swig
|
|
|
|
|
zlib
|
|
|
|
|
zstd))
|
2020-07-16 20:40:45 +00:00
|
|
|
|
(native-inputs
|
2022-12-20 16:01:41 +00:00
|
|
|
|
(list pkg-config
|
|
|
|
|
python))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-numpy))
|
2019-12-26 10:50:16 +00:00
|
|
|
|
(home-page "https://gdal.org/")
|
2018-04-16 08:36:53 +00: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 08:45:52 +00:00
|
|
|
|
|
2021-05-18 02:55:58 +00:00
|
|
|
|
(define-public python-pyshp
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyshp")
|
2024-02-04 16:47:16 +00:00
|
|
|
|
(version "2.3.1")
|
2021-05-18 02:55:58 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/GeospatialPython/pyshp")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-02-04 16:47:16 +00:00
|
|
|
|
(base32 "02pbr091p8v4kfv1p6p2aa4asgm9r74dc12r35lvgmhs9y163z69"))))
|
2024-01-28 22:06:50 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2024-02-04 16:47:16 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
;; This test requires internet access.
|
|
|
|
|
'(list "--deselect" "test_shapefile.py::test_reader_url")))
|
2021-05-18 02:55:58 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pytest python-pytest-runner))
|
2021-05-18 02:55:58 +00:00
|
|
|
|
(home-page "https://github.com/GeospatialPython/pyshp")
|
|
|
|
|
(synopsis "Read/write support for ESRI Shapefile format")
|
|
|
|
|
(description
|
|
|
|
|
"The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2024-04-11 09:44:45 +00:00
|
|
|
|
(define-public python-verde
|
|
|
|
|
(package
|
|
|
|
|
(name "python-verde")
|
|
|
|
|
(version "1.8.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "verde" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1hnh91dsk2dxfbk7p2hv3hajaa396139pd6apabgdrp5b7s54k97"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Tests below fetch data remotely.
|
|
|
|
|
(list #:test-flags #~(list "-k" (string-append
|
|
|
|
|
"not test_minimal_integration_2d_gps"
|
|
|
|
|
" and not test_datasets_locate"
|
|
|
|
|
" and not test_fetch_texas_wind"
|
|
|
|
|
" and not test_fetch_baja_bathymetry"
|
|
|
|
|
" and not test_fetch_rio_magnetic"
|
|
|
|
|
" and not test_fetch_california_gps"))))
|
2024-05-03 09:38:24 +00:00
|
|
|
|
(native-inputs (list python-cartopy python-distributed python-pytest))
|
2024-04-11 09:44:45 +00:00
|
|
|
|
(propagated-inputs (list python-dask
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pandas
|
|
|
|
|
python-pooch
|
|
|
|
|
python-scikit-learn
|
|
|
|
|
python-scipy
|
|
|
|
|
python-xarray))
|
|
|
|
|
(home-page "https://github.com/fatiando/verde")
|
|
|
|
|
(synopsis "Processing and gridding spatial data, machine-learning style")
|
|
|
|
|
(description
|
|
|
|
|
"Verde is a Python library for processing spatial data (topography, point
|
|
|
|
|
clouds, bathymetry, geophysics surveys, etc) and interpolating them on a 2D
|
|
|
|
|
surface (i.e., gridding) with a hint of machine learning.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(define-public python-cartopy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-cartopy")
|
2024-06-22 03:16:42 +00:00
|
|
|
|
(version "0.23.0")
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Cartopy" version))
|
|
|
|
|
(sha256
|
2024-06-22 03:16:42 +00:00
|
|
|
|
(base32 "0xknmq73pvkm3k718zrsx8p4r83dbskwqna9v4qvmwh1ayrkf7r3"))))
|
2024-01-09 14:41:33 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(arguments
|
2024-01-09 14:41:33 +00:00
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
'(list
|
|
|
|
|
"--pyargs" "cartopy"
|
|
|
|
|
;; These tests require online data.
|
|
|
|
|
"-m" "not natural_earth and not network"
|
|
|
|
|
"-k"
|
|
|
|
|
(string-append
|
2024-06-22 03:16:42 +00:00
|
|
|
|
;; These ones too but are not marked as such.
|
|
|
|
|
"not test_feature_artist_draw"
|
|
|
|
|
" and not test_feature_artist_draw_facecolor_list"
|
|
|
|
|
" and not test_feature_artist_draw_cmap"
|
|
|
|
|
" and not test_feature_artist_draw_styled_feature"
|
|
|
|
|
" and not test_feature_artist_draw_styler"
|
|
|
|
|
" and not test_gridliner_constrained_adjust_datalim"
|
|
|
|
|
" and not test_gridliner_remove"
|
|
|
|
|
" and not test_gridliner_title_adjust"
|
|
|
|
|
" and not test_gridliner_labels_bbox_style"
|
2024-01-09 14:41:33 +00:00
|
|
|
|
;; Accuracy problems
|
|
|
|
|
" and not test_single_spole"
|
|
|
|
|
" and not test_single_npole"
|
|
|
|
|
;; Incomplete shapefile definition
|
|
|
|
|
" and not test_gshhs"
|
|
|
|
|
" and not test_geometry"
|
|
|
|
|
" and not test_record"
|
|
|
|
|
" and not test_bounds"))
|
|
|
|
|
#:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
|
|
|
|
;; We don't want to create an entrypoint for
|
|
|
|
|
;; tools/cartopy_feature_download.py, because that file is not
|
|
|
|
|
;; installed.
|
|
|
|
|
(add-after 'unpack 'remove-endpoint
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("^feature_download = .*") "")))))))
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-matplotlib
|
|
|
|
|
python-numpy
|
2024-01-09 14:41:33 +00:00
|
|
|
|
python-packaging
|
2022-09-08 20:14:35 +00:00
|
|
|
|
python-pyproj
|
2021-12-13 16:18:24 +00:00
|
|
|
|
python-pyshp
|
|
|
|
|
python-scipy
|
|
|
|
|
python-shapely))
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(inputs
|
2022-12-17 11:42:58 +00:00
|
|
|
|
(list geos))
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(native-inputs
|
2024-01-09 14:41:33 +00:00
|
|
|
|
(list python-coveralls
|
|
|
|
|
python-cython
|
2022-12-17 11:42:58 +00:00
|
|
|
|
python-pytest
|
2024-01-09 14:41:33 +00:00
|
|
|
|
python-pytest-cov
|
|
|
|
|
python-pytest-mpl
|
|
|
|
|
python-pytest-xdist))
|
2021-05-18 23:54:14 +00:00
|
|
|
|
(home-page "https://scitools.org.uk/cartopy/docs/latest/")
|
|
|
|
|
(synopsis "Cartographic library for visualisation")
|
|
|
|
|
(description
|
|
|
|
|
"Cartopy is a Python package designed to make drawing maps for data
|
|
|
|
|
analysis and visualisation easy.
|
|
|
|
|
|
|
|
|
|
It features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item object oriented projection definitions
|
|
|
|
|
@item point, line, polygon and image transformations between projections
|
|
|
|
|
@item integration to expose advanced mapping in Matplotlib with a simple and
|
|
|
|
|
intuitive interface
|
|
|
|
|
@item powerful vector data handling by integrating shapefile reading with
|
|
|
|
|
Shapely capabilities
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2018-04-16 08:45:52 +00:00
|
|
|
|
(define-public postgis
|
|
|
|
|
(package
|
|
|
|
|
(name "postgis")
|
2022-03-24 20:35:32 +00:00
|
|
|
|
(version "3.2.1")
|
2018-04-16 08:45:52 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://download.osgeo.org/postgis/source/postgis-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-03-24 20:35:32 +00:00
|
|
|
|
"0gl9d6xy2an82ldb9sixz5blyngjryq8m3509fr38ffawvfniazv"))))
|
2018-04-16 08:45:52 +00: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
|
2021-12-23 18:26:30 +00:00
|
|
|
|
(list gdal
|
|
|
|
|
geos
|
|
|
|
|
giflib
|
|
|
|
|
json-c
|
|
|
|
|
libjpeg-turbo
|
|
|
|
|
libxml2
|
2022-06-25 17:34:35 +00:00
|
|
|
|
openssl
|
2021-12-23 18:26:30 +00:00
|
|
|
|
pcre
|
|
|
|
|
postgresql
|
|
|
|
|
protobuf-c
|
|
|
|
|
proj))
|
2018-04-16 08:45:52 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl pkg-config))
|
2018-04-16 08:45:52 +00:00
|
|
|
|
(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 20:23:54 +00:00
|
|
|
|
location queries to be run in SQL. This package provides a PostgreSQL
|
|
|
|
|
extension.")
|
2018-04-16 08:45:52 +00: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 20:36:15 +00:00
|
|
|
|
|
|
|
|
|
(define-public tegola
|
|
|
|
|
(package
|
|
|
|
|
(name "tegola")
|
2023-01-06 23:22:45 +00:00
|
|
|
|
(version "0.16.0")
|
2018-09-23 20:36:15 +00:00
|
|
|
|
(source (origin
|
2022-11-14 13:39:49 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/go-spatial/tegola")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-09-23 20:36:15 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-01-06 23:22:45 +00:00
|
|
|
|
"1mjfn0izf1lj402845mx0cv9fald8s5443q35y16d9crqf3i6mav"))))
|
2018-09-23 20:36:15 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/go-spatial/tegola/cmd/tegola"
|
2019-05-07 03:10:36 +00:00
|
|
|
|
#:unpack-path "github.com/go-spatial/tegola"
|
2023-01-06 23:22:45 +00:00
|
|
|
|
#:build-flags '(,(string-append "-ldflags=-X github.com/go-spatial/tegola/internal/build.Version=" version))
|
|
|
|
|
#:install-source? #f))
|
2020-01-19 00:06:10 +00:00
|
|
|
|
(home-page "https://tegola.io")
|
2018-09-23 20:36:15 +00: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 20:36:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public imposm3
|
|
|
|
|
(package
|
|
|
|
|
(name "imposm3")
|
2021-12-16 10:20:18 +00:00
|
|
|
|
(version "0.11.1")
|
2018-09-23 20:36:45 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-11-14 13:37:21 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/omniscale/imposm3")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-09-23 20:36:45 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-14 13:37:21 +00:00
|
|
|
|
"1ifniw57l3s0sl7nb3zwxxm86i46451yrhfqnnkxr46cnpbzmwxr"))))
|
2018-09-23 20:36:45 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "github.com/omniscale/imposm3/cmd/imposm"
|
2019-05-07 03:05:05 +00:00
|
|
|
|
#:unpack-path "github.com/omniscale/imposm3"
|
2018-09-23 20:36:45 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list geos leveldb))
|
2018-09-23 20:36:45 +00:00
|
|
|
|
(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 20:16:31 +00:00
|
|
|
|
|
2023-05-21 05:37:26 +00:00
|
|
|
|
(define-public python-metpy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-metpy")
|
2024-04-06 12:50:36 +00:00
|
|
|
|
(version "1.6.2")
|
2023-05-21 05:37:26 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "MetPy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-04-06 12:50:36 +00:00
|
|
|
|
"1fvnfhk4x2a1cn3f9x4snlars3bjzrnwk9lgldzmh63q1nn5n1pb"))))
|
2023-05-21 05:37:26 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Too many of the tests in the files below require online data.
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
#~(list "--ignore" "tests/io/test_nexrad.py"
|
|
|
|
|
"--ignore" "tests/plots/test_declarative.py"
|
|
|
|
|
"--ignore" "tests/io/test_gempak.py"
|
|
|
|
|
"--ignore" "tests/io/test_gini.py"
|
|
|
|
|
"--ignore" "tests/io/test_metar.py"
|
|
|
|
|
"--ignore" "tests/io/test_station_data.py"
|
|
|
|
|
"--ignore" "tests/interpolate/test_grid.py"
|
|
|
|
|
"--ignore" "tests/interpolate/test_points.py"
|
|
|
|
|
"--ignore" "tests/test_xarray.py"
|
|
|
|
|
"--ignore" "tests/calc/test_indices.py"
|
|
|
|
|
"--ignore" "tests/calc/test_kinematics.py"
|
|
|
|
|
"-k" (string-append ; more tests that require online data
|
|
|
|
|
"not test_parse_grid_arguments_xarray"
|
|
|
|
|
" and not test_absolute_momentum_xarray_units_attr"
|
|
|
|
|
" and not test_zoom_xarray"
|
|
|
|
|
" and not test_parse_wpc_surface_bulletin"
|
|
|
|
|
" and not test_add_timestamp_xarray"
|
2024-01-10 14:45:57 +00:00
|
|
|
|
" and not test_parse_wpc_surface_bulletin_highres"))
|
|
|
|
|
#:phases
|
|
|
|
|
'(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-version-check
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/metpy/testing.py"
|
|
|
|
|
(("^( +)match = pattern.*" m indent)
|
|
|
|
|
(string-append indent "\
|
|
|
|
|
version_spec = re.sub('[()]', '', version_spec)\n" m)))))
|
|
|
|
|
;; The deprecation warning from python-future's use of imp breaks the
|
|
|
|
|
;; tests.
|
|
|
|
|
(add-after 'unpack 'hide-imp-deprecation-warnings
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("\"ignore:numpy.ndarray size changed:RuntimeWarning\"," m)
|
|
|
|
|
(string-append m "
|
|
|
|
|
\"ignore:the imp module is deprecated\","))))))))
|
2023-05-21 05:37:26 +00:00
|
|
|
|
(propagated-inputs (list python-importlib-resources
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-numpy
|
|
|
|
|
python-pandas
|
|
|
|
|
python-pint
|
|
|
|
|
python-pooch
|
|
|
|
|
python-pyproj
|
|
|
|
|
python-scipy
|
|
|
|
|
python-traitlets
|
|
|
|
|
python-xarray))
|
2024-01-10 14:45:57 +00:00
|
|
|
|
(native-inputs (list python-netcdf4 python-packaging python-pytest
|
|
|
|
|
python-pytest-mpl))
|
2023-05-21 05:37:26 +00:00
|
|
|
|
(home-page "https://github.com/Unidata/MetPy")
|
|
|
|
|
(synopsis "Collection of tools to deal with weather data")
|
|
|
|
|
(description "MetPy is a collection of tools in Python for reading,
|
|
|
|
|
visualizing and performing calculations with weather data.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-09-27 20:38:32 +00:00
|
|
|
|
(define-public libosmium
|
|
|
|
|
(package
|
|
|
|
|
(name "libosmium")
|
2023-09-17 19:39:35 +00:00
|
|
|
|
(version "2.19.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/osmcode/libosmium")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0d69xzd29hk846g049y2g668mr8kaf05f6a26s3qn6az062hxfa7"))))
|
2018-09-27 20:38:32 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2023-09-17 19:39:35 +00:00
|
|
|
|
(propagated-inputs (list boost
|
|
|
|
|
bzip2
|
|
|
|
|
expat
|
|
|
|
|
gdal
|
|
|
|
|
geos
|
|
|
|
|
lz4
|
|
|
|
|
proj-7
|
|
|
|
|
protozero
|
|
|
|
|
zlib))
|
|
|
|
|
(native-inputs (list doxygen graphviz-minimal))
|
2018-09-27 20:38:32 +00:00
|
|
|
|
(home-page "https://osmcode.org/libosmium/")
|
|
|
|
|
(synopsis "C++ library for working with OpenStreetMap data")
|
2023-09-17 19:39:35 +00:00
|
|
|
|
(description
|
|
|
|
|
"Libosmium is a fast and flexible C++ library for working with
|
2018-09-27 20:38:32 +00:00
|
|
|
|
OpenStreetMap data.")
|
|
|
|
|
(license license:boost1.0)))
|
2018-09-23 20:37:17 +00:00
|
|
|
|
|
2022-02-08 09:00:48 +00:00
|
|
|
|
(define-public osmium-tool
|
|
|
|
|
(package
|
|
|
|
|
(name "osmium-tool")
|
2023-09-17 19:39:37 +00:00
|
|
|
|
(version "1.15.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/osmcode/osmium-tool")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0d90vz316xdl3c416nicgdw7ybw17l2125wgxglbzl7jaqngapy5"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bundled libraries.
|
|
|
|
|
'(delete-file-recursively "include/rapidjson"))))
|
2022-02-08 09:00:48 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2023-09-17 19:39:37 +00:00
|
|
|
|
(inputs (list libosmium rapidjson))
|
|
|
|
|
(native-inputs (list pandoc))
|
2022-02-08 09:00:48 +00:00
|
|
|
|
(home-page "https://osmcode.org/osmium-tool/")
|
|
|
|
|
(synopsis "Osmium command-line tool")
|
|
|
|
|
(description "Command line tool for working with OpenStreetMap data
|
|
|
|
|
based on the Osmium library.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-09-23 20:37:17 +00:00
|
|
|
|
(define-public osm2pgsql
|
|
|
|
|
(package
|
|
|
|
|
(name "osm2pgsql")
|
2024-02-24 15:15:01 +00:00
|
|
|
|
(version "1.11.0")
|
2023-09-17 19:39:36 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/openstreetmap/osm2pgsql")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-02-24 15:15:01 +00:00
|
|
|
|
"135vqahlcrhwa3b9hfgbiqkzbbsjd4i79fp41cd0rp4zarcpi47p"))
|
2023-09-17 19:39:36 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove bundled libraries.
|
|
|
|
|
'(delete-file-recursively "contrib"))))
|
2018-09-23 20:37:17 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-09-17 19:39:36 +00:00
|
|
|
|
(list #:tests? #f ;tests fail because we need to setup a database
|
2024-02-24 15:15:01 +00:00
|
|
|
|
#:configure-flags #~(list "-DUSE_PROJ_LIB=6" ;use API version 6
|
2023-09-17 19:39:36 +00:00
|
|
|
|
"-DWITH_LUAJIT=ON"
|
|
|
|
|
"-DEXTERNAL_LIBOSMIUM=ON"
|
|
|
|
|
"-DEXTERNAL_PROTOZERO=ON"
|
|
|
|
|
"-DEXTERNAL_FMT=ON")))
|
|
|
|
|
(inputs (list boost
|
|
|
|
|
bzip2
|
2024-02-24 15:15:01 +00:00
|
|
|
|
cli11
|
2023-09-17 19:39:36 +00:00
|
|
|
|
expat
|
|
|
|
|
fmt-8
|
|
|
|
|
libosmium
|
|
|
|
|
luajit
|
|
|
|
|
nlohmann-json
|
|
|
|
|
postgresql
|
2024-02-24 15:15:01 +00:00
|
|
|
|
proj
|
2023-09-17 19:39:36 +00:00
|
|
|
|
protozero
|
|
|
|
|
zlib))
|
|
|
|
|
(native-inputs (list pandoc python python-argparse-manpage))
|
|
|
|
|
(home-page "https://osm2pgsql.org/")
|
|
|
|
|
(synopsis "OSM data importer to PostgreSQL")
|
|
|
|
|
(description
|
|
|
|
|
"Osm2pgsql is a tool for loading OpenStreetMap data into a
|
2018-09-23 20:37:17 +00:00
|
|
|
|
PostgreSQL / PostGIS database suitable for applications like rendering into a
|
|
|
|
|
map, geocoding with Nominatim, or general analysis.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-09-27 20:12:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public tippecanoe
|
|
|
|
|
(package
|
|
|
|
|
(name "tippecanoe")
|
2023-01-06 22:43:27 +00:00
|
|
|
|
(version "2.17.0")
|
2019-04-08 21:53:18 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2023-01-06 22:43:27 +00:00
|
|
|
|
(url "https://github.com/felt/tippecanoe")
|
2019-04-08 21:53:18 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-01-06 22:43:27 +00:00
|
|
|
|
(base32 "1q2snvsbs10l9pjydid3zxkidlha5hav8gvb0p731m2pwg3xw0qr"))))
|
2018-09-27 20:12:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases (delete 'configure))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:make-flags
|
2021-04-03 09:56:20 +00:00
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
2018-09-27 20:12:46 +00:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl sqlite zlib))
|
2018-09-27 20:12:46 +00:00
|
|
|
|
(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 15:05:16 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake))
|
2019-05-27 15:05:16 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2019-05-27 15:05:16 +00:00
|
|
|
|
(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 17:27:50 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gnome-common gtk-doc/stable pkg-config))
|
2019-06-14 17:27:50 +00:00
|
|
|
|
(inputs
|
2021-12-13 21:15:07 +00:00
|
|
|
|
(list cairo glib gobject-introspection gtk+ libsoup-minimal-2))
|
2019-06-14 17:27:50 +00:00
|
|
|
|
(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 18:00:46 +00:00
|
|
|
|
|
|
|
|
|
(define-public xygrib
|
|
|
|
|
(package
|
|
|
|
|
(name "xygrib")
|
2019-09-27 10:24:06 +00:00
|
|
|
|
(version "1.2.6.1")
|
2019-07-14 18:00:46 +00: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 20:53:28 +00:00
|
|
|
|
(url "https://github.com/opengribs/XyGrib")
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-09-27 10:24:06 +00:00
|
|
|
|
"0xzsm8pr0zjk3f8j880fg5n82jyxn8xf1330qmmq1fqv7rsrg9ia"))
|
2023-05-24 07:14:02 +00:00
|
|
|
|
(patches (search-patches "xygrib-fix-finding-data.patch"
|
|
|
|
|
"xygrib-newer-proj.patch"))
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2021-03-09 13:31:52 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "data/fonts")
|
|
|
|
|
;; Fixes compilation, can be removed with the next release.
|
|
|
|
|
;; Upstream link: https://github.com/opengribs/XyGrib/pull/255
|
|
|
|
|
(substitute* "src/SkewT.h"
|
|
|
|
|
(("QMessageBox>") "QMessageBox>\n#include <QPainterPath>"))
|
2023-05-24 07:12:50 +00:00
|
|
|
|
;; Accept newer versions of openjpeg
|
|
|
|
|
;; https://github.com/opengribs/XyGrib/pull/298
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("openjpeg-2.4") "openjpeg-2.5 openjpeg-2.4"))))))
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2021-09-16 05:18:16 +00:00
|
|
|
|
`(#:configure-flags (list "-DGNU_PACKAGE=ON")
|
|
|
|
|
#:phases
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(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"
|
|
|
|
|
;; 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/\"")
|
2021-09-16 05:18:16 +00:00
|
|
|
|
(string-append "\"" font "/share/fonts/\"")))))))
|
2019-07-14 18:00:46 +00:00
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
|
(native-inputs
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(list qttools-5))
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bzip2
|
|
|
|
|
font-liberation
|
|
|
|
|
libnova
|
|
|
|
|
libpng
|
|
|
|
|
openjpeg
|
2023-05-24 07:14:02 +00:00
|
|
|
|
proj
|
2021-12-13 16:18:24 +00:00
|
|
|
|
qtbase-5
|
|
|
|
|
zlib))
|
2021-09-16 05:18:16 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))))
|
2019-07-14 18:00:46 +00:00
|
|
|
|
(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 13:25:16 +00:00
|
|
|
|
|
|
|
|
|
(define-public libspatialindex
|
|
|
|
|
(package
|
|
|
|
|
(name "libspatialindex")
|
2019-12-04 20:16:28 +00:00
|
|
|
|
(version "1.9.3")
|
2019-10-04 13:25:16 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-12-04 20:16:28 +00:00
|
|
|
|
(uri (string-append "https://github.com/libspatialindex/libspatialindex/"
|
|
|
|
|
"releases/download/" version "/spatialindex-src-"
|
|
|
|
|
version ".tar.bz2"))
|
2019-10-04 13:25:16 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-12-04 20:16:28 +00:00
|
|
|
|
"02n5vjcyk04w0djidyp21hfbxfpbbara8ifd9nml6158rwqr8lja"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2019-10-04 13:25:16 +00: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 11:06:03 +00:00
|
|
|
|
|
2023-02-05 14:56:51 +00:00
|
|
|
|
(define-public libmseed
|
|
|
|
|
(package
|
|
|
|
|
(name "libmseed")
|
|
|
|
|
(version "3.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/EarthScope/libmseed")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05sk2h19c7ja98s75b7hbn2cwnjc5l6dr59c23fgnaimmad2rfn7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "https://earthscope.github.io/libmseed/")
|
|
|
|
|
(synopsis "Library for the miniSEED data format")
|
|
|
|
|
(description "The miniSEED library provides a framework for manipulation
|
|
|
|
|
of SEED data records, a format for commonly used for seismological time
|
|
|
|
|
series and related data. The library includes the functionality to read
|
|
|
|
|
and write data records, in addition to reconstructing time series
|
|
|
|
|
from multiple records.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(define-public python-rtree
|
|
|
|
|
(package
|
|
|
|
|
(name "python-rtree")
|
2023-04-02 17:45:48 +00:00
|
|
|
|
(version "1.0.1")
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "Rtree" version))
|
|
|
|
|
(sha256
|
2023-04-02 17:45:48 +00:00
|
|
|
|
(base32 "0aalh07fyf6vpr0a6zswnqvvrjhyic1zg6w4bl368fihkilj2892"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'find-libspatialindex
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2022-05-19 19:46:05 +00:00
|
|
|
|
(let ((libspatialindex (assoc-ref inputs "libspatialindex")))
|
|
|
|
|
(substitute* "rtree/finder.py"
|
|
|
|
|
(("find_library\\(\"spatialindex_c\"\\)")
|
|
|
|
|
(string-append "\"" libspatialindex
|
2023-04-02 17:45:48 +00:00
|
|
|
|
"/lib/libspatialindex_c.so\"")))))))))
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-numpy python-pytest python-wheel))
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libspatialindex))
|
2021-11-14 23:00:52 +00:00
|
|
|
|
(home-page "https://github.com/Toblerity/rtree")
|
|
|
|
|
(synopsis "R-Tree spatial index for Python GIS")
|
|
|
|
|
(description
|
|
|
|
|
"RTree is a Python package with bindings for @code{libspatialindex}.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-05-03 11:06:03 +00:00
|
|
|
|
(define-public java-jmapviewer
|
|
|
|
|
(package
|
|
|
|
|
(name "java-jmapviewer")
|
2020-03-04 00:59:38 +00:00
|
|
|
|
(version "2.13")
|
2019-05-03 11:06:03 +00: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-04 00:59:38 +00:00
|
|
|
|
"0sy6r5fkbb9bclw0is6gwnbzz627m7pjfnsqydxz58pbndakkhrv"))))
|
2019-05-03 11:06:03 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unzip))
|
2019-05-03 11:06:03 +00:00
|
|
|
|
(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 12:07:53 +00:00
|
|
|
|
(copy-file "JMapViewer.jar" (string-append dir "JMapViewer.jar"))
|
|
|
|
|
#t))))))
|
2019-05-03 11:06:03 +00:00
|
|
|
|
(home-page "https://wiki.openstreetmap.org/wiki/JMapViewer")
|
|
|
|
|
(synopsis "OSM map integration in Java")
|
2020-04-12 21:07:09 +00: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 11:06:03 +00:00
|
|
|
|
an independent project by the JOSM team.")
|
|
|
|
|
(license license:gpl2)))
|
2019-05-03 12:55:51 +00:00
|
|
|
|
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(define-public java-opening-hours-parser
|
|
|
|
|
(package
|
|
|
|
|
(name "java-opening-hours-parser")
|
2022-10-15 21:15:09 +00:00
|
|
|
|
(version "0.27.0")
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(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
|
2022-10-15 21:15:09 +00:00
|
|
|
|
"1sw5ccxqw4ly5hzxnnljjqx4876gyvagi10sg8r9w25n211lq0x4"))))
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "java-opening-hours-parser.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
2022-10-15 21:15:09 +00:00
|
|
|
|
#:test-exclude (list "**/IndividualTest.java")
|
2020-07-04 21:54:30 +00:00
|
|
|
|
#: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)
|
2022-10-15 21:15:09 +00:00
|
|
|
|
file)))))))
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list java-jetbrains-annotations))
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list javacc java-junit java-hamcrest-core))
|
2020-07-04 21:54:30 +00:00
|
|
|
|
(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 12:55:51 +00:00
|
|
|
|
(define-public josm
|
|
|
|
|
(package
|
|
|
|
|
(name "josm")
|
2023-12-23 18:31:25 +00:00
|
|
|
|
(version "18907")
|
2019-05-03 12:55:51 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "https://josm.openstreetmap.de/svn/trunk")
|
|
|
|
|
(revision (string->number version))
|
|
|
|
|
(recursive? #f)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-12-23 18:31:25 +00:00
|
|
|
|
"0vkczijw537f4y1b7hfxa45k3ww6nf2cf485b19dnbgh9ab6mnjl"))
|
2019-05-03 12:55:51 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2020-09-13 08:31:15 +00:00
|
|
|
|
(for-each delete-file (find-files "." ".*.jar$"))
|
2019-05-03 12:55:51 +00:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list javacc))
|
2019-05-03 12:55:51 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list java-commons-jcs
|
|
|
|
|
java-commons-compress
|
|
|
|
|
java-jmapviewer
|
2023-12-23 18:31:25 +00:00
|
|
|
|
java-jakarta-annotations-api
|
2023-11-02 06:50:13 +00:00
|
|
|
|
java-jakarta-json
|
2021-12-13 16:18:24 +00:00
|
|
|
|
java-jsr305
|
|
|
|
|
java-metadata-extractor
|
|
|
|
|
java-opening-hours-parser
|
|
|
|
|
java-openjfx-media
|
2023-11-02 06:50:13 +00:00
|
|
|
|
java-parsson ; runtime dependency
|
2021-12-13 16:18:24 +00:00
|
|
|
|
java-signpost-core
|
2023-11-09 18:51:05 +00:00
|
|
|
|
java-svg-salamander
|
|
|
|
|
openjdk11))
|
2019-05-03 12:55:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:jar-name "josm.jar"
|
2023-11-02 06:50:13 +00:00
|
|
|
|
#:jdk ,openjdk11
|
2019-05-03 12:55:51 +00:00
|
|
|
|
#: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))
|
|
|
|
|
(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 08:31:15 +00:00
|
|
|
|
(not (equal? (substring s 0 (string-length source))
|
|
|
|
|
source))))
|
2019-05-03 12:55:51 +00: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 23:06:32 +00:00
|
|
|
|
(add-after 'generate-epsg 'copy-resources
|
2019-05-03 12:55:51 +00:00
|
|
|
|
(lambda _
|
2020-07-04 23:06:32 +00:00
|
|
|
|
(copy-recursively "resources" "build/classes")
|
2019-05-03 12:55:51 +00: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 08:31:15 +00: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"
|
2021-09-21 10:24:14 +00:00
|
|
|
|
"metainfo" "mime" "pixmaps"))
|
|
|
|
|
(desktop "org.openstreetmap.josm.desktop"))
|
2020-09-13 08:31:15 +00:00
|
|
|
|
(for-each (lambda (directory)
|
|
|
|
|
(copy-recursively (string-append
|
|
|
|
|
"native/linux/tested/usr/share/"
|
|
|
|
|
directory)
|
|
|
|
|
(string-append
|
|
|
|
|
out "/share/" directory)))
|
2021-09-21 10:24:14 +00:00
|
|
|
|
share-directories)
|
|
|
|
|
(substitute* (string-append out "/share/applications/" desktop)
|
|
|
|
|
(("josm-MainApplication") "josm-gui-MainApplication")))
|
2020-09-13 08:31:15 +00:00
|
|
|
|
#t))
|
2019-05-03 12:55:51 +00: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"
|
2023-11-09 18:51:05 +00:00
|
|
|
|
(assoc-ref inputs "openjdk") "/bin/java"
|
2019-05-03 12:55:51 +00:00
|
|
|
|
" -cp " out "/share/java/josm.jar:"
|
2023-11-09 18:51:05 +00:00
|
|
|
|
;; CLASSPATH, but remove native inputs
|
|
|
|
|
(string-join
|
|
|
|
|
(filter
|
|
|
|
|
(lambda (jar)
|
|
|
|
|
(and (not (string-contains jar "-jdk/"))
|
|
|
|
|
(not (string-contains jar "-javacc-"))))
|
|
|
|
|
(string-split (getenv "CLASSPATH") #\:))
|
|
|
|
|
":")
|
2019-05-03 12:55:51 +00:00
|
|
|
|
" 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 22:28:17 +00:00
|
|
|
|
sources as well as from online sources and allows editing the OSM data (nodes,
|
2019-05-03 12:55:51 +00:00
|
|
|
|
ways, and relations) and their metadata tags.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-11-17 16:11:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public libmaxminddb
|
|
|
|
|
(package
|
|
|
|
|
(name "libmaxminddb")
|
2022-08-16 13:49:20 +00:00
|
|
|
|
(version "1.6.0")
|
2019-11-17 16:11:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/maxmind/libmaxminddb"
|
|
|
|
|
"/releases/download/" version "/"
|
|
|
|
|
"/libmaxminddb-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2022-08-16 13:49:20 +00:00
|
|
|
|
(base32 "0rw2z7rx8jzgdcgqlmc4wqrsjmiwd8vm5wvvrldy472rghcaq83n"))))
|
2019-11-17 16:11:28 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-08-11 14:24:03 +00:00
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))))
|
2019-11-17 16:11:28 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl))
|
2019-11-17 16:11:28 +00:00
|
|
|
|
(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 18:37:03 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-maxminddb
|
|
|
|
|
(package
|
|
|
|
|
(name "python-maxminddb")
|
2024-06-23 22:01:34 +00:00
|
|
|
|
(version "2.6.2")
|
2019-11-17 18:37:03 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "maxminddb" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-23 22:01:34 +00:00
|
|
|
|
"0r7jcqzr3hy9jims0ygjdhndysbs02hsaybx9f4vq2k2w8r2v13x"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2019-11-17 18:37:03 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;; Tests require a copy of the maxmind database
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libmaxminddb))
|
2020-01-17 21:22:15 +00:00
|
|
|
|
(home-page "https://www.maxmind.com/")
|
2019-11-17 18:37:03 +00: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 16:23:34 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-geoip2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geoip2")
|
2024-06-23 22:01:35 +00:00
|
|
|
|
(version "4.8.0")
|
2019-11-17 16:23:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geoip2" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-23 22:01:35 +00:00
|
|
|
|
"0ddcm6a0f5xr66r84hpn6jr6b7hl77axb0d41qj285ylny0c376x"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2019-11-17 16:23:34 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;; Tests require a copy of the maxmind database
|
|
|
|
|
(inputs
|
2024-06-23 22:01:35 +00:00
|
|
|
|
(list python-maxminddb
|
|
|
|
|
python-requests
|
|
|
|
|
python-aiohttp))
|
2020-01-17 21:22:15 +00:00
|
|
|
|
(home-page "https://www.maxmind.com/")
|
2019-11-17 16:23:34 +00: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 09:43:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public routino
|
|
|
|
|
(package
|
2023-09-19 15:56:00 +00:00
|
|
|
|
(name "routino")
|
|
|
|
|
(version "3.4.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.routino.org/download/routino-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0aw5idqz7nv458llgwp5wcgikf34xcblpq46mq7msxfib0m8vahb"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs (list perl))
|
|
|
|
|
(inputs (list bzip2 xz zlib))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #: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")))))))
|
|
|
|
|
(synopsis "Routing application for OpenStreetMap data")
|
|
|
|
|
(description
|
|
|
|
|
"Routino is an application for finding a route between two points
|
2019-08-31 09:43:45 +00:00
|
|
|
|
using the dataset of topographical information collected by
|
|
|
|
|
@url{https://www.OpenStreetMap.org}.")
|
2023-09-19 15:56:00 +00:00
|
|
|
|
(home-page "https://www.routino.org/")
|
|
|
|
|
(license license:agpl3+)))
|
2020-01-13 14:38:33 +00:00
|
|
|
|
|
2023-06-26 10:33:02 +00:00
|
|
|
|
(define-public r-rnaturalearthhires
|
|
|
|
|
(let ((commit "c3785a8c44738de6ae8f797080c0a337ebed929d")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "r-rnaturalearthhires")
|
|
|
|
|
(version (git-version "0.2.1" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ropensci/rnaturalearthhires")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fr0yb2fbr9zbk7gqr3rnzz2w4ijjpl6hlzdrh4n27lf0ip3h0cx"))))
|
|
|
|
|
(properties `((upstream-name . "rnaturalearthhires")))
|
|
|
|
|
(build-system r-build-system)
|
|
|
|
|
(propagated-inputs (list r-sp))
|
|
|
|
|
(native-inputs (list r-knitr))
|
|
|
|
|
(home-page "https://github.com/ropensci/rnaturalearthhires")
|
|
|
|
|
(synopsis
|
|
|
|
|
"High Resolution World Vector Map Data from Natural Earth used in rnaturalearth")
|
|
|
|
|
(description
|
|
|
|
|
"Facilitates mapping by making natural earth map data from http://
|
|
|
|
|
www.naturalearthdata.com/ more easily available to R users. Focuses on vector
|
|
|
|
|
data.")
|
|
|
|
|
(license license:cc0))))
|
|
|
|
|
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(define-public qmapshack
|
|
|
|
|
(package
|
|
|
|
|
(name "qmapshack")
|
2024-01-12 21:14:42 +00:00
|
|
|
|
(version "1.17.1")
|
2020-01-13 14:38:33 +00: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 20:53:28 +00:00
|
|
|
|
(url "https://github.com/Maproom/qmapshack")
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(commit (string-append "V_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-01-12 21:14:42 +00:00
|
|
|
|
(base32 "1ckadklk67dp1pvkacfkr8379g2pwk73q85jfzm8viclcqmfvb62"))))
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(list pkg-config qttools-5))
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(inputs
|
2022-09-11 13:44:01 +00:00
|
|
|
|
(list curl
|
|
|
|
|
gdal
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libjpeg-turbo
|
|
|
|
|
proj
|
|
|
|
|
qtbase-5
|
2022-07-18 01:03:18 +00:00
|
|
|
|
qtdeclarative-5
|
2024-07-10 15:19:07 +00:00
|
|
|
|
qtlocation-5
|
2022-07-18 04:02:58 +00:00
|
|
|
|
qtwebchannel-5
|
2022-07-18 11:57:16 +00:00
|
|
|
|
qtwebengine-5
|
2021-12-27 15:00:12 +00:00
|
|
|
|
quazip
|
2021-12-13 16:18:24 +00:00
|
|
|
|
routino
|
|
|
|
|
sqlite ; See wrap phase
|
|
|
|
|
zlib))
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(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")
|
2021-12-27 15:00:12 +00:00
|
|
|
|
(assoc-ref inputs "routino"))))))))
|
2020-01-13 14:38:33 +00:00
|
|
|
|
(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 13:44:10 +00:00
|
|
|
|
|
|
|
|
|
(define-public readosm
|
|
|
|
|
(package
|
|
|
|
|
(name "readosm")
|
2020-08-11 15:55:48 +00:00
|
|
|
|
(version "1.1.0a")
|
2020-03-09 13:44:10 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"readosm-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-12-29 21:37:48 +00:00
|
|
|
|
(base32 "0igif2bxf4dr82glxz9gyx5mmni0r2dsnx9p9k6pxv3c4lfhaz6v"))))
|
2020-03-09 13:44:10 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list expat zlib))
|
2020-03-09 13:44:10 +00:00
|
|
|
|
(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 13:50:21 +00:00
|
|
|
|
|
2021-01-27 19:02:22 +00:00
|
|
|
|
(define-public shapelib
|
|
|
|
|
(package
|
|
|
|
|
(name "shapelib")
|
|
|
|
|
(version "1.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OSGeo/shapelib")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lzch0jf6yqhw391phhafzw4ghmiz98zkf698h4fmq109fa2vhqd"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake libtool))
|
2021-01-27 19:02:22 +00:00
|
|
|
|
(home-page "http://shapelib.maptools.org/")
|
|
|
|
|
(synopsis "Provides C library to write and update ESRI Shapefiles")
|
|
|
|
|
(description
|
|
|
|
|
"The Shapefile C Library provides the ability to write simple C programs
|
|
|
|
|
for reading, writing and updating (to a limited extent) ESRI Shapefiles, and the
|
|
|
|
|
associated attribute file (@file{.dbf}).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-03-09 13:50:21 +00:00
|
|
|
|
(define-public spatialite-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "spatialite-tools")
|
2023-12-28 19:40:54 +00:00
|
|
|
|
(version "5.1.0a")
|
2020-03-09 13:50:21 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
2023-08-12 09:12:02 +00:00
|
|
|
|
"spatialite-tools-sources/"
|
2020-03-09 13:50:21 +00:00
|
|
|
|
"spatialite-tools-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2023-12-28 19:40:54 +00:00
|
|
|
|
(base32 "1kh1amab452m3801knmpn1jcg27axakb90gd8fxwv240irsk97hi"))))
|
2020-03-09 13:50:21 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2020-03-09 13:50:21 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list expat
|
|
|
|
|
freexl
|
|
|
|
|
geos
|
|
|
|
|
librttopo
|
|
|
|
|
libspatialite
|
|
|
|
|
libxml2
|
|
|
|
|
minizip
|
|
|
|
|
proj
|
|
|
|
|
readosm
|
|
|
|
|
sqlite))
|
2020-03-09 13:50:21 +00:00
|
|
|
|
(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 09:05:28 +00:00
|
|
|
|
|
|
|
|
|
(define-public virtualpg
|
|
|
|
|
(package
|
|
|
|
|
(name "virtualpg")
|
2021-03-05 09:23:11 +00:00
|
|
|
|
(version "2.0.1")
|
2020-03-12 09:05:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.gaia-gis.it/gaia-sins/"
|
|
|
|
|
"virtualpg-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-03-05 09:23:11 +00:00
|
|
|
|
(base32 "12z0l7368r4116ljzg7nljy5hf425r11vxc540w79wlzikmynamy"))))
|
2020-03-12 09:05:28 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list postgresql sqlite))
|
2020-03-12 09:05:28 +00:00
|
|
|
|
(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 13:57:27 +00:00
|
|
|
|
|
|
|
|
|
(define-public opencpn
|
|
|
|
|
(package
|
|
|
|
|
(name "opencpn")
|
2022-11-27 15:19:51 +00:00
|
|
|
|
(version "5.6.2")
|
2020-03-18 13:57:27 +00: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 20:53:28 +00:00
|
|
|
|
(url "https://github.com/OpenCPN/OpenCPN")
|
2022-03-16 14:57:34 +00:00
|
|
|
|
(commit (string-append "Release_" version))))
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2022-11-27 15:19:51 +00:00
|
|
|
|
(base32 "16hb0ycp0kbx2h8fx08rqkgrlz48kaym0d6wqvpjrcfa2r4myss8"))))
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
2022-11-27 15:20:21 +00:00
|
|
|
|
(list gettext-minimal pkg-config))
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(inputs
|
2022-03-16 14:57:34 +00:00
|
|
|
|
(list alsa-utils
|
|
|
|
|
bzip2
|
2021-12-13 16:18:24 +00:00
|
|
|
|
cairo
|
|
|
|
|
curl
|
2022-03-16 14:57:34 +00:00
|
|
|
|
eudev
|
2021-12-13 16:18:24 +00:00
|
|
|
|
glu
|
|
|
|
|
gtk+
|
2022-03-16 14:57:34 +00:00
|
|
|
|
jasper
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libarchive
|
|
|
|
|
libelf
|
|
|
|
|
libexif
|
2022-03-16 14:57:34 +00:00
|
|
|
|
libjpeg-turbo
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libsndfile
|
2022-03-16 14:57:34 +00:00
|
|
|
|
libusb
|
2021-12-13 16:18:24 +00:00
|
|
|
|
lz4
|
|
|
|
|
mesa
|
|
|
|
|
pango
|
|
|
|
|
portaudio
|
|
|
|
|
sqlite
|
|
|
|
|
tinyxml
|
|
|
|
|
wxsvg
|
gnu: wxWidgets: Update to 3.2.1.
* gnu/packages/wxwidgets.scm (wxwidgets): Update to 3.2.1.
[source](modules, snippet): New fields.
[inputs]: Remove SDL. Add CATCH-FRAMEWORK, EXPAT, GSTREAMER,
GST-PLUGINS-BASE, LIBNOTIFY, LIBPNG, LIBSECRET, PCRE, SDL2,
WEBKITGTK-WITH-LIBSOUP2, and ZLIB
[arguments]: Add "--enable-mediactrl" and "--enable-gui" to #:configure-flags.
Remove aarch64 workaround. Install catch header in refer-to-inputs phase.
Add phase to adjust WebKitGTK version.
(wxwidgets-3.1, wxwidgets-gtk2-3.1): Remove variables.
(wxwidgets-3.0, (wxwidgets-gtk2-3.0): New variables.
(wxsvg)[inputs]: Change from WXWIDGETS-3.1 to WXWIDGETS.
* gnu/packages/audio.scm (audacity)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/astronomy.scm (imppg)[inputs]: Change from WXWIDGETS to
WXWIDGETS-3.0.
* gnu/packages/ftp.scm (filezilla)[inputs]: Likewise.
* gnu/packages/games.scm (megaglest)[inputs]: Likewise.
* gnu/packages/geo.scm (opencpn)[inputs]: Likewise.
* gnu/packages/music.scm (sooperlooper)[inputs]: Likewise.
* gnu/packages/engineering.scm (kicad)[arguments]: Enable EGL support.
2022-11-26 16:43:26 +00:00
|
|
|
|
wxwidgets-3.0
|
2021-12-13 16:18:24 +00:00
|
|
|
|
xz
|
|
|
|
|
zlib))
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(arguments
|
2021-11-19 20:10:12 +00:00
|
|
|
|
`(#:configure-flags '("-DOCPN_USE_BUNDLED_LIBS=OFF"
|
|
|
|
|
"-DOCPN_ENABLE_PORTAUDIO=ON"
|
|
|
|
|
"-DOCPN_ENABLE_SNDFILE=ON"
|
|
|
|
|
"-DOCPN_BUNDLE_TCDATA=ON"
|
|
|
|
|
"-DOCPN_BUNDLE_GSHHS=ON")
|
2020-03-18 13:57:27 +00:00
|
|
|
|
#:tests? #f ; No tests defined
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build
|
2021-11-19 20:10:12 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(substitute* "CMakeLists.txt"
|
2021-11-19 20:10:12 +00:00
|
|
|
|
(("wx-32.c; cc")
|
|
|
|
|
"wx-32.c; gcc")
|
|
|
|
|
(("\"/bin/sh\" \"-c\"")
|
|
|
|
|
(string-append "\"" (which "bash") "\" \"-c\""))
|
|
|
|
|
(("include\\(TargetSetup\\)")
|
|
|
|
|
"set(PKG_TARGET \"guix\")\nset(PKG_TARGET_VERSION 1)")))))))
|
2020-03-18 13:57:27 +00:00
|
|
|
|
(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 23:03:41 +00:00
|
|
|
|
|
2021-12-15 15:09:28 +00:00
|
|
|
|
(define-public openorienteering-mapper
|
|
|
|
|
(package
|
|
|
|
|
(name "openorienteering-mapper")
|
|
|
|
|
(version "0.9.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenOrienteering/mapper")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11b578h8f3q9yvphbjhqmy2w1cfc9skslzawypqmc3k44v24aj0s"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
"-DLICENSING_PROVIDER:BOOL=OFF"
|
|
|
|
|
"-DMapper_MANUAL_QTHELP:BOOL=OFF")))
|
|
|
|
|
(inputs
|
2024-01-28 22:22:04 +00:00
|
|
|
|
(list clipper
|
|
|
|
|
cups
|
|
|
|
|
curl
|
|
|
|
|
gdal
|
|
|
|
|
proj
|
|
|
|
|
qtbase-5
|
|
|
|
|
qtimageformats-5
|
2024-07-10 15:19:07 +00:00
|
|
|
|
qtlocation-5
|
2024-03-13 08:58:14 +00:00
|
|
|
|
qtsensors-5
|
2024-01-28 22:22:04 +00:00
|
|
|
|
zlib))
|
2021-12-15 15:09:28 +00:00
|
|
|
|
(native-inputs
|
2024-01-28 22:22:04 +00:00
|
|
|
|
(list doxygen
|
|
|
|
|
qttools-5))
|
2021-12-15 15:09:28 +00:00
|
|
|
|
(home-page "https://www.openorienteering.org/apps/mapper/")
|
|
|
|
|
(synopsis "OpenOrienteering Mapper (OOM)")
|
|
|
|
|
(description
|
|
|
|
|
"OpenOrienteering Mapper is a software for creating maps for the
|
|
|
|
|
orienteering sport.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-03-21 23:03:41 +00:00
|
|
|
|
(define-public grass
|
2024-02-04 16:47:17 +00:00
|
|
|
|
(let* ((version "7.8.8")
|
2020-03-21 23:03:41 +00: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
|
2024-02-04 16:47:17 +00:00
|
|
|
|
(base32 "1gpfbppfajc8d6b9alw9fdzgaa83w26kl6fff1395bc9gal215ms"))))
|
2020-03-21 23:03:41 +00: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 05:57:27 +00:00
|
|
|
|
`(("bzip2" ,bzip2)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("fftw" ,fftw)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("gdal" ,gdal)
|
|
|
|
|
("geos" ,geos)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mariadb-dev" ,mariadb "dev")
|
|
|
|
|
("mariadb-lib" ,mariadb "lib")
|
|
|
|
|
("netcdf" ,netcdf)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("postgresql" ,postgresql)
|
2021-10-02 12:55:51 +00:00
|
|
|
|
("proj" ,proj)
|
2020-03-21 23:03:41 +00:00
|
|
|
|
("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
|
2024-03-11 11:07:15 +00:00
|
|
|
|
(add-after 'unpack 'fix-lapack
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "./configure"
|
|
|
|
|
(("-lblas") "-lopenblas")
|
|
|
|
|
(("-llapack") "-lopenblas"))))
|
2020-03-21 23:03:41 +00:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(let ((shell (search-input-file inputs "/bin/bash")))
|
2020-03-21 23:03:41 +00:00
|
|
|
|
(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="
|
2021-10-02 12:55:51 +00:00
|
|
|
|
(assoc-ref inputs "proj")
|
2020-03-21 23:03:41 +00:00
|
|
|
|
"/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 19:07:06 +00: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 23:03:41 +00: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 10:33:00 +00:00
|
|
|
|
|
|
|
|
|
(define-public saga
|
|
|
|
|
(package
|
|
|
|
|
(name "saga")
|
2022-07-06 18:14:08 +00:00
|
|
|
|
(version "8.2.1")
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(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
|
2022-09-12 19:25:39 +00:00
|
|
|
|
(base32 "008izjs6gvj09abxf16ssl1xy0ay3ljq4jswbggp6wiiq459minv"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(substitute* "saga-gis/src/tools/docs/docs_pdf/doc_pdf.cpp"
|
|
|
|
|
(("^#include <hpdf\\.h>\n" all)
|
|
|
|
|
(string-append all "#include <hpdf_version.h>\n"))
|
|
|
|
|
(("\\bHPDF_PROJECTING_SCUARE_END\\b")
|
|
|
|
|
"HPDF_PROJECTING_SQUARE_END")))))
|
2022-07-06 18:14:08 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config swig))
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list curl
|
|
|
|
|
fftw
|
|
|
|
|
gdal
|
|
|
|
|
hdf5
|
|
|
|
|
jasper
|
|
|
|
|
libharu
|
|
|
|
|
libtiff
|
|
|
|
|
opencv
|
|
|
|
|
postgresql
|
|
|
|
|
proj
|
|
|
|
|
python
|
|
|
|
|
qhull
|
|
|
|
|
unixodbc
|
|
|
|
|
vigra
|
|
|
|
|
wxwidgets))
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(arguments
|
2022-07-06 18:14:08 +00:00
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'cd-to-source-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "saga-gis"))))))
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(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.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://www.saga-gis.org")
|
2020-03-22 10:33:00 +00:00
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
2020-03-24 09:20:27 +00:00
|
|
|
|
|
|
|
|
|
(define-public qgis
|
|
|
|
|
(package
|
|
|
|
|
(name "qgis")
|
2024-05-14 20:01:22 +00:00
|
|
|
|
(version "3.34.6")
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://qgis.org/downloads/qgis-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2024-05-14 20:01:22 +00:00
|
|
|
|
(base32 "1zqyyrbv53vrrh372g503qh8kmy2dlsxcck28khhkh2262m5qfap"))))
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2024-05-14 20:01:20 +00:00
|
|
|
|
(list
|
|
|
|
|
#:modules '((guix build cmake-build-system)
|
2020-03-24 09:20:27 +00:00
|
|
|
|
((guix build python-build-system) #:prefix python:)
|
|
|
|
|
(guix build qt-utils)
|
|
|
|
|
(guix build utils))
|
2024-05-14 20:01:20 +00:00
|
|
|
|
#:imported-modules `(,@%cmake-build-system-modules
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(guix build python-build-system)
|
|
|
|
|
(guix build qt-utils))
|
2024-05-14 20:01:20 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DWITH_QTWEBKIT=NO")
|
|
|
|
|
#:phases
|
2024-05-14 20:01:21 +00:00
|
|
|
|
#~(let* ((ignored-tests (list
|
|
|
|
|
;; Disable tests that require network access
|
|
|
|
|
"PyQgsExternalStorageAwsS3"
|
|
|
|
|
"PyQgsExternalStorageWebDav"
|
|
|
|
|
"test_core_networkaccessmanager"
|
|
|
|
|
"test_core_tiledownloadmanager"
|
|
|
|
|
"test_gui_filedownloader"
|
|
|
|
|
"test_provider_wcsprovider"
|
|
|
|
|
;; Disable tests that need OGR built with
|
|
|
|
|
;; libspatialite support
|
|
|
|
|
"PyQgsAttributeTableModel"
|
|
|
|
|
"PyQgsOGRProviderSqlite"
|
|
|
|
|
"PyQgsWFSProvider"
|
|
|
|
|
"PyQgsOapifProvider"
|
|
|
|
|
;; Disable tests that need Python compiled
|
|
|
|
|
;; with loadable SQLite extensions.
|
|
|
|
|
"PyQgsFieldFormattersTest"
|
|
|
|
|
"PyQgsSpatialiteProvider"
|
|
|
|
|
"PyQgsLayerDependencies"
|
|
|
|
|
"PyQgsDBManagerGpkg"
|
|
|
|
|
"PyQgsDBManagerSpatialite"
|
|
|
|
|
;; Disable tests that need poppler (with Cairo)
|
|
|
|
|
"PyQgsLayoutExporter"
|
|
|
|
|
"PyQgsPalLabelingLayout"
|
|
|
|
|
;; Disable tests that need Orfeo ToolBox
|
|
|
|
|
"ProcessingOtbAlgorithmsTest"
|
|
|
|
|
;; TODO: Find why the following tests fail
|
|
|
|
|
"ProcessingQgisAlgorithmsTestPt1"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"ProcessingQgisAlgorithmsTestPt2"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"ProcessingQgisAlgorithmsTestPt3"
|
|
|
|
|
"ProcessingQgisAlgorithmsTestPt4"
|
|
|
|
|
"ProcessingGdalAlgorithmsVectorTest"
|
|
|
|
|
"ProcessingGrass7AlgorithmsImageryTest"
|
|
|
|
|
"ProcessingGrass7AlgorithmsRasterTestPt1"
|
|
|
|
|
"ProcessingGrass7AlgorithmsRasterTestPt2"
|
|
|
|
|
"ProcessingGrass7AlgorithmsVectorTest"
|
|
|
|
|
"test_core_authconfig"
|
|
|
|
|
"test_core_authmanager"
|
|
|
|
|
"test_core_compositionconverter"
|
|
|
|
|
"test_core_expression"
|
|
|
|
|
"test_core_gdalutils"
|
|
|
|
|
"test_core_labelingengine"
|
|
|
|
|
"test_core_layoutpicture"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"test_core_project"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"test_core_coordinatereferencesystem"
|
|
|
|
|
"test_core_overlayexpression"
|
|
|
|
|
"test_gui_queryresultwidget"
|
|
|
|
|
"test_provider_eptprovider"
|
|
|
|
|
"test_analysis_processingalgspt2"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"test_analysis_processingpdalalgs"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"test_analysis_processing"
|
|
|
|
|
"test_app_gpsintegration"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"test_3d_mesh3drendering"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"PyQgsAnnotation"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"PyQgsAnnotationLayer"
|
|
|
|
|
"PyQgsAnnotationLineItem"
|
|
|
|
|
"PyQgsAnnotationLineTextItem"
|
|
|
|
|
"PyQgsAnnotationPolygonItem"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"PyQgsAuthenticationSystem"
|
|
|
|
|
"PyQgsDatumTransform"
|
|
|
|
|
"PyQgsFileUtils"
|
|
|
|
|
"PyQgsGeometryTest"
|
|
|
|
|
"PyQgsGoogleMapsGeocoder"
|
|
|
|
|
"PyQgsHashLineSymbolLayer"
|
|
|
|
|
"PyQgsLayoutHtml"
|
|
|
|
|
"PyQgsLineSymbolLayers"
|
|
|
|
|
"PyQgsMapLayer"
|
|
|
|
|
"PyQgsOGRProviderGpkg"
|
|
|
|
|
"PyQgsProcessExecutablePt1"
|
|
|
|
|
"PyQgsProcessExecutablePt2"
|
|
|
|
|
"PyQgsProjectionSelectionWidgets"
|
|
|
|
|
"PyQgsProviderConnectionGpkg"
|
|
|
|
|
"PyQgsProviderConnectionSpatialite"
|
|
|
|
|
"PyQgsOGRProvider"
|
|
|
|
|
"PyQgsTextRenderer"
|
|
|
|
|
"PyQgsVectorFileWriter"
|
|
|
|
|
"PyQgsVirtualLayerProvider"
|
|
|
|
|
"PyQgsAuxiliaryStorage"
|
|
|
|
|
"PyQgsSelectiveMasking"
|
2024-05-14 20:01:22 +00:00
|
|
|
|
"PyPythonRepr"
|
|
|
|
|
"PyQgsAnimatedMarkerSymbolLayer"
|
|
|
|
|
"PyQgsPythonProvider"
|
|
|
|
|
"PyQgsCategorizedSymbolRenderer"
|
|
|
|
|
"PyQgsColorRampLegendNode"
|
|
|
|
|
"PyQgsEmbeddedSymbolRenderer"
|
|
|
|
|
"PyQgsFillSymbolLayers"
|
|
|
|
|
"PyQgsGeometryGeneratorSymbolLayer"
|
|
|
|
|
"PyQgsGpsLogger"
|
|
|
|
|
"PyQgsGraduatedSymbolRenderer"
|
|
|
|
|
"PyQgsHighlight"
|
|
|
|
|
"PyQgsInterpolatedLineSymbolLayer"
|
|
|
|
|
"PyQgsJsonUtils"
|
|
|
|
|
"PyQgsLayerTreeView"
|
|
|
|
|
"PyQgsLayoutAtlas"
|
|
|
|
|
"PyQgsLayoutElevationProfile"
|
|
|
|
|
"PyQgsLayoutPageCollection"
|
|
|
|
|
"PyQgsLayoutItem"
|
|
|
|
|
"PyQgsLayoutLegend"
|
|
|
|
|
"PyQgsLayoutMap"
|
|
|
|
|
"PyQgsLayoutPage"
|
|
|
|
|
"PyQgsLineburstSymbolLayer"
|
|
|
|
|
"PyQgsMapCanvas"
|
|
|
|
|
"PyQgsMapCanvasAnnotationItem"
|
|
|
|
|
"PyQgsMapHitTest"
|
|
|
|
|
"PyQgsMarkerLineSymbolLayer"
|
|
|
|
|
"PyQgsMergedFeatureRenderer"
|
|
|
|
|
"PyQgsMeshLayerProfileGenerator"
|
|
|
|
|
"PyQgsPalLabelingPlacement"
|
|
|
|
|
"PyQgsPointCloudAttributeByRampRenderer"
|
|
|
|
|
"PyQgsPointCloudExtentRenderer"
|
|
|
|
|
"PyQgsPointCloudLayerProfileGenerator"
|
|
|
|
|
"PyQgsPointClusterRenderer"
|
|
|
|
|
"PyQgsPointDisplacementRenderer"
|
|
|
|
|
"PyQgsProfileExporter"
|
|
|
|
|
"PyQgsProfileRequest"
|
|
|
|
|
"TestQgsRandomMarkerSymbolLayer"
|
|
|
|
|
"PyQgsRasterAttributeTable"
|
|
|
|
|
"PyQgsRasterFileWriterTask"
|
|
|
|
|
"PyQgsRasterLayer"
|
|
|
|
|
"PyQgsRasterLayerProfileGenerator"
|
|
|
|
|
"PyQgsRasterColorRampShader"
|
|
|
|
|
"PyQgsRasterLineSymbolLayer"
|
|
|
|
|
"PyQgsRasterPipe"
|
|
|
|
|
"PyQgsSingleSymbolRenderer"
|
|
|
|
|
"PyQgsSimpleFillSymbolLayer"
|
|
|
|
|
"PyQgsSimpleLineSymbolLayer"
|
|
|
|
|
"PyQgsSymbolLayer"
|
|
|
|
|
"PyQgsRasterRendererCreateSld"
|
|
|
|
|
"PyQgsSymbolLayerCreateSld"
|
|
|
|
|
"PyQgsArrowSymbolLayer"
|
|
|
|
|
"PyQgsSymbolExpressionVariables"
|
|
|
|
|
"PyQgsStyleModel"
|
|
|
|
|
"PyQgsSymbol"
|
|
|
|
|
"PyQgsSymbolLayerUtils"
|
|
|
|
|
"PyQgsTextFormatWidget"
|
|
|
|
|
"PyQgsVectorFieldMarkerSymbolLayer"
|
|
|
|
|
"PyQgsVectorLayer"
|
|
|
|
|
"PyQgsVectorLayerProfileGenerator"
|
|
|
|
|
"PyQgsVectorLayerRenderer"
|
2024-05-14 20:01:21 +00:00
|
|
|
|
"qgis_sipify"
|
|
|
|
|
"qgis_sip_include"
|
|
|
|
|
"qgis_sip_uptodate"))
|
|
|
|
|
(grass-version #$(package-version (this-package-input "grass")))
|
2024-05-14 20:01:20 +00:00
|
|
|
|
(grass-majorminor (string-join
|
|
|
|
|
(list-head
|
|
|
|
|
(string-split grass-version #\.) 2)
|
|
|
|
|
""))
|
|
|
|
|
(grass-dir (string-append #$(this-package-input "grass")
|
|
|
|
|
"/grass" grass-majorminor)))
|
|
|
|
|
(modify-phases %standard-phases
|
2024-05-14 20:01:21 +00:00
|
|
|
|
;; Configure correct path to PyQt5 SIP directory
|
|
|
|
|
(add-after 'unpack 'configure-pyqt5-sip-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((sip-dir (string-append
|
|
|
|
|
(assoc-ref inputs "python-pyqt+qscintilla")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
(python:python-version (assoc-ref inputs "python"))
|
|
|
|
|
"/site-packages/PyQt5/bindings")))
|
|
|
|
|
(substitute* "cmake/FindPyQt5.py"
|
|
|
|
|
(("sip_dir = cfg.default_sip_dir")
|
|
|
|
|
(string-append "sip_dir = \"" sip-dir "\"")))
|
|
|
|
|
(substitute* "cmake/FindPyQt5.cmake"
|
|
|
|
|
(("\
|
|
|
|
|
SET\\(PYQT5_SIP_DIR \"\\$\\{Python_SITEARCH\\}/PyQt5/bindings\"\\)")
|
|
|
|
|
(string-append "SET(PYQT5_SIP_DIR \"" sip-dir "\")"))))
|
|
|
|
|
(substitute* (list "tests/code_layout/test_qt_imports.sh"
|
|
|
|
|
"tests/code_layout/test_qgsscrollarea.sh")
|
|
|
|
|
(("\\$\\(git rev-parse --show-toplevel\\)")
|
|
|
|
|
(getcwd)))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs outputs tests? parallel-tests?
|
|
|
|
|
#:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(begin
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
(system "Xvfb :1 &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
(setenv "TRAVIS" "true")
|
|
|
|
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
|
|
|
|
(setenv "GISBASE" grass-dir)
|
|
|
|
|
(invoke "ctest"
|
|
|
|
|
"-j" (if parallel-tests?
|
|
|
|
|
(number->string (parallel-job-count))
|
|
|
|
|
"1")
|
|
|
|
|
"-E" (string-join ignored-tests "|")))
|
|
|
|
|
(format #t "test suite not run~%"))))
|
|
|
|
|
(add-after 'install 'wrap-python
|
|
|
|
|
(assoc-ref python:%standard-phases 'wrap))
|
|
|
|
|
(add-after 'wrap-python 'wrap-qt
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(wrap-qt-program "qgis" #:output #$output #:inputs inputs)))
|
|
|
|
|
(add-after 'wrap-qt 'wrap-gis
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; TODO: Find if there is a way to get SAGA to work.
|
|
|
|
|
;; Currently QGIS says "version of SAGA not supported".
|
|
|
|
|
;; Disable it for now.
|
|
|
|
|
(wrap-program (string-append #$output "/bin/qgis")
|
|
|
|
|
;; `("PATH" ":" prefix
|
|
|
|
|
;; (,(dirname (search-input-file inputs "/bin/saga_cmd"))))
|
|
|
|
|
`("QGIS_PREFIX_PATH" = (,#$output))
|
|
|
|
|
`("GISBASE" = (,grass-dir)))))))))
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(inputs
|
2022-09-02 14:31:26 +00:00
|
|
|
|
(list bash-minimal
|
2024-05-14 20:01:22 +00:00
|
|
|
|
draco
|
2022-09-02 14:31:26 +00:00
|
|
|
|
exiv2
|
2021-12-13 16:18:24 +00:00
|
|
|
|
expat
|
2024-05-14 20:01:22 +00:00
|
|
|
|
freexl
|
2021-12-13 16:18:24 +00:00
|
|
|
|
gdal
|
|
|
|
|
geos
|
|
|
|
|
gpsbabel
|
|
|
|
|
grass
|
|
|
|
|
gsl
|
|
|
|
|
hdf5
|
2024-05-14 20:01:22 +00:00
|
|
|
|
librttopo
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libspatialindex
|
|
|
|
|
libspatialite
|
|
|
|
|
libxml2
|
|
|
|
|
libzip
|
2024-05-14 20:01:22 +00:00
|
|
|
|
minizip
|
2021-12-13 16:18:24 +00:00
|
|
|
|
netcdf
|
2024-05-14 20:01:22 +00:00
|
|
|
|
pdal
|
2021-12-13 16:18:24 +00:00
|
|
|
|
postgresql
|
|
|
|
|
proj
|
|
|
|
|
protobuf
|
|
|
|
|
python
|
|
|
|
|
python-chardet
|
|
|
|
|
python-dateutil
|
|
|
|
|
python-future
|
|
|
|
|
python-jinja2
|
|
|
|
|
python-numpy
|
|
|
|
|
python-owslib
|
|
|
|
|
python-psycopg2
|
|
|
|
|
python-pygments
|
|
|
|
|
python-pyqt+qscintilla
|
|
|
|
|
python-pytz
|
|
|
|
|
python-pyyaml
|
|
|
|
|
python-requests
|
|
|
|
|
python-sip
|
|
|
|
|
python-six
|
|
|
|
|
python-urllib3
|
|
|
|
|
qca
|
|
|
|
|
qscintilla
|
2024-05-14 20:01:22 +00:00
|
|
|
|
qt3d-5
|
2021-12-13 16:18:24 +00:00
|
|
|
|
qtbase-5
|
2022-07-18 01:03:18 +00:00
|
|
|
|
qtdeclarative-5
|
2021-12-13 16:18:24 +00:00
|
|
|
|
qtkeychain
|
2024-07-10 15:19:07 +00:00
|
|
|
|
qtlocation-5
|
2023-04-02 17:45:51 +00:00
|
|
|
|
qtmultimedia-5
|
2024-03-18 16:02:40 +00:00
|
|
|
|
qtserialport-5
|
2022-07-17 05:11:46 +00:00
|
|
|
|
qtsvg-5
|
2021-12-13 16:18:24 +00:00
|
|
|
|
qwt
|
2022-09-02 14:31:26 +00:00
|
|
|
|
;; saga
|
|
|
|
|
sqlite
|
|
|
|
|
(list zstd "lib")))
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(native-inputs
|
2023-06-13 06:09:08 +00:00
|
|
|
|
(append
|
2024-05-14 20:01:21 +00:00
|
|
|
|
(list bison
|
|
|
|
|
flex
|
|
|
|
|
perl
|
|
|
|
|
perl-yaml-tiny
|
|
|
|
|
pkg-config
|
|
|
|
|
python-mock
|
|
|
|
|
python-nose2
|
|
|
|
|
python-pyqt-builder
|
|
|
|
|
qttools-5)
|
|
|
|
|
(if (supported-package? shellcheck)
|
|
|
|
|
(list shellcheck)
|
|
|
|
|
'())
|
|
|
|
|
(list xorg-server-for-tests)))
|
2020-03-24 09:20:27 +00:00
|
|
|
|
(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 07:58:19 +00:00
|
|
|
|
|
2023-01-16 10:46:15 +00:00
|
|
|
|
(define-public splat
|
|
|
|
|
(package
|
|
|
|
|
(name "splat")
|
|
|
|
|
(version "1.5.0b3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/hoche/splat")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "10djwjwb1pvznr0fjwnxdm5d961f3yngispb4zj9hyzdgq1xh217"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete pre-compiled libraries.
|
|
|
|
|
(delete-file-recursively "vstudio")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list bzip2 libjpeg-turbo libpng zlib))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:tests? #f ; No test suite.
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-installation-scripts
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (list "install" "utils/install")
|
|
|
|
|
(("/usr/local")
|
|
|
|
|
#$output)
|
|
|
|
|
(("whoami=`whoami`")
|
|
|
|
|
"whoami=root"))))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'install 'create-bin-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p (string-append #$output "/bin")))))))
|
|
|
|
|
(synopsis "Signal propagation and coverage analysis tool")
|
|
|
|
|
(description
|
|
|
|
|
"The SPLAT (Signal Propagation, Loss, And Terrain) program can use the
|
|
|
|
|
Longley-Rice path loss and coverage prediction using the Irregular Terrain
|
|
|
|
|
Model to predict the behaviour and reliability of radio links, and to predict
|
|
|
|
|
path loss.")
|
|
|
|
|
(home-page "https://www.qsl.net/kd2bd/splat.html")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-07-21 07:58:19 +00: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 08:02:42 +00:00
|
|
|
|
|
2024-02-08 18:19:44 +00:00
|
|
|
|
(define-public python-geoip2fast
|
|
|
|
|
(package
|
|
|
|
|
(name "python-geoip2fast")
|
|
|
|
|
(version "1.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "geoip2fast" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1cmdjlwjd4pg3qvsb8d4vghqj1im58npxb6dmrd5q90wjga4rfvm"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
;; The tests are speed tests or development tests to compare results with
|
|
|
|
|
;; a different library.
|
|
|
|
|
(arguments (list #:tests? #false))
|
|
|
|
|
(home-page "https://github.com/rabuchaim/geoip2fast")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Fast GeoIP2 country/city/asn lookup library")
|
|
|
|
|
(description
|
|
|
|
|
"@code{GeoIP2Fast} is a fast @code{GeoIP2} country/city/asn lookup
|
|
|
|
|
library that supports IPv4 and IPv6. A search takes less than 0.00003
|
|
|
|
|
seconds. It has its own data file updated twice a week with
|
|
|
|
|
Maxmind-Geolite2-CSV, supports IPv4/IPv6 and is pure Python.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-07-21 08:02:42 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-geographiclib))
|
2020-07-21 08:02:42 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-async-generator
|
|
|
|
|
python-coverage
|
|
|
|
|
python-flake8
|
|
|
|
|
python-isort
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-aiohttp
|
|
|
|
|
python-readme-renderer
|
|
|
|
|
python-pytz))
|
2020-07-21 08:02:42 +00:00
|
|
|
|
(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)))
|
2021-07-14 17:55:52 +00:00
|
|
|
|
|
2023-01-03 01:39:05 +00:00
|
|
|
|
(define-public python-haversine
|
|
|
|
|
(package
|
|
|
|
|
(name "python-haversine")
|
|
|
|
|
(version "2.7.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
;; There are no tests in the PyPi archive.
|
|
|
|
|
(url "https://github.com/mapado/haversine")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8"))))
|
2024-01-28 22:09:14 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
2023-01-03 01:39:05 +00:00
|
|
|
|
(native-inputs (list python-pytest python-numpy))
|
|
|
|
|
(home-page "https://github.com/mapado/haversine")
|
|
|
|
|
(synopsis "Calculate the distance between 2 points on Earth")
|
|
|
|
|
(description "This package provides functions to calculate the
|
|
|
|
|
distance in various units between two points on Earth using their
|
|
|
|
|
latitude and longitude.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(define-public gplates
|
|
|
|
|
(package
|
|
|
|
|
(name "gplates")
|
2024-04-17 03:12:46 +00:00
|
|
|
|
(version "2.5")
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(source (origin
|
2024-03-29 21:41:44 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/GPlates/GPlates")
|
|
|
|
|
(commit (string-append "GPlates-" version))))
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-04-17 03:12:46 +00:00
|
|
|
|
"1qrislbgrsn6l1ikd3mffsqxvy61w3l53wmr8mfd8aqaj6dk1wfx"))
|
2024-03-29 21:41:44 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2024-03-29 21:41:44 +00:00
|
|
|
|
(list #:tests? #f)) ;no test target
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(inputs
|
2022-06-14 18:15:35 +00:00
|
|
|
|
(list boost
|
|
|
|
|
cgal
|
2022-09-08 20:14:37 +00:00
|
|
|
|
curl
|
2022-06-14 18:15:35 +00:00
|
|
|
|
gdal
|
|
|
|
|
glew
|
|
|
|
|
glu
|
|
|
|
|
gmp
|
|
|
|
|
mesa
|
|
|
|
|
mpfr
|
|
|
|
|
proj
|
|
|
|
|
python-3
|
|
|
|
|
python-numpy
|
|
|
|
|
qtbase-5
|
2022-07-17 05:11:46 +00:00
|
|
|
|
qtsvg-5
|
2022-06-14 18:15:35 +00:00
|
|
|
|
qtxmlpatterns
|
|
|
|
|
qwt
|
|
|
|
|
zlib))
|
2021-10-09 13:25:20 +00:00
|
|
|
|
(home-page "https://www.gplates.org")
|
|
|
|
|
(synopsis "Plate tectonics simulation program")
|
|
|
|
|
(description "GPlates is a plate tectonics program. Manipulate
|
|
|
|
|
reconstructions of geological and paleogeographic features through geological
|
|
|
|
|
time. Interactively visualize vector, raster and volume data.")
|
|
|
|
|
(license license:gpl2+)))
|
2022-11-16 18:11:29 +00:00
|
|
|
|
|
|
|
|
|
(define-public navit
|
|
|
|
|
(package
|
|
|
|
|
(name "navit")
|
|
|
|
|
(version "0.5.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/navit-gps/navit")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1jhlif0sc5m8wqb5j985g1xba2ki7b7mm14pkvzdghjd0q0gf15s"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; There are no tests
|
|
|
|
|
#:tests? #f
|
|
|
|
|
;; With -DSAMPLE_MAP=TRUE (the default), it tries to download a
|
|
|
|
|
;; map during the build process.
|
|
|
|
|
#:configure-flags #~(list "-DSAMPLE_MAP=FALSE")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'unpack 'patch-navit-config
|
|
|
|
|
(lambda _
|
|
|
|
|
;; For now this package only supports SDL, so if we keep
|
|
|
|
|
;; the configuration as-is, Navit doesn't start.
|
|
|
|
|
(substitute*
|
|
|
|
|
"navit/navit_shipped.xml"
|
|
|
|
|
(("<graphics type=\"gtk_drawing_area\"/>")
|
|
|
|
|
"<graphics type=\"sdl\"/>"))
|
|
|
|
|
;; Users are expected to be able to add XML files inside
|
|
|
|
|
;; $NAVIT_SHAREDIR, however that directory is in the store.
|
|
|
|
|
(substitute*
|
|
|
|
|
"navit/navit_shipped.xml"
|
|
|
|
|
(("<xi:include href=\"\\$NAVIT_SHAREDIR/maps/\\*\\.xml\"/>")
|
|
|
|
|
"<xi:include href=\"$NAVIT_USER_DATADIR/maps/*.xml\"/>"))
|
|
|
|
|
;; Navit also works without GPS but in that case there is
|
|
|
|
|
;; no automatic zooming, so we need zoom buttons to be able
|
|
|
|
|
;; to manually zoom in or out.
|
|
|
|
|
(substitute*
|
|
|
|
|
"navit/navit_shipped.xml"
|
|
|
|
|
(((string-append
|
|
|
|
|
"<osd enabled=\"no\" type=\"button\" x=\"-96\" y=\"-96\" "
|
|
|
|
|
"command=\"zoom_in()"))
|
|
|
|
|
(string-append
|
|
|
|
|
"<osd enabled=\"yes\" type=\"button\" x=\"-96\" y=\"-96\" "
|
|
|
|
|
"command=\"zoom_in()"))
|
|
|
|
|
(((string-append
|
|
|
|
|
"<osd enabled=\"no\" type=\"button\" x=\"0\" y=\"-96\" "
|
|
|
|
|
"command=\"zoom_out()"))
|
|
|
|
|
(string-append
|
|
|
|
|
"<osd enabled=\"yes\" type=\"button\" x=\"0\" y=\"-96\" "
|
|
|
|
|
"command=\"zoom_out()\" src=\"zoom_out.png\"/>")))))
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'set-cache
|
|
|
|
|
;; During the build, svg icons are converted in different
|
|
|
|
|
;; formats, and this needs XDG_CACHE_HOME to work.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "XDG_CACHE_HOME" "/tmp/xdg-cache"))))))
|
|
|
|
|
(inputs (list dbus-glib
|
|
|
|
|
espeak
|
|
|
|
|
freeglut
|
|
|
|
|
freeimage
|
|
|
|
|
freetype
|
|
|
|
|
glib
|
|
|
|
|
gettext-minimal
|
|
|
|
|
gpsd
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
imlib2
|
|
|
|
|
python
|
|
|
|
|
sdl
|
|
|
|
|
sdl-image))
|
|
|
|
|
(native-inputs (list fontconfig
|
|
|
|
|
(librsvg-for-system)
|
|
|
|
|
pkg-config))
|
|
|
|
|
(home-page "https://www.navit-project.org")
|
|
|
|
|
(synopsis "Car navigation system with routing engine that uses vector maps data")
|
|
|
|
|
(description "Navit is a car navigation system with a routing engine.
|
|
|
|
|
|
|
|
|
|
It is meant to work with touchscreen devices, but it also works
|
|
|
|
|
without a touchscreen. It also supports text to speech.
|
|
|
|
|
|
|
|
|
|
It can be configured extensively through its own configuration file
|
|
|
|
|
format. For instance we can configure the graphical interface, and
|
|
|
|
|
which map data is to be displayed at which zoom level.
|
|
|
|
|
|
|
|
|
|
It supports different routing profiles: bike, car, car_avoid_toll,
|
|
|
|
|
car_pedantic, car_shortest, horse, pedestrian, truck.
|
|
|
|
|
|
|
|
|
|
It can use gpsd or NMEA GPS directly to get position data. It also
|
|
|
|
|
works without GPS: in this case users can also enter position data
|
|
|
|
|
directly.
|
|
|
|
|
|
|
|
|
|
It can also be used to log GPS data to files using the GPX or NMEA
|
|
|
|
|
formats, or to replay NMEA data.
|
|
|
|
|
|
|
|
|
|
For maps, it can uses its own \"binfile\" map format, or Garmin map
|
|
|
|
|
file format, and data from OpenStreetMap, Garmin maps, Marco Polo
|
|
|
|
|
Grosser Reiseplaner, Routeplaner Europa 2007, Map + Route.")
|
|
|
|
|
(license license:gpl2)))
|
2024-01-05 13:50:53 +00:00
|
|
|
|
|
|
|
|
|
(define-public laszip
|
|
|
|
|
(package
|
|
|
|
|
(name "laszip")
|
|
|
|
|
(version "3.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/LASzip/LASzip")
|
|
|
|
|
(commit "3.4.3")))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~(list "-DLASZIP_BUILD_STATIC=NO")
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
;; No tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "https://laszip.org/")
|
|
|
|
|
(synopsis "Compression library for LAS files")
|
|
|
|
|
(description
|
|
|
|
|
"LASzip is a library for compressing @code{LAS} files and uncompressing
|
|
|
|
|
@code{LAZ} files. The @code{LAS} format is a file format designed for the
|
|
|
|
|
interchange and archiving of lidar point cloud data.")
|
|
|
|
|
(license license:asl2.0)))
|