jackhill/guix/guix.git
4 years agopackages: Recommend against the use of 'package-file'.
Ludovic Courtès [Mon, 20 Apr 2020 21:37:05 +0000 (23:37 +0200)]
packages: Recommend against the use of 'package-file'.

* guix/packages.scm (package-file): Recommend against its use in the
docstring.
* doc/guix.texi (The Store Monad): Likewise.

4 years agoRevert "system: Don’t create a module database when no modules are available."
Ludovic Courtès [Mon, 20 Apr 2020 21:31:01 +0000 (23:31 +0200)]
Revert "system: Don’t create a module database when no modules are available."

This reverts commit b2fff3b5de7d510fe4809e9a97089dddf2a39ffc.

Fixes <https://bugs.gnu.org/40713>.
Reported by pkill9 <pkill9@runbox.com>.

This commit is incorrect: its effect depends on whether KERNEL's build
output is already available in the store, it breaks with non-package
kernels as reported at <https://bugs.gnu.org/40713>, and the
LINUX-MODULE-DATABASE hook is required at all times since
5c79f238634c5adb6657f1b4b1bb4ddb8bb73ef1 removed the relevant bits from
the 'linux-libre' package.

4 years agoservices: etc: Detect and report duplicate entries.
Ludovic Courtès [Mon, 20 Apr 2020 20:31:38 +0000 (22:31 +0200)]
services: etc: Detect and report duplicate entries.

Fixes <https://bugs.gnu.org/40729>.
Reported by Christopher Baines <mail@cbaines.net>.

* gnu/services.scm (files->etc-directory)[assert-no-duplicates]: New
procedure.
Use it.

4 years agoservices: dovecot: 'stop' method returns #f upon success.
Ludovic Courtès [Mon, 20 Apr 2020 20:30:09 +0000 (22:30 +0200)]
services: dovecot: 'stop' method returns #f upon success.

* gnu/services/mail.scm (dovecot-shepherd-service)[stop]: Use 'invoke'
instead of 'make-forkexec-constructor'.  Previously, the 'stop' method
would return the PID of the "dovecot stop" process, which would be
interpreted as a failure to stop the service.

4 years agoservices: Don't use the deprecated 'make-forkexec-constructor' call.
Ludovic Courtès [Mon, 20 Apr 2020 17:36:41 +0000 (19:36 +0200)]
services: Don't use the deprecated 'make-forkexec-constructor' call.

Passing 'make-forkexec-constructor' a string or several string arguments
has been deprecated since dmd 0.1.

* gnu/services/base.scm (rngd-service-type): In 'start' method, pass a
list as the first argument to 'make-forkexec-constructor'.
* gnu/services/desktop.scm (bluetooth-shepherd-service): Likewise.
* gnu/services/spice.scm (spice-vdagent-shepherd-service): Likewise.

4 years agognu: mcron: Remove now unneeded phase.
Ludovic Courtès [Mon, 20 Apr 2020 10:23:16 +0000 (12:23 +0200)]
gnu: mcron: Remove now unneeded phase.

This is a followup to a52aa7fdef19f95fc1755ecd88e979ba07d8b392.

* gnu/packages/guile-xyz.scm (mcron)[arguments]: Remove
'fix-finding-guile'.

4 years agognu: cgit: Update Git source code to 2.25.4.
Leo Famulari [Mon, 20 Apr 2020 20:19:51 +0000 (16:19 -0400)]
gnu: cgit: Update Git source code to 2.25.4.

* gnu/packages/version-control.scm (cgit)[inputs]: Update git-source to 2.25.4.

4 years agognu: Git: Update to 2.26.2 [fixes CVE-2020-11008].
Leo Famulari [Mon, 20 Apr 2020 20:18:45 +0000 (16:18 -0400)]
gnu: Git: Update to 2.26.2 [fixes CVE-2020-11008].

* gnu/packages/version-control.scm (git): Update to 2.26.2.
[native-inputs]: Update git-manpages.

4 years agognu: xfce.scm: Sort module imports.
Naga Malleswari [Fri, 10 Apr 2020 19:53:03 +0000 (01:23 +0530)]
gnu: xfce.scm: Sort module imports.

* gnu/packages/xfce.scm: Sort module imports.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
4 years agoinstaller: Rename uvesafb shepherd service to maybe-uvesafb.
Florian Pelz [Tue, 14 Apr 2020 17:44:53 +0000 (19:44 +0200)]
installer: Rename uvesafb shepherd service to maybe-uvesafb.

Because the installer's uvesafb service loads uvesafb only on some machines.

This is a follow-up to commit 0ad60b2a89d6d387236466e0bcdd61ac489fca37.

* gnu/system/install.scm (uvesafb-shepherd-service): Adjust provision and
description fields.

4 years agognu: libqalculate: Fix libcurl gnutls CA cert bundle file.
R Veera Kumar [Fri, 17 Apr 2020 16:51:01 +0000 (22:21 +0530)]
gnu: libqalculate: Fix libcurl gnutls CA cert bundle file.

* gnu/packages/patches/libqalculate-3.8.0-libcurl-ssl-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (libqalculate)[source]: Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
4 years agognu: Add midori.
Raghav Gururajan [Sun, 19 Apr 2020 13:39:05 +0000 (09:39 -0400)]
gnu: Add midori.

* gnu/packages/web-browsers.scm (midori): New variable.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
4 years agosyscalls: Fix Linux detection in 'readdir*'.
Julien Lepiller [Mon, 20 Apr 2020 14:21:17 +0000 (16:21 +0200)]
syscalls: Fix Linux detection in 'readdir*'.

* guix/build/syscalls.scm (readdir*): Fix Linux detection for
`arm-unknown-linux-gnueabihf'.

4 years agognu: Add r-bridgesampling.
Eric Brown [Sun, 19 Apr 2020 19:07:27 +0000 (14:07 -0500)]
gnu: Add r-bridgesampling.

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

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
4 years agotests: Update expected values for package->code.
Ricardo Wurmus [Mon, 20 Apr 2020 08:56:23 +0000 (10:56 +0200)]
tests: Update expected values for package->code.

Reported by janneke on IRC.

* tests/print.scm: Update expected package definitions produced by package->code.

4 years agognu: java-bouncycastle: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 19:43:29 +0000 (22:43 +0300)]
gnu: java-bouncycastle: Don't use unstable tarball.

* gnu/packages/java.scm (java-bouncycastle)[source]: Download using
git-fetch. Use upstream's repo, not a mirror.

4 years agognu: java-lz4: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 19:20:54 +0000 (22:20 +0300)]
gnu: java-lz4: Don't use unstable tarball.

* gnu/packages/java.scm (java-lz4)[source]: Download using git-fetch.
[arguments]: Add phase to make files writable.

4 years agognu: java-fest-assert: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 19:11:55 +0000 (22:11 +0300)]
gnu: java-fest-assert: Don't use unstable tarball.

* gnu/packages/java.scm (java-fest-assert)[source]: Download using
git-fetch.

4 years agognu: java-fest-test: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 19:04:26 +0000 (22:04 +0300)]
gnu: java-fest-test: Don't use unstable tarball.

* gnu/packages/java.scm (java-fest-test)[source]: Download using
git-fetch.

4 years agognu: java-fest-util: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 19:02:01 +0000 (22:02 +0300)]
gnu: java-fest-util: Don't use unstable tarball.

* gnu/packages/java.scm (java-fest-util)[source]: Download using
git-fetch.

4 years agognu: graphene: Update to 1.10.0.
Efraim Flashner [Sun, 19 Apr 2020 18:56:09 +0000 (21:56 +0300)]
gnu: graphene: Update to 1.10.0.

* gnu/packages/gtk.scm (graphene): Update to 1.10.0.
[build-system]: Switch to meson-build-system.
[arguments]: Update configure-flags to not install tests.
[inputs]: Remove python2. Move gobject-introspection ...
[native-inputs]: ... to here. Remove autoconf, automake, libtool, which.

4 years agognu: sparql-query: Sort inputs alphabetically.
Efraim Flashner [Sun, 19 Apr 2020 18:33:15 +0000 (21:33 +0300)]
gnu: sparql-query: Sort inputs alphabetically.

* gnu/packages/databases.scm (sparql-query)[inputs]: Sort alphabetically.

4 years agognu: sparql-query: Don't use unstable tarball.
Efraim Flashner [Sun, 19 Apr 2020 18:30:14 +0000 (21:30 +0300)]
gnu: sparql-query: Don't use unstable tarball.

* gnu/packages/databases.scm (sparql-query)[source]: Download using
git-fetch.

4 years agognu: mu: Update to 1.4.
Pierre Langlois [Sat, 18 Apr 2020 14:19:39 +0000 (16:19 +0200)]
gnu: mu: Update to 1.4.

* gnu/packages/mail.scm (mu): Update to 1.4.
[arguments]: Remove 'fix-date-tests phase. Add 'patch-bin-sh-in-tests phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agoservices: Add 'simulated-wifi-service-type'.
Ludovic Courtès [Sun, 19 Apr 2020 20:06:32 +0000 (22:06 +0200)]
services: Add 'simulated-wifi-service-type'.

* gnu/services/networking.scm (simulated-wifi-shepherd-services): New
procedure.
(simulated-wifi-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.

4 years agoservices: Add 'hostapd-service-type'.
Ludovic Courtès [Sun, 19 Apr 2020 16:01:13 +0000 (18:01 +0200)]
services: Add 'hostapd-service-type'.

* gnu/services/networking.scm (<hostapd-configuration>): New record
type.
(hostapd-configuration-file, hostapd-shepherd-services): New
procedures.
(hostapd-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.

4 years agognu: php: Update to 7.4.5.
Julien Lepiller [Sun, 19 Apr 2020 20:57:16 +0000 (22:57 +0200)]
gnu: php: Update to 7.4.5.

* gnu/packages/php.scm (php): Update to 7.4.5.

4 years agoRevert "gnu: libxfce4util: Update to 4.15.0."
Danny Milosavljevic [Sun, 19 Apr 2020 16:44:24 +0000 (18:44 +0200)]
Revert "gnu: libxfce4util: Update to 4.15.0."

This reverts commit c0bff513a41a12b446565f3c0de06343acbb6e23.

4 years agognu: emacs-org-superstar: Update to 1.2.1.
Nicolas Goaziou [Sun, 19 Apr 2020 12:33:30 +0000 (14:33 +0200)]
gnu: emacs-org-superstar: Update to 1.2.1.

* gnu/packages/emacs-xyz.scm (emacs-org-superstar): Update to 1.2.1.

4 years agodoc: Make install script more prominent.
Ludovic Courtès [Sun, 19 Apr 2020 11:26:05 +0000 (13:26 +0200)]
doc: Make install script more prominent.

Suggested by Steven vanZyl <rushsteve1@rushsteve1.us>.

* doc/guix.texi (Binary Installation): Add @example showing how to
download the script.  Use "systemctl enable --now".

4 years agognu: Add notification-daemon.
Raghav Gururajan [Mon, 13 Apr 2020 06:44:21 +0000 (02:44 -0400)]
gnu: Add notification-daemon.

* gnu/packages/gnome.scm (notification-daemon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agotests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.
Ludovic Courtès [Sun, 19 Apr 2020 11:16:52 +0000 (13:16 +0200)]
tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.

Fixes <https://bugs.gnu.org/37679>.
Reported by Gábor Boskovits <boskovits@gmail.com>.

* guix/tests/git.scm (call-with-environment-variables): New procedure.
(with-environment-variables): New macro.
(populate-git-repository)[git]: Wrap (git-command) invocation in
'call-with-temporary-directory' and 'with-environment-variables'.

4 years agognu: Add trezord-udev-rules.
Martin Becze [Thu, 16 Apr 2020 16:20:44 +0000 (11:20 -0500)]
gnu: Add trezord-udev-rules.

* gnu/packages/finance.scm (trezord-udev-rules): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agostatus: Remove extra space before ellipsis.
Ludovic Courtès [Sat, 18 Apr 2020 21:21:34 +0000 (23:21 +0200)]
status: Remove extra space before ellipsis.

Extra space was introduced in 8fa4ac5be4d5f8a1e62635842b16486832ff49f1.

* guix/status.scm (print-build-event): Remove extra space before
ellipsis.

4 years agoinstaller: connman: Fix Wifi connection.
Mathieu Othacehe [Sun, 19 Apr 2020 09:41:40 +0000 (11:41 +0200)]
installer: connman: Fix Wifi connection.

Issue reported by SergioBG here:
https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00432.html.

Due to default buffering mode, the installer was reading from the pipe without
having actually written a command before.

* gnu/installer/connman.scm (connman-connect-with-auth): Set pipe buffering
mode to 'line.

4 years agoservices: sddm: Have sddm provision xorg-server.
Efraim Flashner [Sun, 19 Apr 2020 05:52:01 +0000 (08:52 +0300)]
services: sddm: Have sddm provision xorg-server.

* gnu/services/sddm.scm (sddm-shepherd-service)[shepherd-service]: Have
sddm provision 'xorg-server like the other display managers.

4 years agognu: python-cython: Update to 0.29.16.
Efraim Flashner [Sat, 18 Apr 2020 19:50:59 +0000 (22:50 +0300)]
gnu: python-cython: Update to 0.29.16.

* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.16.

4 years agognu: qrcodegen-cpp: Update to 1.6.0.
Efraim Flashner [Sat, 18 Apr 2020 19:01:58 +0000 (22:01 +0300)]
gnu: qrcodegen-cpp: Update to 1.6.0.

* gnu/packages/aidc.scm (qrcodegen-cpp): Update to 1.6.0.

4 years agognu: vim-asyncrun: Update to 2.7.5.
Efraim Flashner [Sat, 18 Apr 2020 18:49:59 +0000 (21:49 +0300)]
gnu: vim-asyncrun: Update to 2.7.5.

* gnu/packages/vim.scm (vim-asyncrun): Update to 2.7.5.

4 years agognu: libavif: Update to 0.7.1.
Leo Famulari [Sat, 18 Apr 2020 18:42:53 +0000 (14:42 -0400)]
gnu: libavif: Update to 0.7.1.

* gnu/packages/image.scm (libavif): Update to 0.7.1.
[arguments]: Run the test suite.

4 years agognu: Add node-semver.
Giacomo Leidi [Tue, 7 Apr 2020 22:59:13 +0000 (00:59 +0200)]
gnu: Add node-semver.

* gnu/packages/node-xyz.scm (node-semver): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
4 years agognu: chess: Update to 6.2.6.
Efraim Flashner [Sat, 18 Apr 2020 18:01:52 +0000 (21:01 +0300)]
gnu: chess: Update to 6.2.6.

* gnu/packages/games.scm (chess): Update to 6.2.6.

4 years agognu: chess: Set upstream name and ftp-directory.
Efraim Flashner [Sat, 18 Apr 2020 17:57:15 +0000 (20:57 +0300)]
gnu: chess: Set upstream name and ftp-directory.

* gnu/packages/games.scm (chess)[properties]: New field. Add
upstream-name and ftp-directory.

4 years agoinstaller: Fix backtrace display.
Mathieu Othacehe [Sat, 18 Apr 2020 15:41:11 +0000 (17:41 +0200)]
installer: Fix backtrace display.

The 'syslog' macro cannot be resolved in the pre-unwind-handler
context. Failed to resolve 'syslog' in this context resulted in the swallowing
of all installation errors.

Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd.

* gnu/installer.scm (installer-program): Use (gnu installer utils) module.

4 years agognupg: Accept revoked keys.
Tobias Geerinckx-Rice [Fri, 17 Apr 2020 21:25:17 +0000 (23:25 +0200)]
gnupg: Accept revoked keys.

I (nckx) have revoked all RSA subkeys, in favour of my older and
freshly-refreshed ECDSA ones.  This was merely a precaution: to my
knowledge all my RSA private keys have been carefully destroyed and
were never compromised.  This commit keeps ‘make authenticate’ happy.

* guix/gnupg.scm (revkeysig-rx): New variable for revoked keys.
(gnupg-verify): Parse it.
(gnupg-status-good-signature?): Accept it as ‘good’ for our purposes.
* build-aux/git-authenticate.scm (%committers): Clarify nckx's subkeys.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: Use the test-only time zone database where appropriate.
Leo Famulari [Thu, 16 Apr 2020 18:17:25 +0000 (14:17 -0400)]
gnu: Use the test-only time zone database where appropriate.

* gnu/packages/backup.scm (duplicity)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
* gnu/packages/finance.scm (ledger): Likewise.
* gnu/packages/compression.scm (lhasa)[native-inputs]: Use tzdata-for-tests.
* gnu/packages/cran.scm (r-rstan)[native-inputs]: Likewise.
* gnu/packages/databases.scm (mongodb)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kdelibs4support)[native-inputs]: Likewise.

4 years agognu: trezord: Update to 2.0.29.
Martin Becze [Thu, 16 Apr 2020 16:17:13 +0000 (11:17 -0500)]
gnu: trezord: Update to 2.0.29.

* gnu/packages/finance.scm (trezord): Update to 2.0.29.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoui: Fix typos, 80-col & grammar in comments & docstrings.
Vincent Legoll [Thu, 16 Apr 2020 21:17:16 +0000 (23:17 +0200)]
ui: Fix typos, 80-col & grammar in comments & docstrings.

* guix/ui.scm (load*): Fix comment line length.
(leave-on-EPIPE): Fix typo in docstring.
(substitutable-info): Fix typo in comment.
(indented-string): Fix typo in docstring.
(%package-metrics): Fix typo in comment.
(run-guix): Fix grammar in docstring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: fulcrum: Update to 1.1.0
TomZ [Fri, 17 Apr 2020 10:26:58 +0000 (12:26 +0200)]
gnu: fulcrum: Update to 1.1.0

* gnu/packages/finance.scm (fulcrum): Update to 1.1.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agodoc: Update nar decompression examples.
mikadoZero [Fri, 22 Feb 2019 23:24:20 +0000 (18:24 -0500)]
doc: Update nar decompression examples.

* doc/guix.texi (Invoking guix archive): Show /gzip URL.
Add cross-reference to "Invoking guix challenge".
(Invoking guix challenge): Show /lzip URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agoservices: account: Have 'user-processes' depend on 'user-homes'.
Ludovic Courtès [Fri, 17 Apr 2020 10:48:06 +0000 (12:48 +0200)]
services: account: Have 'user-processes' depend on 'user-homes'.

Until now, 'user-homes' happened to start right after 'user-processes'
and before services that depend on a home directory but the dependency
was not explicit.  This addresses it.

* gnu/system/shadow.scm (account-service-type): Extend
USER-PROCESSES-SERVICE-TYPE.

4 years agoservices: Move 'user-processes' to (gnu services shepherd).
Ludovic Courtès [Fri, 17 Apr 2020 10:45:54 +0000 (12:45 +0200)]
services: Move 'user-processes' to (gnu services shepherd).

* gnu/services/base.scm (%do-not-kill-file)
(user-processes-shepherd-service, user-processes-service-type): Move
to...
* gnu/services/shepherd.scm: ... here.

4 years agomaint: Provide the configuration file in the VM image.
Ludovic Courtès [Fri, 17 Apr 2020 20:38:31 +0000 (22:38 +0200)]
maint: Provide the configuration file in the VM image.

This fixes a bug introduced in 362bcdb1b076c8c46f71781add56dfbe532736dc
whereby the VM image would no longer contain /etc/config.scm, contrary
to what the manual says.

Reported by dbdude on #guix.

* Makefile.am (release): Pass '--save-provenance' to 'guix system
vm-image'.
* doc/guix.texi (Running Guix in a VM): Adjust file name accordingly.

4 years agognu: linux-libre: Update to 5.4.33.
Mark H Weaver [Fri, 17 Apr 2020 19:02:04 +0000 (15:02 -0400)]
gnu: linux-libre: Update to 5.4.33.

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

4 years agognu: linux-libre@5.6: Update to 5.6.5.
Mark H Weaver [Fri, 17 Apr 2020 19:01:25 +0000 (15:01 -0400)]
gnu: linux-libre@5.6: Update to 5.6.5.

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

4 years agognu: linux-libre@4.19: Update to 4.19.116.
Mark H Weaver [Fri, 17 Apr 2020 19:00:19 +0000 (15:00 -0400)]
gnu: linux-libre@4.19: Update to 4.19.116.

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

4 years agognu: ungoogled-chromium: Update to 81.0.4044.113-0.b484ad4 [fixes CVE-2020-6457].
Marius Bakke [Fri, 17 Apr 2020 13:45:32 +0000 (15:45 +0200)]
gnu: ungoogled-chromium: Update to 81.0.4044.113-0.b484ad4 [fixes CVE-2020-6457].

* gnu/packages/chromium.scm (%chromium-version): Set to 81.0.4044.113.
(%chromium-origin): Update hash.

4 years agostatus: Allow double-click select of URLs.
TomZ [Tue, 7 Apr 2020 19:39:04 +0000 (21:39 +0200)]
status: Allow double-click select of URLs.

Various places while downloading or compiling guix prints
the source URL. This change makes the URL easier to use by
placing a space between the URL and the trailing dots.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: python-pygenometracks: Update to 3.3.
Ricardo Wurmus [Fri, 17 Apr 2020 13:50:29 +0000 (15:50 +0200)]
gnu: python-pygenometracks: Update to 3.3.

* gnu/packages/bioinformatics.scm (python-pygenometracks): Update to 3.3.
[arguments]: Add phase "relax-requirements"; disable tests.
[propagated-inputs]: Remove python-configparser and python-hicexplorer; add
python-gffutils, python-pysam, and python-tqdm.

4 years agognu: Add python-hicmatrix.
Ricardo Wurmus [Fri, 17 Apr 2020 13:50:22 +0000 (15:50 +0200)]
gnu: Add python-hicmatrix.

* gnu/packages/bioinformatics.scm (python-hicmatrix): New variable.

4 years agognu: python-cooler: Update to 0.8.7.
Ricardo Wurmus [Fri, 17 Apr 2020 13:49:19 +0000 (15:49 +0200)]
gnu: python-cooler: Update to 0.8.7.

* gnu/packages/bioinformatics.scm (python-cooler): Update to 0.8.7.
[propagated-inputs]: Add python-asciitree, python-numpy, python-pyyaml, and
python-simplejson.
[native-inputs]: Remove python-nose, python-numpydoc, and python-sphinx; add
python-pytest.

4 years agognu: python-pybigwig: Update to 0.3.17.
Ricardo Wurmus [Fri, 17 Apr 2020 13:49:06 +0000 (15:49 +0200)]
gnu: python-pybigwig: Update to 0.3.17.

* gnu/packages/bioinformatics.scm (python-pybigwig): Update to 0.3.17.

4 years agognu: python-tables: Update to 3.6.1.
Ricardo Wurmus [Fri, 17 Apr 2020 13:48:51 +0000 (15:48 +0200)]
gnu: python-tables: Update to 3.6.1.

* gnu/packages/python-xyz.scm (python-tables): Update to 3.6.1.
[arguments]: Adjust use-gcc phase.

4 years agognu: python-podcastparser: Run tests.
Pierre Langlois [Wed, 15 Apr 2020 16:41:07 +0000 (18:41 +0200)]
gnu: python-podcastparser: Run tests.

* gnu/packages/gpodder.scm (python-podcastparser)[native-inputs]: Add
python-coverage.
[arguments]: Replace 'check phase and invoke "nosetests".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: gpodder: Run tests.
Pierre Langlois [Wed, 15 Apr 2020 16:41:02 +0000 (18:41 +0200)]
gnu: gpodder: Run tests.

* gnu/packages/gpodder.scm (gpodder)[native-inputs]: Add python-coverage and
python-minimock.
[arguments]: Replace the 'check phase and invoke "make unittest".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: gpodder: Update to 3.10.15.
Pierre Langlois [Wed, 15 Apr 2020 16:40:57 +0000 (18:40 +0200)]
gnu: gpodder: Update to 3.10.15.

* gnu/packages/gpodder.scm (gpodder): Update to 3.10.15.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agomaint: Build binary tarball without '-K'.
Ludovic Courtès [Fri, 17 Apr 2020 09:09:30 +0000 (11:09 +0200)]
maint: Build binary tarball without '-K'.

This is a followup to 8b292ffd3cd969286ee9cbdb70fde8cf384b9b8b.

* Makefile.am (guix-binary.%.tar.xz): Remove '-K' to allow for offloading.

4 years agodoc: Replace incorrect uses of @var with @code.
Ludovic Courtès [Fri, 17 Apr 2020 09:06:38 +0000 (11:06 +0200)]
doc: Replace incorrect uses of @var with @code.

@var is for meta-syntactic variables but it is used in some places for
mere variables, which is incorrect and leads to inconsistent layout in
PDF and HTML.

* doc/guix.texi (package Reference, The Store Monad)
(G-Expressions, operating-system Reference)
(File Systems, Base Services, Log Rotation)
(Networking Services, Invoking guix deploy): Replace incorrect uses of
@var with @code.

4 years agognu: dovecot: Add libunwind input for arm.
Pierre Langlois [Sat, 11 Apr 2020 15:34:01 +0000 (16:34 +0100)]
gnu: dovecot: Add libunwind input for arm.

* gnu/packages/mail.scm (dovecot)[inputs]: Add libunwind when targetting arm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
4 years agognu: khard: Move propagated-inputs to inputs.
Efraim Flashner [Fri, 17 Apr 2020 07:47:35 +0000 (10:47 +0300)]
gnu: khard: Move propagated-inputs to inputs.

As a package one would install we can rely on wrapping the package and
not propagating inputs to make it work correctly.

* gnu/packages/mail.scm (khard)[propagated-inputs]: Move all python
packages ...
[inputs]: ... to here.

4 years agognu: khal: Move propagated inputs to inputs.
Efraim Flashner [Fri, 17 Apr 2020 07:42:41 +0000 (10:42 +0300)]
gnu: khal: Move propagated inputs to inputs.

As a package one would install we can rely on wrapping the package and
not propagating inputs to make it work correctly.

* gnu/packages/calendar.scm (khal)[propagated-inputs]: Move all python
packages...
[inputs]: ... to here.

4 years agognu: khal: Fix build with python-urwid-2.1.0.
Efraim Flashner [Fri, 17 Apr 2020 07:40:17 +0000 (10:40 +0300)]
gnu: khal: Fix build with python-urwid-2.1.0.

* gnu/packages/calendar.scm (khal)[source]: Download upstream patch to
fix compatibility with newer python-urwid.

4 years agognu: diffoscope.scm: Add missing import.
Christopher Baines [Fri, 17 Apr 2020 06:33:37 +0000 (07:33 +0100)]
gnu: diffoscope.scm: Add missing import.

This follows on from 2d9886f7e8838d6aeb0cfb20a2a49fc7d8fb233c.

* gnu/packages/diffoscope.scm: Import (gnu packages maths).

4 years agognu: diffoscope: Update to 141.
Vagrant Cascadian [Thu, 16 Apr 2020 19:28:16 +0000 (12:28 -0700)]
gnu: diffoscope: Update to 141.

* gnu/packages/diffoscope (diffoscope): Update to 141.
  [arguments]: Add phase add-known-tools.
  [native-inputs]: Add hdf5.

4 years agognu: disorderfs: Update to 0.5.9.
Vagrant Cascadian [Fri, 17 Apr 2020 02:34:59 +0000 (19:34 -0700)]
gnu: disorderfs: Update to 0.5.9.

* gnu/packages/file-systems (disorderfs): Update to 0.5.9.

4 years agognu: python-jedi: Fix test failure on some file systems.
Marius Bakke [Thu, 16 Apr 2020 22:51:48 +0000 (00:51 +0200)]
gnu: python-jedi: Fix test failure on some file systems.

Reported by sirgazil on #guix.

* gnu/packages/patches/python-jedi-sort-project-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-xyz.scm (python-jedi)[source](patches): Add it.
[arguments]: Run tests more verbosely while at it.

4 years agognu: xournalpp: Remove outdated comments.
Nicolas Goaziou [Thu, 16 Apr 2020 21:43:50 +0000 (23:43 +0200)]
gnu: xournalpp: Remove outdated comments.

* gnu/packages/pdf.scm (xournalpp): Remove outdated comments.  This is
a followup to 9cb2f28c5a737576ec28099d69aa35ff687e7778.

4 years agodoc: Document building and installing from JSON files.
Ricardo Wurmus [Thu, 16 Apr 2020 20:22:51 +0000 (22:22 +0200)]
doc: Document building and installing from JSON files.

* doc/guix.texi (Invoking guix package): Augment pargraphs for
"--install-from-file".
(Invoking guix build): Document building from JSON files.
* doc/package-hello.json: New file.
* doc/local.mk (EXTRA_DIST): Add it.

4 years agoimport/print: Don't factorize URI if there's no version match.
Ricardo Wurmus [Thu, 16 Apr 2020 20:09:41 +0000 (22:09 +0200)]
import/print: Don't factorize URI if there's no version match.

* guix/import/print.scm (package->code): If FACTORIZE-URI returns just the
unmodified string use that as the URI.

4 years agoimport/utils: alist->package: Include arguments.
Ricardo Wurmus [Thu, 16 Apr 2020 19:44:21 +0000 (21:44 +0200)]
import/utils: alist->package: Include arguments.

* guix/import/utils.scm (alist->package): Process arguments field in input
data and include it in the generated package.

4 years agoimport/json: json->code: Handle files with more than one definition.
Ricardo Wurmus [Tue, 14 Apr 2020 22:43:39 +0000 (00:43 +0200)]
import/json: json->code: Handle files with more than one definition.

* guix/import/json.scm (json->code): Convert JSON arrays to lists of package
definitions.
(json->scheme-file): Write all expressions to the target file.

4 years agoimport/utils: alist->package: Ignore known inputs.
Ricardo Wurmus [Tue, 14 Apr 2020 22:41:03 +0000 (00:41 +0200)]
import/utils: alist->package: Ignore known inputs.

* guix/import/utils.scm (alist->package): Accept optional list of known
inputs, which are excluded from the specification lookup.
* guix/import/print.scm (package->code)[package-lists->code]: Handle inputs
which are just symbols.

4 years agoimport/print: package->code: Wrap S-expression in definition.
Ricardo Wurmus [Tue, 14 Apr 2020 22:39:45 +0000 (00:39 +0200)]
import/print: package->code: Wrap S-expression in definition.

* guix/import/print.scm (package->code): Return a definition, not just a
package expression.

4 years agoimport/json: Use json->code.
Ricardo Wurmus [Tue, 14 Apr 2020 22:38:15 +0000 (00:38 +0200)]
import/json: Use json->code.

* guix/import/json.scm (json->code): Export procedure.
* guix/scripts/import/json.scm (guix-import-json): Use json->code.

4 years agoscripts/package: Handle JSON files.
Ricardo Wurmus [Tue, 14 Apr 2020 16:02:26 +0000 (18:02 +0200)]
scripts/package: Handle JSON files.

* guix/scripts/package.scm (%options): Support loading from JSON files when
"install-from-file" is used.

4 years agoscripts/build: options->things-to-build: Handle .json files.
Ricardo Wurmus [Tue, 14 Apr 2020 16:01:49 +0000 (18:01 +0200)]
scripts/build: options->things-to-build: Handle .json files.

* guix/scripts/build.scm (options->things-to-build): Handle files that end on
.json.

4 years agoimport/json: Add json->scheme-file.
Ricardo Wurmus [Tue, 14 Apr 2020 16:01:11 +0000 (18:01 +0200)]
import/json: Add json->scheme-file.

* guix/import/json.scm (json->code, json->scheme-file): New procedures.

4 years agoimport/print: package->code: Wrap build system value in module reference.
Ricardo Wurmus [Tue, 14 Apr 2020 15:24:09 +0000 (17:24 +0200)]
import/print: package->code: Wrap build system value in module reference.

* guix/import/print.scm (package->code): Return build system value with
corresponding module.

4 years agoimport/print: Return license with prefix.
Ricardo Wurmus [Tue, 14 Apr 2020 15:23:33 +0000 (17:23 +0200)]
import/print: Return license with prefix.

* guix/import/print.scm (license->code): Prepend license: prefix.

4 years agognu: wireshark: Update to 3.2.3.
Nicolas Goaziou [Thu, 16 Apr 2020 19:59:50 +0000 (21:59 +0200)]
gnu: wireshark: Update to 3.2.3.

* gnu/packages/networking.scm (wireshark): Update to 3.2.3.

4 years agognu: python-hy: Update to 0.18.0.
Efraim Flashner [Thu, 16 Apr 2020 19:36:16 +0000 (22:36 +0300)]
gnu: python-hy: Update to 0.18.0.

* gnu/packages/python-xyz.scm (python-hy): Update to 0.18.0.
[arguments]: Make all phases return #t.
[propagated-inputs]: Remove python-clint, python-fastentrypoints. Add
python-colorama.
(python2-hy): Remove variable.

4 years agognu: python-icalendar: Update to 4.0.5.
Efraim Flashner [Thu, 16 Apr 2020 19:28:29 +0000 (22:28 +0300)]
gnu: python-icalendar: Update to 4.0.5.

* gnu/packages/python-xyz.scm (python-icalendar): Update to 4.0.5.

4 years agognu: toot: Update to 0.26.0.
Efraim Flashner [Thu, 16 Apr 2020 19:26:13 +0000 (22:26 +0300)]
gnu: toot: Update to 0.26.0.

* gnu/packages/mastodon.scm (toot): Update to 0.26.0.

4 years agognu: python-urwid: Update to 2.1.0.
Efraim Flashner [Thu, 16 Apr 2020 19:22:16 +0000 (22:22 +0300)]
gnu: python-urwid: Update to 2.1.0.

* gnu/packages/python-xyz.scm (python-urwid): Update to 2.1.0.

4 years agognu: python-vobject: Update to 0.9.6.1.
Efraim Flashner [Thu, 16 Apr 2020 19:19:07 +0000 (22:19 +0300)]
gnu: python-vobject: Update to 0.9.6.1.

* gnu/packages/python-xyz.scm (python-vobject): Update to 0.9.6.1.

4 years agognu: python-pyicu: Update to 2.4.3.
Efraim Flashner [Thu, 16 Apr 2020 19:14:15 +0000 (22:14 +0300)]
gnu: python-pyicu: Update to 2.4.3.

* gnu/packages/python-xyz.scm (python-pyicu): Update to 2.4.3.
[properties]: Remove field.
(python2-pyicu): Remove package customizations.

4 years agognu: khard: Update to 0.16.1.
Efraim Flashner [Thu, 16 Apr 2020 18:41:03 +0000 (21:41 +0300)]
gnu: khard: Update to 0.16.1.

* gnu/packages/mail.scm (khard): Update to 0.16.1.
[arguments]: Remove custom 'install-doc phase. Add 'install-completions
phase.

4 years agognu: xournalpp: Update to 1.0.18.
Nicolas Goaziou [Thu, 16 Apr 2020 19:38:55 +0000 (21:38 +0200)]
gnu: xournalpp: Update to 1.0.18.

* gnu/packages/pdf.scm (xournalpp): Update to 1.0.18.

4 years agoinstaller: Remove guile-newt definition.
Mathieu Othacehe [Thu, 16 Apr 2020 17:56:01 +0000 (19:56 +0200)]
installer: Remove guile-newt definition.

This is no longer necessary since 0.0.2 release of Guile-Newt.

* gnu/installer.scm (guile-newt): Remove variable.

4 years agognu: guile-newt: Update to 0.0.2.
Mathieu Othacehe [Thu, 16 Apr 2020 17:55:17 +0000 (19:55 +0200)]
gnu: guile-newt: Update to 0.0.2.

* gnu/packages/guile-xyz.scm (guile-newt): Update to 0.0.2,
[source]: remove Guile 3.0 snippet.