aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-download.sh
blob: 5475d43e6066944f6e5e4f5b7e43d9e5ab832183 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
#
# 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/>.

#
# Test the `guix download' command-line utility.
#

guix download --version

# Make sure it fails here.
! guix download http://does.not/exist

! guix download unknown://some/where;

! guix download /does-not-exist

# This one should succeed.
guix download "file://$abs_top_srcdir/README"

# And this one, without the URI scheme.
guix download "$abs_top_srcdir/README"

# This one too, even if it cannot talk to the daemon.
output="t-download-$$"
trap 'rm -f "$output"' EXIT
GUIX_DAEMON_SOCKET="/nowhere" guix download -o "$output" \
		  "file://$abs_top_srcdir/README"
cmp "$output" "$abs_top_srcdir/README"

# This one should fail.
! guix download "file:///does-not-exist" "file://$abs_top_srcdir/README"
d gnome-online-accounts with gnome-online-accounts:lib. [arguments]: Adjust 'wrap' phase accordingly. Kei Kebreau 2019-07-22Merge branch 'master' into core-updatesMarius Bakke 2019-07-21gnu: Add python-gdal....For <https://issues.guix.gnu.org/issue/36623>, thank to Arne Babenhauserheide for the original patch. * gnu/packages/geo.scm (python-gdal): New package. 宋文武 2019-07-19Merge branch 'master' into core-updatesMarius Bakke 2019-07-18gnu: Add xygrib....* gnu/packages/geo.scm (xygrib): New variable. Efraim Flashner 2019-06-27Merge branch 'master' into core-updatesLudovic Courtès 2019-06-26gnu: Add osm-gps-map...* gnu/packages/geo.scm (osm-gps-map): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Guillaume LE VAILLANT 2019-06-20gnu: gnome-maps: Update to 3.30.2.1....* gnu/packages/geo.scm (gnome-maps): Update to 3.30.2.1. [build-system]: Use meson-build-system. [arguments]: Remove configure flags; set glib-or-gtk? flag; update "wrap" phase. [native-inputs]: Add gtk+:bin. Ricardo Wurmus 2019-05-27gnu: Add osmctools...* gnu/packages/geo.scm (osmctools): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> Guillaume LE VAILLANT 2019-05-06gnu: tegola: Fix build....* gnu/packages/geo.scm (tegola)[arguments]: Adapt the "unpack-path" for the new unpack phase. * gnu/packages/geo.scm (tegola)[phases]{set-version}: Update the directory path. {rename-import}: Remove phase. Maxim Cournoyer 2019-05-06gnu: imposm3: Fix build....* gnu/packages/geo.scm (imposm3)[arguments]: Adapt unpack-path for the new unpack phase. [phases]: Remove the "rename-import" phase, now obsolete. Maxim Cournoyer 2019-04-17Merge branch 'master' into stagingMarius Bakke 2019-04-11gnu: tippecanoe: Don't use unstable tarball....* gnu/packages/geo.scm (tippecanoe)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2019-04-11gnu: osm2pgsql: Don't use unstable tarball....* gnu/packages/geo.scm (osm2pgsql)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2019-04-11gnu: libosmium: Don't use unstable tarball....* gnu/packages/geo.scm (libosmium)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2019-03-21Merge branch 'master' into stagingMarius Bakke 2019-03-15gnu: Move protozero to (gnu packages protobuf)....* gnu/packages/geo.scm (protozero): Move from here… * gnu/packages/protobuf.scm (protozero): …to here. Tobias Geerinckx-Rice 2019-03-15gnu: protozero: Update to 1.6.7....* gnu/packages/geo.scm (protozero): Update to 1.6.7. Tobias Geerinckx-Rice 2019-03-14gnu: libgeotiff: Update to 1.4.3....* gnu/packages/geo.scm (libgeotiff): Update to 1.4.3. Tobias Geerinckx-Rice 2019-03-14Merge branch 'master' into stagingMarius Bakke 2019-03-12gnu: geos: Update to 3.7.1....* gnu/packages/geo.scm (geos): Update to 3.7.1. Tobias Geerinckx-Rice 2019-03-07gnu: gnome-maps: Update to 3.28.2....* gnu/packages/geo.scm (gnome-maps): Update to 3.28.2. Ricardo Wurmus 2019-02-19gnu: protozero: Fix typo in description....* gnu/packages/geo.scm (protozero)[description]: Fix typo. Tobias Geerinckx-Rice 2019-02-19gnu: protozero: Don't use unstable tarball....* gnu/packages/geo.scm (protozero)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice 2019-02-19gnu: protozero: Update to 1.6.5....* gnu/packages/geo.scm (protozero): Update to 1.6.5. Re-indent. Tobias Geerinckx-Rice 2019-01-20Merge branch 'master' into stagingLudovic Courtès 2019-01-16gnu: 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. Ricardo Wurmus 2019-01-15gnu: 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. Ricardo Wurmus 2019-01-09Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner 2019-01-07gnu: Move R packages from geo.scm to cran.scm....* gnu/packages/geo.scm (r-maps, r-mapproj, r-rgooglemaps, r-geosphere, r-ggmap): Move from here... * gnu/packages/cran.scm: ...to here. Ricardo Wurmus 2018-12-03Merge branch 'master' into stagingMarius Bakke