jackhill/guix/guix.git
4 years agognu: dkimproxy: Add IPv6 support.
Tobias Geerinckx-Rice [Fri, 1 Mar 2019 20:04:23 +0000 (21:04 +0100)]
gnu: dkimproxy: Add IPv6 support.

* gnu/packages/mail.scm (dkimproxy)[source]: Add patch.
* gnu/packages/patches/dkimproxy-add-ipv6-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: libvirt: Don't use bogus cgroup.
Tobias Geerinckx-Rice [Thu, 25 Jul 2019 19:58:14 +0000 (21:58 +0200)]
gnu: libvirt: Don't use bogus cgroup.

Should fix <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36634>.

* gnu/packages/virtualization.scm (libvirt)[source]: Add patch.
* gnu/packages/patches/libvirt-remove-ATTRIBUTE_UNUSED.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: clusterssh: Don't propagate xterm.
Tobias Geerinckx-Rice [Thu, 25 Jul 2019 16:59:38 +0000 (18:59 +0200)]
gnu: clusterssh: Don't propagate xterm.

* gnu/packages/admin.scm (clusterssh)[arguments]: Add ‘refer-to-inputs’ and ‘delete-failing-tests’ phases.
[inputs]: Move xterm to here…
[propagated-inputs]: …from here.

4 years agognu: clustershh: Add missing perl-sort-naturally input.
Tobias Geerinckx-Rice [Thu, 25 Jul 2019 16:34:57 +0000 (18:34 +0200)]
gnu: clustershh: Add missing perl-sort-naturally input.

* gnu/packages/admin.scm (clusterssh)[propagated-inputs]:
Add perl-sort-naturally.

4 years agognu: Add dkimproxy.
Julien Lepiller [Thu, 25 Jul 2019 18:54:02 +0000 (20:54 +0200)]
gnu: Add dkimproxy.

* gnu/packages/mail.scm (dkimproxy): New variable.

4 years agognu: Add perl-mail-dkim.
Julien Lepiller [Thu, 25 Jul 2019 18:48:24 +0000 (20:48 +0200)]
gnu: Add perl-mail-dkim.

* gnu/packages/mail.scm (perl-mail-dkim): New variable.

4 years agognu: Add perl-net-dns-resolver-mock.
Julien Lepiller [Thu, 25 Jul 2019 18:40:30 +0000 (20:40 +0200)]
gnu: Add perl-net-dns-resolver-mock.

* gnu/packages/networking.scm (perl-net-dns-resolver-mock): New
variable.

4 years agognu: Add perl-mail-authenticationresults.
Julien Lepiller [Thu, 25 Jul 2019 18:37:43 +0000 (20:37 +0200)]
gnu: Add perl-mail-authenticationresults.

* gnu/packages/mail.scm (perl-mail-authenticationresults): New variable.

4 years agognu: Go 1.12: Update to 1.12.7.
Leo Famulari [Sun, 21 Jul 2019 05:17:41 +0000 (01:17 -0400)]
gnu: Go 1.12: Update to 1.12.7.

*  gnu/packages/golang.scm (go-1.12): Update to 1.12.7.

4 years agognu: Go 1.11: Update to 1.11.12.
Leo Famulari [Sun, 21 Jul 2019 05:12:18 +0000 (01:12 -0400)]
gnu: Go 1.11: Update to 1.11.12.

* gnu/packages/golang.scm (go-1.11): Update to 1.11.12.

4 years agognu: exim: Update to 4.92.1 [fixes CVE-2019-13917].
Tobias Geerinckx-Rice [Thu, 25 Jul 2019 15:34:49 +0000 (17:34 +0200)]
gnu: exim: Update to 4.92.1 [fixes CVE-2019-13917].

* gnu/packages/mail.scm (exim): Update to 4.92.1.

4 years agognu: xpra: Update to 2.5.3.
Rutger Helling [Thu, 25 Jul 2019 12:22:20 +0000 (14:22 +0200)]
gnu: xpra: Update to 2.5.3.

* gnu/packages/xorg.scm (xpra): Update to 2.5.3.

4 years agognu: Add xchm.
Jovany Leandro G.C [Thu, 25 Jul 2019 01:35:15 +0000 (20:35 -0500)]
gnu: Add xchm.

* gnu/packages/ebook.scm (xchm): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: starfighter: Update to 2.0.0.3.
Kei Kebreau [Thu, 25 Jul 2019 01:44:44 +0000 (21:44 -0400)]
gnu: starfighter: Update to 2.0.0.3.

* gnu/packages/games.scm (starfighter): Update to 2.0.0.3.
[source]: Use url-fetch and remove 'file-name' field.
[native-inputs]: Remove autoconf and automake.

4 years agognu: Explicitly refer to 'guile-json-1' when needed.
Ludovic Courtès [Sun, 21 Jul 2019 21:19:58 +0000 (23:19 +0200)]
gnu: Explicitly refer to 'guile-json-1' when needed.

* gnu/packages/bioinformatics.scm (rcas-web)[inputs]: Change
'guile-json' to 'guile-json-1'.
* gnu/packages/ci.scm (cuirass)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (artanis)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (jupyter-guile-kernel)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (guile-mastodon)[inputs]: Likewise.
* gnu/packages/mail.scm (mumi)[inputs]: Likewise.
* gnu/packages/package-management.scm (guix)[inputs]: Likewise.
* gnu/packages/package-management.scm (guix-daemon)[inputs]: Likewise.
* gnu/packages/web.scm (hpcguix-web)[inputs]: Likewise.

4 years agognu: guile-json: Define 'guile-json-1'.
Ludovic Courtès [Sun, 21 Jul 2019 21:17:01 +0000 (23:17 +0200)]
gnu: guile-json: Define 'guile-json-1'.

* gnu/packages/guile.scm (guile-json-1): New variable.

4 years agomaint: Switch to Guile-JSON 3.x.
Ludovic Courtès [Sun, 21 Jul 2019 21:05:54 +0000 (23:05 +0200)]
maint: Switch to Guile-JSON 3.x.

Guile-JSON 3.x is incompatible with Guile-JSON 1.x, which we relied on
until now: it maps JSON dictionaries to alists (instead of hash tables),
and JSON arrays to vectors (instead of lists).  This commit is about
adjusting all the existing code to this new mapping.

* m4/guix.m4 (GUIX_CHECK_GUILE_JSON): New macro.
* configure.ac: Use it.
* doc/guix.texi (Requirements): Mention the Guile-JSON version.
* guix/git-download.scm (git-fetch)[guile-json]: Use GUILE-JSON-3.
* guix/import/cpan.scm (string->license): Expect vectors instead of
lists.
(module->dist-name): Use 'json-fetch' instead of 'json-fetch-alist'.
(cpan-fetch): Likewise.
* guix/import/crate.scm (crate-fetch): Likewise, and call 'vector->list'
for DEPS.
* guix/import/gem.scm (rubygems-fetch): Likewise.
* guix/import/json.scm (json-fetch-alist): Remove.
* guix/import/pypi.scm (pypi-fetch): Use 'json-fetch' instead of
'json-fetch-alist'.
(latest-source-release, latest-wheel-release): Call 'vector->list' on
RELEASES.
* guix/import/stackage.scm (stackage-lts-info-fetch): Use 'json-fetch'
instead of 'json-fetch-alist'.
(lts-package-version): Use 'vector->list'.
* guix/import/utils.scm (hash-table->alist): Remove.
(alist->package): Pass 'vector->list' on the inputs fields, and default
to the empty vector.
* guix/scripts/import/json.scm (guix-import-json): Remove call to
'hash-table->alist'.
* guix/swh.scm (define-json-reader): Expect pair? or null? instead of
hash-table?.
[extract-field]: Use 'assoc-ref' instead of 'hash-ref'.
(json->branches): Use 'map' instead of 'hash-map->list'.
(json->checksums): Likewise.
(json->directory-entries, origin-visits): Call 'vector->list' on the
result of 'json->scm'.
* tests/import-utils.scm ("alist->package with dependencies"): New test.
* gnu/installer.scm (build-compiled-file)[builder]: Use GUILE-JSON-3.
* gnu/installer.scm (installer-program)[installer-builder]: Likewise.
* gnu/installer/locale.scm (iso639->iso639-languages): Use 'assoc-ref'
instead of 'hash-ref', and pass vectors through 'vector->list'.
(iso3166->iso3166-territories): Likewise.
* gnu/system/vm.scm (system-docker-image)[build]: Use GUILE-JSON-3.
* guix/docker.scm (manifest, config): Adjust for Guile-JSON 3.
* guix/scripts/pack.scm (docker-image)[build]: Use GUILE-JSON-3.
* guix/import/github.scm (fetch-releases-or-tags): Update docstring.
(latest-released-version): Use 'assoc-ref' instead of 'hash-ref'.  Pass
the result of 'fetch-releases-or-tags' to 'vector->list'.
* guix/import/launchpad.scm (latest-released-version): Likewise.

4 years agognu: Add r-depecher.
zimoun [Wed, 24 Jul 2019 18:22:04 +0000 (20:22 +0200)]
gnu: Add r-depecher.

* gnu/packages/bioconductor.scm (r-depecher): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-mixomics.
zimoun [Wed, 24 Jul 2019 18:22:03 +0000 (20:22 +0200)]
gnu: Add r-mixomics.

* gnu/packages/bioconductor.scm (r-mixomics): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-flowsom.
zimoun [Wed, 24 Jul 2019 18:22:02 +0000 (20:22 +0200)]
gnu: Add r-flowsom.

* gnu/packages/bioconductor.scm (r-flowsom): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-flowmeans.
zimoun [Wed, 24 Jul 2019 18:22:00 +0000 (20:22 +0200)]
gnu: Add r-flowmeans.

* gnu/packages/bioconductor.scm (r-flowmeans): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-consensusclusterplus.
zimoun [Wed, 24 Jul 2019 18:21:59 +0000 (20:21 +0200)]
gnu: Add r-consensusclusterplus.

* gnu/packages/bioconductor.scm (r-consensusclusterplus): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-flowutils.
zimoun [Wed, 24 Jul 2019 18:21:58 +0000 (20:21 +0200)]
gnu: Add r-flowutils.

* gnu/packages/bioconductor.scm (r-flowutils): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-flowcore.
zimoun [Wed, 24 Jul 2019 18:21:57 +0000 (20:21 +0200)]
gnu: Add r-flowcore.

* gnu/packages/bioconductor.scm (r-flowcore): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-all.
zimoun [Wed, 24 Jul 2019 18:21:56 +0000 (20:21 +0200)]
gnu: Add r-all.

* gnu/packages/bioconductor.scm (r-all): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-kableextra.
zimoun [Wed, 24 Jul 2019 18:21:55 +0000 (20:21 +0200)]
gnu: Add r-kableextra.

* gnu/packages/cran.scm (r-kableextra): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: Add r-umap.
zimoun [Wed, 24 Jul 2019 18:21:54 +0000 (20:21 +0200)]
gnu: Add r-umap.

* gnu/packages/cran.scm (r-umap): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agognu: emacs-gitpatch: Update to 0.5.1.
Jelle Licht [Wed, 24 Jul 2019 20:23:19 +0000 (22:23 +0200)]
gnu: emacs-gitpatch: Update to 0.5.1.

* gnu/packages/emacs-xyz.scm (emacs-gitpatch): Update to 0.5.1.

4 years agognu: terminator: Propagate gsettings-desktop-schemas.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 19:28:09 +0000 (21:28 +0200)]
gnu: terminator: Propagate gsettings-desktop-schemas.

* gnu/packages/gnome.scm (terminator)[propagated-inputs]: Add gsettings-desktop-schemas.

4 years agognu: spice-gtk: Update to 0.37.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 17:06:25 +0000 (19:06 +0200)]
gnu: spice-gtk: Update to 0.37.

* gnu/packages/spice.scm (spice-gtk): Update to 0.37.
[propagated-inputs]: Use latest spice-protocol.
(spice-protocol-0.12): Remove unused variable.

4 years agognu: libvirt-glib: Propagate pkg-config requirements.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 14:37:57 +0000 (16:37 +0200)]
gnu: libvirt-glib: Propagate pkg-config requirements.

* gnu/packages/virtualization.scm (libvirt-glib)[inputs]: Move glib,
libvirt, libxml2, and gobject-introspection…
[native-inputs]: …here.

4 years agognu: libvirt-glib: Update to 2.0.0.
Tobias Geerinckx-Rice [Wed, 24 Jul 2019 14:36:49 +0000 (16:36 +0200)]
gnu: libvirt-glib: Update to 2.0.0.

* gnu/packages/virtualization.scm (libvirt-glib): Update to 2.0.0.
[arguments]: Remove ‘fix-tests’ phase.

4 years agodoc: Warn about GPG warning.
Leo Famulari [Tue, 23 Jul 2019 23:55:28 +0000 (19:55 -0400)]
doc: Warn about GPG warning.

* doc/guix.texi (Binary Installation, USB Stick and DVD Installation): Warn
users about the web-of-trust untrusted key warning from GPG.

4 years agodeploy: Handle the '--system' command line option.
宋文武 [Sat, 20 Jul 2019 04:51:45 +0000 (12:51 +0800)]
deploy: Handle the '--system' command line option.

* guix/scripts/deploy.scm (show-help): Add help for '--system'.
(%options): Add '-s' and '--system'.
(guix-deploy): Parameterize %current-system.

4 years agodeploy: Honor '--no-grafts'.
宋文武 [Sat, 20 Jul 2019 04:45:34 +0000 (12:45 +0800)]
deploy: Honor '--no-grafts'.

* guix/scripts/deploy.scm (guix-deploy): Parameterize '%graft?'.

4 years agognu: julia: Update to 1.1.1.
Nicolò Balzarotti [Tue, 23 Jul 2019 21:56:21 +0000 (23:56 +0200)]
gnu: julia: Update to 1.1.1.

* gnu/packages/julia.scm (libuv-julia): Update to commit 26dbe56.
(libunwind-for-julia): Remove.
(llvm-patch-url, llvm-patch): New procedures.
(llvm-julia): New variable.
(julia): Update to 1.1.1.
[arguments]: Adjust 'prepare-deps' to new set of dependencies.
Adjust 'hardcode-soname-map': remove openlibm and libfftw handling.
Update file names in 'fix-include-and-link-paths' and 'hardcode-paths'.
Adjust 'disable-broken-tests'.
Pass PREFIX, LIBFLAS, and LIBBLASNAME in #:make-flags; update other
flags.
[inputs]: Replace LLVM-3.9.1 with LLVM-JULIA.  Replace
LIBUNWIND-FOR-JULIA with LIBUNWIND.  Add "rmath" and "libwhich".
[native-inputs]: Remove "unicode-data".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: llvm: Add 'system->llvm-target' procedure.
Ludovic Courtès [Tue, 23 Jul 2019 14:57:25 +0000 (16:57 +0200)]
gnu: llvm: Add 'system->llvm-target' procedure.

* gnu/packages/llvm.scm (system->llvm-target): New procedure.

4 years agodoc: Add example for generating a secret key with knot DNS.
Julien Lepiller [Tue, 23 Jul 2019 19:15:43 +0000 (21:15 +0200)]
doc: Add example for generating a secret key with knot DNS.

* doc/guix.texi (DNS Services): Add an example and more context to the
includes field of the knot-configuration record.

4 years agognu: terminology: Update to 1.5.0.
Efraim Flashner [Tue, 23 Jul 2019 13:35:26 +0000 (16:35 +0300)]
gnu: terminology: Update to 1.5.0.

* gnu/packages/enlightenment.scm (terminology): Update to 1.5.0.

4 years agognu: emacs-request: Update to 0.3.1.
Mathieu Lirzin [Mon, 22 Jul 2019 20:53:56 +0000 (22:53 +0200)]
gnu: emacs-request: Update to 0.3.1.

* gnu/packages/emacs-xyz.scm (emacs-request): Update to 0.3.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: emacs-google-translate: Update to 0.11.18.
Mathieu Lirzin [Mon, 22 Jul 2019 13:47:54 +0000 (15:47 +0200)]
gnu: emacs-google-translate: Update to 0.11.18.

* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.18.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agoMakefile: Sort scheme tests alphabetically.
Robert Vollmert [Mon, 15 Jul 2019 10:59:15 +0000 (12:59 +0200)]
Makefile: Sort scheme tests alphabetically.

* Makefile.am (SCM_TESTS): Sort.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: mallard-ducktype: Update to 1.0.2.
Jack Hill [Mon, 22 Jul 2019 13:33:01 +0000 (09:33 -0400)]
gnu: mallard-ducktype: Update to 1.0.2.

* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: harmonist: Update to 0.2.
Julien Lepiller [Mon, 22 Jul 2019 21:06:55 +0000 (23:06 +0200)]
gnu: harmonist: Update to 0.2.

* gnu/packages/games.scm (harmonist): Update to 0.2.

4 years agognu: vlc: Build against libvpx@1.8.
Marius Bakke [Mon, 22 Jul 2019 14:17:36 +0000 (16:17 +0200)]
gnu: vlc: Build against libvpx@1.8.

* gnu/packages/video.scm (vlc)[inputs]: Change LIBVPX-1.7 to LIBVPX.

4 years agognu: libvpx: Update to 1.8.1.
Marius Bakke [Mon, 22 Jul 2019 13:51:49 +0000 (15:51 +0200)]
gnu: libvpx: Update to 1.8.1.

* gnu/packages/video.scm (libvpx): Update to 1.8.1.

4 years agognu: zstd: Update to 1.4.1.
Marius Bakke [Mon, 22 Jul 2019 13:01:53 +0000 (15:01 +0200)]
gnu: zstd: Update to 1.4.1.

* gnu/packages/compression.scm (zstd): Update to 1.4.1.

4 years agognu: zstd: Move libraries to separate outputs.
Marius Bakke [Mon, 22 Jul 2019 12:53:12 +0000 (14:53 +0200)]
gnu: zstd: Move libraries to separate outputs.

* gnu/packages/compression.scm (zstd)[outputs]: New field.
[arguments]: Add phase 'adjust-libary-locations'.  Pass LIBDIR and INCLUDEDIR
in <#:make-flags>.
* gnu/packages/backup.scm (borg)[inputs]: Change ZSTD to ZSTD:LIB.
* gnu/packages/sync.scm (casync)[inputs]: Likewise.
* gnu/packages/tor.scm (tor)[inputs]: Likewise.
* gnu/packages/linux.scm (btrfs-progs)[inputs]: Likewise.  Add ZSTD:STATIC.

4 years agognu: whois: Update to 5.5.0.
Marius Bakke [Sun, 21 Jul 2019 22:17:39 +0000 (00:17 +0200)]
gnu: whois: Update to 5.5.0.

* gnu/packages/networking.scm (whois): Update to 5.5.0.

4 years agognu: jsoncpp: Update to 1.9.1.
Marius Bakke [Sun, 21 Jul 2019 22:17:20 +0000 (00:17 +0200)]
gnu: jsoncpp: Update to 1.9.1.

* gnu/packages/serialization.scm (jsoncpp): Update to 1.9.1.

4 years agognu: ffmpeg: Update to 4.1.4.
Marius Bakke [Sun, 21 Jul 2019 22:17:02 +0000 (00:17 +0200)]
gnu: ffmpeg: Update to 4.1.4.

* gnu/packages/video.scm (ffmpeg): Update to 4.1.4.

4 years agognu: x265: Update to 3.1.1.
Marius Bakke [Sun, 21 Jul 2019 22:16:38 +0000 (00:16 +0200)]
gnu: x265: Update to 3.1.1.

* gnu/packages/video.scm (x265): Update to 3.1.1.

4 years agognu: ungoogled-chromium: Enable parallel build.
Marius Bakke [Sun, 21 Jul 2019 21:32:04 +0000 (23:32 +0200)]
gnu: ungoogled-chromium: Enable parallel build.

...but limit the memory usage.  Tested with --cores=8 on a 16 GiB RAM machine.

* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove <#:parallel-build?>.
Add "jumbo_file_merge_limit=8" in <#:configure-flags>.

4 years agognu: htslib: Propagate zlib.
Ricardo Wurmus [Mon, 22 Jul 2019 12:23:14 +0000 (14:23 +0200)]
gnu: htslib: Propagate zlib.

Reported by Vedran Franke <Vedran.Franke@mdc-berlin.de>.

* gnu/packages/bioinformatics.scm (htslib)[inputs]: Move zlib from here...
[propagated-inputs]: ...to here.

4 years agopack: Pass a list as the entry point for 'build-docker-image'.
Ludovic Courtès [Sun, 21 Jul 2019 22:45:42 +0000 (00:45 +0200)]
pack: Pass a list as the entry point for 'build-docker-image'.

* guix/scripts/pack.scm (docker-image)[build]: Pass a list as
 #:entry-point, not a string.

4 years agoswh: Add basic tests.
Ludovic Courtès [Sat, 20 Jul 2019 18:13:39 +0000 (20:13 +0200)]
swh: Add basic tests.

* guix/swh.scm (%swh-base-url): Turn into a parameter and export it.
* tests/swh.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

4 years agodoc: Update 'guix import json' example.
Ludovic Courtès [Sun, 21 Jul 2019 21:14:59 +0000 (23:14 +0200)]
doc: Update 'guix import json' example.

This is a followup to d78010b81ee6ef4fd8803082e2f401b9e55b44db.

* doc/guix.texi (Invoking guix import): Change 'guix import json'
example to refer to "gettext", not "gcc".

4 years agognu: perl-net-http: Update to 6.19.
Efraim Flashner [Mon, 22 Jul 2019 07:14:41 +0000 (10:14 +0300)]
gnu: perl-net-http: Update to 6.19.

* gnu/packages/web.scm (perl-net-httpd): Update to 6.19.

4 years agognu: perl-test-simple: Update to 1.302164.
Efraim Flashner [Mon, 22 Jul 2019 06:07:58 +0000 (09:07 +0300)]
gnu: perl-test-simple: Update to 1.302164.

* gnu/packages/perl-check.scm (perl-test-simple): Update to 1.302164.

4 years agognu: perl-cpan-meta: Update to 2.150010.
Efraim Flashner [Mon, 22 Jul 2019 06:06:41 +0000 (09:06 +0300)]
gnu: perl-cpan-meta: Update to 2.150010.

* gnu/packages/perl.scm (perl-cpan-meta): Update to 2.150010.

4 years agognu: perl-clone: Update to 0.42.
Efraim Flashner [Mon, 22 Jul 2019 06:06:04 +0000 (09:06 +0300)]
gnu: perl-clone: Update to 0.42.

* gnu/packages/perl.scm (perl-clone): Update to 0.42.

4 years agognu: perl-hash-merge: Update to 0.300.
Efraim Flashner [Mon, 22 Jul 2019 06:05:24 +0000 (09:05 +0300)]
gnu: perl-hash-merge: Update to 0.300.

* gnu/packages/perl.scm (perl-hash-merge): Update to 0.300.
[inputs]: Add perl-clone-choose.

4 years agognu: mallard-ducktype: Run tests.
Efraim Flashner [Mon, 22 Jul 2019 06:48:50 +0000 (09:48 +0300)]
gnu: mallard-ducktype: Run tests.

* gnu/packages/python-xyz.scm (mallard-ducktype)[arguments]: Replace
'check phase to run test suite.

4 years agognu: oil-shell: Update to 0.6.0
Robert Vollmert [Fri, 19 Jul 2019 16:50:56 +0000 (18:50 +0200)]
gnu: oil-shell: Update to 0.6.0

* gnu/packages/shells.scm (oil-shell): Update to 0.6.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: libreoffice: Fix xdg-open absolute paths.
Chris Marusich [Tue, 16 Jul 2019 05:42:07 +0000 (22:42 -0700)]
gnu: libreoffice: Fix xdg-open absolute paths.

Fixes: <https://bugs.gnu.org/36728>.

* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add xdg-utils.
[arguments][#:phases][prepare-src]: Replace hard-coded absolute paths to
xdg-open in the source with the path to xdg-open in the xdg-utils input.

4 years agognu: libosinfo: Update to 1.5.0.
Tobias Geerinckx-Rice [Sun, 21 Jul 2019 18:20:27 +0000 (20:20 +0200)]
gnu: libosinfo: Update to 1.5.0.

* gnu/packages/virtualization.scm (libosinfo): Update to 1.5.0.
[arguments]: Remove ‘disable-broken-test’ phase.
[native-inputs]: Remove check.

4 years agognu: linux-libre: Update to 5.2.2.
Mark H Weaver [Sun, 21 Jul 2019 13:01:41 +0000 (09:01 -0400)]
gnu: linux-libre: Update to 5.2.2.

* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.2.
(linux-libre-5.2-pristine-source): Update hash.

4 years agognu: linux-libre@4.19: Update to 4.19.60.
Mark H Weaver [Sun, 21 Jul 2019 13:00:46 +0000 (09:00 -0400)]
gnu: linux-libre@4.19: Update to 4.19.60.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.60.
(linux-libre-4.19-pristine-source): Update hash.

4 years agognu: linux-libre@4.14: Update to 4.14.134.
Mark H Weaver [Sun, 21 Jul 2019 12:59:57 +0000 (08:59 -0400)]
gnu: linux-libre@4.14: Update to 4.14.134.

* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.134.
(linux-libre-4.14-pristine-source): Update hash.

4 years agognu: linux-libre@4.9: Update to 4.9.186.
Mark H Weaver [Sun, 21 Jul 2019 12:59:04 +0000 (08:59 -0400)]
gnu: linux-libre@4.9: Update to 4.9.186.

* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.186.
(linux-libre-4.9-pristine-source): Update hash.

4 years agognu: linux-libre@4.4: Update to 4.4.186.
Mark H Weaver [Sun, 21 Jul 2019 12:57:23 +0000 (08:57 -0400)]
gnu: linux-libre@4.4: Update to 4.4.186.

* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.186.
(linux-libre-4.4-pristine-source): Update hash.

4 years agognu: linux-libre: Deblob the linux-libre source tarball ourselves.
Mark H Weaver [Sun, 21 Jul 2019 12:41:43 +0000 (08:41 -0400)]
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.

* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.

4 years agognu: Add darkice.
Mark H Weaver [Sun, 21 Jul 2019 15:12:36 +0000 (11:12 -0400)]
gnu: Add darkice.

* gnu/packages/audio.scm (darkice): New variable.
* gnu/packages/patches/darkice-workaround-fpermissive-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agognu: emacs-ivy: Update to 0.12.0.
Brian Leung [Sat, 20 Jul 2019 20:35:50 +0000 (22:35 +0200)]
gnu: emacs-ivy: Update to 0.12.0.

* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
4 years agognu: Add python-gdal.
宋文武 [Sat, 20 Jul 2019 14:39:33 +0000 (22:39 +0800)]
gnu: 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.

4 years agognu: qtwebkit: Update to 5.212.0-alpha3.
Efraim Flashner [Sun, 21 Jul 2019 05:45:30 +0000 (08:45 +0300)]
gnu: qtwebkit: Update to 5.212.0-alpha3.

* gnu/packages/qt.scm (qtwebkit): Update to 5.212.0-alpha3.

4 years agognu: Add ghc-hasktags.
Brian Leung [Thu, 18 Jul 2019 05:23:02 +0000 (07:23 +0200)]
gnu: Add ghc-hasktags.

* gnu/packages/haskell.scm (ghc-hasktags): New variable.

4 years agognu: Add ghc-microlens-platform.
Brian Leung [Thu, 18 Jul 2019 05:22:47 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-platform.

* gnu/packages/haskell.scm (ghc-microlens-platform): New variable.

4 years agognu: Add ghc-microlens-ghc.
Brian Leung [Thu, 18 Jul 2019 05:22:31 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-ghc.

* gnu/packages/haskell.scm (ghc-microlens-ghc): New variable.

4 years agognu: Add ghc-microlens-mtl.
Brian Leung [Thu, 18 Jul 2019 05:22:18 +0000 (07:22 +0200)]
gnu: Add ghc-microlens-mtl.

* gnu/packages/haskell.scm (ghc-microlens-mtl): New variable.

4 years agognu: Add ghc-hindent.
Brian Leung [Sat, 22 Jun 2019 21:47:32 +0000 (23:47 +0200)]
gnu: Add ghc-hindent.

* gnu/packages/haskell.scm (ghc-hindent): New variable.

4 years agognu: Add ghc-exactprint.
Brian Leung [Fri, 21 Jun 2019 01:44:39 +0000 (03:44 +0200)]
gnu: Add ghc-exactprint.

* gnu/packages/haskell.scm (ghc-exactprint): New variable.

4 years agognu: Add ghc-descriptive.
Brian Leung [Fri, 21 Jun 2019 01:44:27 +0000 (03:44 +0200)]
gnu: Add ghc-descriptive.

* gnu/packages/haskell.scm (ghc-descriptive): New variable.

4 years agognu: Add ghc-path-io.
Brian Leung [Thu, 20 Jun 2019 05:57:01 +0000 (07:57 +0200)]
gnu: Add ghc-path-io.

* gnu/packages/haskell.scm (ghc-path-io): New variable.

4 years agognu: Add ghc-path.
Brian Leung [Thu, 20 Jun 2019 05:56:47 +0000 (07:56 +0200)]
gnu: Add ghc-path.

* gnu/packages/haskell.scm (ghc-path): New variable.

4 years agognu: Add ghc-genvalidity-property.
Brian Leung [Thu, 20 Jun 2019 05:56:21 +0000 (07:56 +0200)]
gnu: Add ghc-genvalidity-property.

* gnu/packages/haskell.scm (ghc-genvalidity-property): New variable.

4 years agognu: Add ghc-genvalidity.
Brian Leung [Thu, 20 Jun 2019 05:56:04 +0000 (07:56 +0200)]
gnu: Add ghc-genvalidity.

* gnu/packages/haskell.scm (ghc-genvalidity): New variable.

4 years agognu: Add ghc-validity.
Brian Leung [Thu, 20 Jun 2019 05:55:34 +0000 (07:55 +0200)]
gnu: Add ghc-validity.

* gnu/packages/haskell.scm (ghc-validity): New variable.

4 years agolint: Use the 'warning' procedure for messages.
Ludovic Courtès [Fri, 19 Jul 2019 23:31:38 +0000 (01:31 +0200)]
lint: Use the 'warning' procedure for messages.

* guix/scripts/lint.scm (emit-warnings): Use 'warning' instead of
'format'.

4 years agolint: source: Stop as soon as a valid URL is found.
Ludovic Courtès [Fri, 19 Jul 2019 23:30:29 +0000 (01:30 +0200)]
lint: source: Stop as soon as a valid URL is found.

This restores the behavior of 'guix lint' prior to commit
50fc2384feb3bb2677d074f8f0deb5ae3c56b4d8.

* guix/lint.scm (check-source)[warnings-for-uris]: Rewrite to stop as
soon as one of URIS is valid.

4 years agolint: Remove unused imports.
Ludovic Courtès [Fri, 19 Jul 2019 23:18:38 +0000 (01:18 +0200)]
lint: Remove unused imports.

* guix/lint.scm: Remove now unused (gnu packages) and (guix monads)
imports.

4 years agolint: Add test for 'source'.
Ludovic Courtès [Fri, 19 Jul 2019 23:18:11 +0000 (01:18 +0200)]
lint: Add test for 'source'.

* tests/lint.scm ("source: 404 and 200"): New test.

4 years agolint: 'source' check no longer complains about unavailable mirrors.
Ludovic Courtès [Fri, 19 Jul 2019 23:13:46 +0000 (01:13 +0200)]
lint: 'source' check no longer complains about unavailable mirrors.

Fixes a regression introduced in
50fc2384feb3bb2677d074f8f0deb5ae3c56b4d8.

Previously, 'guix lint -c source coreutils' would complain if one of the
mirrors was unavailable.  This is no longer the case.

* guix/lint.scm (check-source)[warnings-for-uris]: Use 'filter-map'.
Remove 'append-map' call.
Use 'append-map' here so that we can meaningfull compare the length or
URIS and that of WARNINGS.
Use '=' to compare lengths.

4 years agolint: Update tests to (guix lint) migration.
Ludovic Courtès [Fri, 19 Jul 2019 23:04:49 +0000 (01:04 +0200)]
lint: Update tests to (guix lint) migration.

This is a followup to f363c836e0b4c416dae594af4257459da592b35c.

* tests/lint.scm ("cve")
("cve: one vulnerability")
("cve: one patched vulnerability")
("cve: known safe from vulnerability")
("cve: vulnerability fixed in replacement version")
("cve: patched vulnerability in replacement"): Refer to
'package-vulnerabilities' from (guix lint), not (guix scripts lint).

4 years agognu: Add emacs-zerodark-theme.
Giacomo Leidi [Mon, 15 Jul 2019 09:21:24 +0000 (11:21 +0200)]
gnu: Add emacs-zerodark-theme.

* gnu/packages/emacs-xyz.scm (emacs-zerodark-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoui: 'warn-about-load-error' provides hints for unbound variables.
Ludovic Courtès [Fri, 19 Jul 2019 22:33:50 +0000 (00:33 +0200)]
ui: 'warn-about-load-error' provides hints for unbound variables.

* guix/ui.scm (warn-about-load-error): Add 'unbound-variable' clause.
* tests/guix-build.sh: Add test.

4 years agoui: 'warn-about-load-error' warns about file/module name mismatches.
Ludovic Courtès [Fri, 19 Jul 2019 21:48:09 +0000 (23:48 +0200)]
ui: 'warn-about-load-error' warns about file/module name mismatches.

* guix/discovery.scm (scheme-modules): Rename the inner 'file' to
'relative'.  Pass FILE as an addition argument to WARN.
* guix/ui.scm (warn-about-load-error): Add 'module' argument (actually,
what was called 'file' really contained a module name.)  Call
'check-module-matches-file' in the catch-all error case.
(check-module-matches-file): New procedure.
* tests/guix-build.sh: Test it.

4 years agognu: python-jupyter-client: Patch file name of 'ip'.
Ludovic Courtès [Fri, 19 Jul 2019 15:17:35 +0000 (17:17 +0200)]
gnu: python-jupyter-client: Patch file name of 'ip'.

* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Add #:phases.
[inputs]: New field.

4 years agognu: glog: Disable test that fails on non-x86_64 platforms.
Marius Bakke [Fri, 19 Jul 2019 14:33:54 +0000 (16:33 +0200)]
gnu: glog: Disable test that fails on non-x86_64 platforms.

This was removed in 4678cc46a4c1e0538402d8df6d85d3caedc7f00b, but turned out
to still be needed.

* gnu/packages/logging.scm (glog)[arguments]: New field.

4 years agochannels: Always provide a <channel-metadata> record.
Ludovic Courtès [Tue, 16 Jul 2019 22:41:10 +0000 (00:41 +0200)]
channels: Always provide a <channel-metadata> record.

This simplifies the code since one no longer needs to think about
whether '.guix-channel' was present.

* guix/channels.scm (read-channel-metadata): Always pass a string as the
first argument to 'channel-metadata'.
(read-channel-metadata-from-source): Always return a <channel-metadata>
record.
(channel-instance-dependencies): Remove now unneeded 'match'.
(standard-module-derivation): Assume DIRECTORY is never #f and contains
a leading slash.
* tests/channels.scm (channel-metadata-directory)
(channel-metadata-dependencies): New procedures.
("channel-instance-metadata returns #f if .guix-channel does not
exist"): Remove.
("channel-instance-metadata returns default if .guix-channel does not
exist"): New test.
(make-instance): Use 'write' instead of 'display' when creating
'.guix-channel'.
(instance--no-deps): Remove dependencies.
(instance--sub-directory): New variable.
("channel-instance-metadata and default dependencies")
("channel-instance-metadata and directory"): New tests.
("latest-channel-instances excludes duplicate channel dependencies"):
Expect 'channel-commit' to return a string and adjust accordingly.