jackhill/guix/guix.git
3 years agognu: Use PACKAGE/INHERIT in more places.
Mark H Weaver [Wed, 17 Mar 2021 07:42:12 +0000 (03:42 -0400)]
gnu: Use PACKAGE/INHERIT in more places.

* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.

3 years agognu: gvfs: Add 'lint-hidden-cve' property.
Mark H Weaver [Tue, 16 Mar 2021 23:57:21 +0000 (19:57 -0400)]
gnu: gvfs: Add 'lint-hidden-cve' property.

* gnu/packages/gnome.scm (gvfs)[properties]: New field, marking
CVE-2019-12447, CVE-2019-12448, and CVE-2019-12449 as fixed.

3 years agognu: gnome-shell: Add 'lint-hidden-cve' property.
Mark H Weaver [Tue, 16 Mar 2021 23:53:49 +0000 (19:53 -0400)]
gnu: gnome-shell: Add 'lint-hidden-cve' property.

* gnu/packages/gnome.scm (gnome-shell)[properties]: New field, marking
CVE-2019-3820 as fixed.

3 years agognu: qemu: Enable reproducible builds.
Maxim Cournoyer [Tue, 16 Mar 2021 18:20:39 +0000 (14:20 -0400)]
gnu: qemu: Enable reproducible builds.

Fixes <https://issues.guix.gnu.org/47176>.  The solution was suggested by
bonzini on OFTC's #qemu channel.

* gnu/packages/virtualization.scm (qemu)[snippet]: Delete bundled meson copy.
[native-inputs]: Add meson-next.

3 years agognu: Add meson-next.
Maxim Cournoyer [Tue, 16 Mar 2021 18:19:43 +0000 (14:19 -0400)]
gnu: Add meson-next.

* gnu/packages/build-tools.scm (meson-next): New variable.

3 years agognu: mpg321: Fix CVE-2019-14247.
Kei Kebreau [Tue, 16 Mar 2021 16:03:12 +0000 (12:03 -0400)]
gnu: mpg321: Fix CVE-2019-14247.

* gnu/packages/patches/mpg321-CVE-2019-14247.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/mp3.scm (mpg321)[source]: Apply it.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
Signed-off-by: Leo Famulari <leo@famulari.name>
3 years agognu: varnish-modules: Update to 0.17.1 [fixes CVE-2021-28543].
Léo Le Bouter [Tue, 16 Mar 2021 17:41:34 +0000 (18:41 +0100)]
gnu: varnish-modules: Update to 0.17.1 [fixes CVE-2021-28543].

* gnu/packages/web.scm (varnish-modules): Update to 0.17.1.

3 years agonews: Add ‘de’ translation.
Florian Pelz [Tue, 16 Mar 2021 13:21:53 +0000 (14:21 +0100)]
news: Add ‘de’ translation.

3 years agognu: tor: Update to 0.4.5.7 [security fixes].
Efraim Flashner [Tue, 16 Mar 2021 13:26:33 +0000 (15:26 +0200)]
gnu: tor: Update to 0.4.5.7 [security fixes].

* gnu/packages/tor.scm (tor): Update to 0.4.5.7.

3 years agognu: snakemake: Add missing inputs.
Ricardo Wurmus [Tue, 16 Mar 2021 13:17:13 +0000 (14:17 +0100)]
gnu: snakemake: Add missing inputs.

* gnu/packages/python-xyz.scm (snakemake)[propagated-inputs]: Add
python-nbformat, python-pulp, and python-toposort.

3 years agognu: Add python-toposort.
Ricardo Wurmus [Tue, 16 Mar 2021 13:17:07 +0000 (14:17 +0100)]
gnu: Add python-toposort.

* gnu/packages/python-xyz.scm (python-toposort): New variable.

3 years agognu: Add python-pulp.
Ricardo Wurmus [Tue, 16 Mar 2021 13:16:57 +0000 (14:16 +0100)]
gnu: Add python-pulp.

* gnu/packages/python-xyz.scm (python-pulp): New variable.

3 years agognu: Add python-amply.
Ricardo Wurmus [Tue, 16 Mar 2021 13:16:44 +0000 (14:16 +0100)]
gnu: Add python-amply.

* gnu/packages/python-xyz.scm (python-amply): New variable.

3 years agognu: emacs-easy-kill: Update to 0.9.4.
Nicolas Goaziou [Tue, 16 Mar 2021 13:11:14 +0000 (14:11 +0100)]
gnu: emacs-easy-kill: Update to 0.9.4.

* gnu/packages/emacs-xyz.scm (emacs-easy-kill): Update to 0.9.4.

3 years agognu: emacs-leaf: Update to 4.4.0.
Nicolas Goaziou [Tue, 16 Mar 2021 13:10:17 +0000 (14:10 +0100)]
gnu: emacs-leaf: Update to 4.4.0.

* gnu/packages/emacs-xyz.scm (emacs-leaf): Update to 4.4.0.

3 years agognu: python-pikepdf: Update to 2.9.0.
Nicolas Goaziou [Tue, 16 Mar 2021 13:09:06 +0000 (14:09 +0100)]
gnu: python-pikepdf: Update to 2.9.0.

* gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.9.0.

3 years agognu: asymptote: Update to 2.70.
Nicolas Goaziou [Tue, 16 Mar 2021 13:06:40 +0000 (14:06 +0100)]
gnu: asymptote: Update to 2.70.

* gnu/packages/plotutils.scm (asymptote): Update to 2.70.

3 years agognu: b4: Fix setup.py version incompatibility.
Efraim Flashner [Tue, 9 Mar 2021 08:06:13 +0000 (10:06 +0200)]
gnu: b4: Fix setup.py version incompatibility.

* gnu/packages/version-control.scm (b4)[source]: Add snippet to not
require too specific of a version.

Reported-by: Kyle Meyer <kyle@kyleam.com>
3 years agognu: libmemcached: Disable test suite.
Maxim Cournoyer [Tue, 16 Mar 2021 02:48:35 +0000 (22:48 -0400)]
gnu: libmemcached: Disable test suite.

* gnu/packages/databases.scm (libmemcached): Disable test suite.  Removing
trailing #t.
[phases]{fix-configure}: Remove useless group in pattern.
{disable-failing-tests}: Remove phase.
{build-and-install-html-doc}: Order after the build phase.
[home-page]: Please 'guix lint'.

Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
3 years agognu: hisat2: Update to 2.2.1.
Ricardo Wurmus [Tue, 16 Mar 2021 10:03:58 +0000 (11:03 +0100)]
gnu: hisat2: Update to 2.2.1.

* gnu/packages/bioinformatics.scm (hisat2): Update to 2.2.1.
[source]: Fetch from git repository on Github.
[arguments]: Add phase to build manual; remove trailing #t from other phases.
[native-inputs]: Remove unzip.
[home-page]: Update.
[inputs]: Add python-wrapper.

3 years agognu: Remove MongoDB.
Léo Le Bouter [Fri, 12 Mar 2021 00:59:10 +0000 (01:59 +0100)]
gnu: Remove MongoDB.

mongodb 3.4.10 has unpatched CVEs and mongodb 3.4.24 has some files in the
release tarball under the SSPL, therefore we cannot provide mongodb while
upholding to good security standards.

It turns out feff80cec3c97a3df2c20d300be12d67f79d4f22 was right since while
the main license file wasnt altered to SSPL, some files in the tree contain
SSPL headers.

* gnu/packages/databases.scm (go-gopkg.in-mgo.v2): Remove.
* gnu/packages/databases.scm (mongo-tools): Remove.
* doc/guix.texi (mongodb-service-type): Remove.
* gnu/tests/databases.scm (%test-mongodb, %mongodb-os, run-mongodb-test):
Remove.
* gnu/services/databases.scm (mongodb-configuration, mongodb-configuration?,
mongodb-configuration-mongodb, mongodb-configuration-config-file,
mongodb-configuration-data-directory, mongodb-service-type,
%default-mongodb-configuration-file, %mongodb-accounts, mongodb-activation,
mongodb-shepherd-service): Remove.
* gnu/packages/databases.scm (mongodb): Remove.

3 years agognu: git: Fix git-manpages native input's hash.
Léo Le Bouter [Tue, 16 Mar 2021 09:58:36 +0000 (10:58 +0100)]
gnu: git: Fix git-manpages native input's hash.

This is a follow-up to commit ab9629b7c91ff7d6392a03512cfe442823267777.

* gnu/packages/version-control.scm (git)[native-inputs]: Fix git-manpages's
hash.

3 years agognu: git: Update to 2.31.0.
Léo Le Bouter [Tue, 16 Mar 2021 09:52:11 +0000 (10:52 +0100)]
gnu: git: Update to 2.31.0.

* gnu/packages/version-control.scm (git): Update to 2.31.0.

3 years agognu: python2-urllib3: Update to 1.26.4 [fixes CVE-2021-28363].
Léo Le Bouter [Tue, 16 Mar 2021 08:25:02 +0000 (09:25 +0100)]
gnu: python2-urllib3: Update to 1.26.4 [fixes CVE-2021-28363].

* gnu/packages/python-web.scm (python2-urllib3)[base]: Base off of
python-urllib3/fixed.

3 years agognu: python-urllib3: Update to 1.26.4 [fixes CVE-2021-28363].
Léo Le Bouter [Tue, 16 Mar 2021 07:56:51 +0000 (08:56 +0100)]
gnu: python-urllib3: Update to 1.26.4 [fixes CVE-2021-28363].

* gnu/packages/python-web.scm (python-urllib3/fixed): New variable.
(python-urllib3)[replacement]: Graft.

3 years agognu: tmsu: Improve installation.
Stefan Reichör [Mon, 15 Mar 2021 22:02:20 +0000 (23:02 +0100)]
gnu: tmsu: Improve installation.

* gnu/packages/file-systems.scm (tmsu)[arguments]: Don't install go
source files. Install binary as tmsu instead of TMSU.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agognu: glances: Update to 3.1.6.
Stefan Reichör [Mon, 15 Mar 2021 22:07:34 +0000 (23:07 +0100)]
gnu: glances: Update to 3.1.6.

* gnu/packages/python-xyz.scm (glances): Update to 3.1.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
3 years agosyscalls: mounts: Fix a matching bug.
Chris Marusich [Fri, 12 Mar 2021 07:19:30 +0000 (23:19 -0800)]
syscalls: mounts: Fix a matching bug.

On some systems, the columns in /proc/self/mountinfo look like this:

23 28 0:21 / /proc rw,nosuid,nodev,noexec,relatime shared:11 - proc proc rw

Before this change, the mounts procedure was written with the assumption that
the type and source could always be found in columns 8 and 9, respectively.
However, the proc(5) man page explains that there can be zero or more optional
fields starting at column 7 (e.g., "shared:11" above), so this assumption is
false in some situations.

* guix/build/syscalls.scm (mounts): Update the match pattern to use ellipsis
to match zero or more optional fields followed by a single hyphen.  Remove the
trailing ellipsis, since multiple ellipses are not allowed in the same level.
The proc(5) man page indicates that there are no additional columns, so it is
probably OK to match an exact number of columns at the end like this.

3 years agoRevert some commits that caused `guix pull` to fail.
Leo Famulari [Mon, 15 Mar 2021 23:48:52 +0000 (19:48 -0400)]
Revert some commits that caused `guix pull` to fail.

This reverts commits 821e6439212f8e94580674eaaff2ce6752cd3b18 through
8f9fd9b70c7bf166d96a4b1dc8b427f8cdf040b5.

Specifically, these commits caused the build failure of
guix-package-cache.drv like this:

------
(repl-version 0 1 1)
Generating package cache for '/gnu/store/vyz7q26kxxd4z70m24rkkqqhaizdla7g-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (r-biobase)) (value #f))

3 years agognu: r-biocparallel: Build reproducibly.
Ricardo Wurmus [Mon, 15 Mar 2021 22:31:58 +0000 (23:31 +0100)]
gnu: r-biocparallel: Build reproducibly.

* gnu/packages/bioconductor.scm (r-biocparallel)[arguments]: Add phase
"make-reproducible".

3 years agognu: r-delayedarray: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:09:04 +0000 (19:09 +0100)]
gnu: r-delayedarray: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-delayedarray): Move from here...
* gnu/packages/bioconductor.scm (r-delayedarray): ...to here.

3 years agognu: r-rsamtools: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:09:03 +0000 (19:09 +0100)]
gnu: r-rsamtools: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-rsamtools): Move from here...
* gnu/packages/bioconductor.scm (r-rsamtools): ...to here.

3 years agognu: r-biostrings: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:09:02 +0000 (19:09 +0100)]
gnu: r-biostrings: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biostrings): Move from here...
* gnu/packages/bioconductor.scm (r-biostrings): ...to here.

3 years agognu: r-biocparallel: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:09:01 +0000 (19:09 +0100)]
gnu: r-biocparallel: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biocparallel): Move from here...
* gnu/packages/bioconductor.scm (r-biocparallel): ...to here.

3 years agognu: r-biomart: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:09:00 +0000 (19:09 +0100)]
gnu: r-biomart: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biomart): Move from here...
* gnu/packages/bioconductor.scm (r-biomart): ...to here.

3 years agognu: r-annotationdbi: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:08:59 +0000 (19:08 +0100)]
gnu: r-annotationdbi: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-annotationdbi): Move from here...
* gnu/packages/bioconductor.scm (r-annotationdbi): ...to here.

3 years agognu: r-biobase: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:08:58 +0000 (19:08 +0100)]
gnu: r-biobase: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biobase): Move from here...
* gnu/packages/bioconductor.scm (r-biobase): ...to here.

3 years agognu: r-genomicranges: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:08:57 +0000 (19:08 +0100)]
gnu: r-genomicranges: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-genomicranges): Move from here...
* gnu/packages/bioconductor.scm (r-genomicranges): ...to here.

3 years agognu: r-xvector: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:08:56 +0000 (19:08 +0100)]
gnu: r-xvector: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-xvector): Move from here...
* gnu/packages/bioconductor.scm (r-xvector): ...to here.

3 years agognu: r-limma: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 18:08:55 +0000 (19:08 +0100)]
gnu: r-limma: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-limma): Move from here...
* gnu/packages/bioconductor.scm (r-limma): ...to here.

3 years agognu: dbus-c++: Fix command name in description.
Maxim Cournoyer [Tue, 9 Mar 2021 03:02:38 +0000 (22:02 -0500)]
gnu: dbus-c++: Fix command name in description.

* gnu/packages/glib.scm (dbus-c++)[description]: Fix command prefix in
description, and mention the second command installed as well.

3 years agonews: Add news entry about changes to the QEMU binfmt service.
Maxim Cournoyer [Mon, 15 Mar 2021 03:39:52 +0000 (23:39 -0400)]
news: Add news entry about changes to the QEMU binfmt service.

* etc/news.scm: Add entry.

3 years agognu: qemu: Update to 5.2.0.
Leo Famulari [Sat, 28 Nov 2020 05:33:13 +0000 (00:33 -0500)]
gnu: qemu: Update to 5.2.0.

* gnu/packages/virtualization.scm (qemu): Update to 5.2.0.
[source]: Re-indent and break long lines, to appease 'guix lint'.
[arguments]{disable-unusable-tests}: Adjust for the new Meson build
system.  Remove patching for a test workaround that has been resolved in
5.2.0.
{patch-test-shebangs, patch-/bin/sh-references}: Combine into...
{patch-embedded-shebangs}: ... this new phase.  Patch the SHELL variable in
the Makefile.
{fix-optionrom-makefile}: New phase.
{install-user-static}: Adjust as the binaries are now symbolic links pointing to their
actual build path.
[native-inputs]: Add ninja.
* gnu/packages/patches/qemu-build-info-manual.patch: Update patch.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
3 years agoservices/qemu-binfmt: Use the F flag and the static output of QEMU.
Maxim Cournoyer [Mon, 22 Feb 2021 13:55:39 +0000 (08:55 -0500)]
services/qemu-binfmt: Use the F flag and the static output of QEMU.

Fixes <https://issues.guix.gnu.org/36117>.

Before this change, the 'binfmt_misc' entries registered for QEMU would not be
usable in container contexts outside of guix-daemon (without manually bind
mounting file names).

For example:

$ docker run --rm arm32v7/debian true
standard_init_linux.go:207: exec user process caused "no such file or directory"

After this change, any container can make use of the QEMU binfmt_misc
registrations, as their corresponding QEMU static binaries are fully
pre-loaded by the kernel.

* gnu/services/virtualization.scm (<qemu-platform>): Define using
'define-record-type*'.
[flags]: New field, which defaults to "F" (fix binary).
(%i386, %i486, %alpha, %arm, %armeb, %sparc, %sparc32plus, %ppc, %ppc64)
(%ppc64le, %m68k, %mips, %mipsel, %mipsn32, %mipsn32el, %mips64, %mips64el)
(%riscv32, %riscv64, %sh4, %sh4eb, %s390x, %aarch64, %hppa): Adjust.
(qemu-binfmt-guix-chroot): Remove variable.
(qemu-binfmt-service-type): Remove the qemu-binfmt-guix-chroot extension.
* gnu/services/qemu-binfmt (qemu-platform->binfmt):  Use the static output of
QEMU.
* doc/contributing.texi (Submitting Patches): Update doc.
* doc/guix.texi (Virtualization Services): Update doc.

3 years agognu: qemu: Add a static output.
Maxim Cournoyer [Mon, 22 Feb 2021 02:16:39 +0000 (21:16 -0500)]
gnu: qemu: Add a static output.

The static output is equivalent to what other distributions commonly package
as 'qemu-user-static'.

* gnu/packages/virtualization.scm (qemu)[outputs]: Add a static output.
[phases]{configure}: Configure the main build as an out-of-source build.  Move
all configure flags to ...
[configure-flags]: ... here.  The options explicitly enabling optional
features are removed; the configure script does a good job at enabling all the
features available based on the inputs present and this allows reusing the
flags in variant packages such as qemu-minimal.
{configure-user-static, build-user-static, install-user-static}: New phases.
{patch-test-shebangs}: New phase, extracted from the configure phase.
[native-inputs]: Add glib-static, pcre:static and zlib:static.
(qemu-minimal)[arguments]: Reuse the configure-flags argument.  Rewrite to use
match instead of cond.

3 years agognu: Add glib-static.
Maxim Cournoyer [Sat, 20 Feb 2021 19:55:37 +0000 (14:55 -0500)]
gnu: Add glib-static.

* gnu/packages/glib.scm (glib-static): New variable.

3 years agognu: qemu: Fix indentation and remove trailing #t.
Maxim Cournoyer [Sat, 20 Feb 2021 18:27:58 +0000 (13:27 -0500)]
gnu: qemu: Fix indentation and remove trailing #t.

* gnu/packages/virtualization.scm (qemu): Fix indentation and remove
trailing #t, appeasing 'guix lint'.

3 years agognu: r-seurat: Fix build.
Ricardo Wurmus [Mon, 15 Mar 2021 21:05:43 +0000 (22:05 +0100)]
gnu: r-seurat: Fix build.

This is a follow-up to commit e4d4046999304a3693da80cf0fdfe5fd5753b2b7

* gnu/packages/cran.scm (r-seurat)[arguments]: Patch NAMESPACE file.

3 years agognu: xterm: Fix uxterm in pure environments.
Tobias Geerinckx-Rice [Sun, 14 Mar 2021 11:42:44 +0000 (12:42 +0100)]
gnu: xterm: Fix uxterm in pure environments.

* gnu/packages/xorg.scm (xterm)[arguments]: Add a 'patch-file-names
phase.

3 years agognu: sudo: Update to 1.9.6p1.
Tobias Geerinckx-Rice [Mon, 15 Mar 2021 19:31:12 +0000 (20:31 +0100)]
gnu: sudo: Update to 1.9.6p1.

* gnu/packages/admin.scm (sudo): Update to 1.9.6p1.

3 years agognu: ibus-libpinyin: Update to 1.12.0.
Ricardo Wurmus [Mon, 15 Mar 2021 14:24:01 +0000 (15:24 +0100)]
gnu: ibus-libpinyin: Update to 1.12.0.

* gnu/packages/ibus.scm (ibus-libpinyin): Update to 1.12.0.
[arguments]: Enable opencc; include setup files on PYTHONPATH; override
PYTHONPATH instead of prefixing.
[inputs]: Add opencc; remove python-pyxdg.
[license]: Change to GPLv3+.

3 years agognu: libpinyin: Update to 2.6.0.
Ricardo Wurmus [Mon, 15 Mar 2021 14:23:50 +0000 (15:23 +0100)]
gnu: libpinyin: Update to 2.6.0.

* gnu/packages/ibus.scm (libpinyin): Update to 2.6.0.

3 years agognu: r-genomicfeatures: Update to 1.42.2.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:43 +0000 (15:02 +0100)]
gnu: r-genomicfeatures: Update to 1.42.2.

* gnu/packages/bioinformatics.scm (r-genomicfeatures): Update to 1.42.2.

3 years agognu: r-delayedarray: Update to 0.16.2.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:40 +0000 (15:02 +0100)]
gnu: r-delayedarray: Update to 0.16.2.

* gnu/packages/bioinformatics.scm (r-delayedarray): Update to 0.16.2.

3 years agognu: r-scater: Update to 1.18.6.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:36 +0000 (15:02 +0100)]
gnu: r-scater: Update to 1.18.6.

* gnu/packages/bioconductor.scm (r-scater): Update to 1.18.6.

3 years agognu: r-cytoml: Update to 2.2.2.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:33 +0000 (15:02 +0100)]
gnu: r-cytoml: Update to 2.2.2.

* gnu/packages/bioconductor.scm (r-cytoml): Update to 2.2.2.
[inputs]: Add zlib.

3 years agognu: r-diffbind: Update to 3.0.14.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:29 +0000 (15:02 +0100)]
gnu: r-diffbind: Update to 3.0.14.

* gnu/packages/bioconductor.scm (r-diffbind): Update to 3.0.14.

3 years agognu: r-reportingtools: Update to 2.30.2.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:26 +0000 (15:02 +0100)]
gnu: r-reportingtools: Update to 2.30.2.

* gnu/packages/bioconductor.scm (r-reportingtools): Update to 2.30.2.

3 years agognu: r-genomeinfodb: Update to 1.26.4.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:23 +0000 (15:02 +0100)]
gnu: r-genomeinfodb: Update to 1.26.4.

* gnu/packages/bioconductor.scm (r-genomeinfodb): Update to 1.26.4.

3 years agognu: r-deseq2: Update to 1.30.1.
Ricardo Wurmus [Mon, 15 Mar 2021 14:02:16 +0000 (15:02 +0100)]
gnu: r-deseq2: Update to 1.30.1.

* gnu/packages/bioconductor.scm (r-deseq2): Update to 1.30.1.

3 years agognu: alacritty: Use more packaged rust libraries.
Efraim Flashner [Mon, 15 Mar 2021 13:14:02 +0000 (15:14 +0200)]
gnu: alacritty: Use more packaged rust libraries.

* gnu/packages/terminals.scm (alacritty)[arguments]: Move
rust-bitflags-1, rust-dirs-2, rust-libc-0.2, rust-unicode-width-0.1,
rust-winapi-0.3 from cargo-inputs ...
[inputs]: ... to here.

3 years agognu: rust-dirs-2: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 13:12:32 +0000 (15:12 +0200)]
gnu: rust-dirs-2: Adapt for new build system.

* gnu/packages/crates-io.scm (rust-dirs-2)[inputs]: Add rust-cfg-if-0.1,
rust-dirs-sys-0.3.

3 years agognu: rust-dirs-sys-0.3: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 13:11:52 +0000 (15:11 +0200)]
gnu: rust-dirs-sys-0.3: Adapt for new build system.

* gnu/packages/crates-io.scm (rust-dirs-sys-0.3)[inputs]: Add
rust-cfg-if-0.1, rust-libc-0.2, rust-redox-users-0.3, rust-winapi-0.3.

3 years agognu: rust-lazy-static-1: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:52:06 +0000 (14:52 +0200)]
gnu: rust-lazy-static-1: Adapt for new build system.

* gnu/packages/crates-io.scm (rust-lazy-static-1)[inputs]: Add
rust-spin-0.5.

3 years agognu: alacritty: Use packaged rust-wayland-client.
Efraim Flashner [Mon, 15 Mar 2021 12:47:23 +0000 (14:47 +0200)]
gnu: alacritty: Use packaged rust-wayland-client.

* gnu/packages/terminals.scm (alacritty)[arguments]: Remove
rust-wayland-client-0.28 from cargo-inputs. In custom
'add-absolute-library-references remove substitutions for
rust-wayland-client.
[inputs]: Add rust-wayland-client-0.28.

3 years agognu: rust-glutin-0.26: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:45:37 +0000 (14:45 +0200)]
gnu: rust-glutin-0.26: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-glutin-0.26)
[arguments]: Don't skip build. Remove rust-wayland-client-0.28 from
cargo-inputs.
[inputs]: Add rust-wayland-client-0.28, rust-wayland-egl-0.28.

3 years agognu: rust-winit-0.24: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:43:57 +0000 (14:43 +0200)]
gnu: rust-winit-0.24: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-winit-0.24)[arguments]: Move
rust-wayland-client-0.28 from cargo-inputs ...
[inputs]: ... to here.

3 years agognu: rust-wayland-server-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:42:46 +0000 (14:42 +0200)]
gnu: rust-wayland-server-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-server-0.28)
[arguments]: Don't skip build. Remove rust-wayland-commons-0.28,
rust-wayland-scanner-0.28, rust-wayland-sys-0.28 from cargo-inputs.
[inputs]: Add rust-bitflags-1, rust-downcast-rs-1, rust-lazy-static-1,
rust-libc-0.2, rust-nix-0.18, rust-parking-lot-0.18, rust-scoped-tls-1,
rust-wayland-commons-0.28, rust-wayland-scanner-0.28,
rust-wayland-sys-0.28.
(rust-wayland-server-0.23): Adjust accordingly.

3 years agognu: rust-wayland-scanner-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:40:29 +0000 (14:40 +0200)]
gnu: rust-wayland-scanner-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-scanner-0.28):
[arguments]: Don't skip build. Remove cargo-inputs.
[inputs]: Add rust-proc-macro2-1, rust-quote-1, rust-xml-rs-0.8.
(rust-wayland-scanner-0.23): Adjust accordingly.

3 years agognu: rust-wayland-protocols-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:38:36 +0000 (14:38 +0200)]
gnu: rust-wayland-protocols-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-protocols-0.28)
[arguments]: Don't skip build. Remove everything from cargo-inputs
except rust-bitflags-1.
[inputs]: Add rust-bitflags-1, rust-wayland-client-0.28,
rust-wayland-commons-0.28, rust-wayland-scanner-0.28,
rust-wayland-server-0.28.
(rust-wayland-protocols-0.23): Adjust accordingly.

3 years agognu: rust-wayland-egl-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:36:55 +0000 (14:36 +0200)]
gnu: rust-wayland-egl-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-egl-0.28)
[arguments]: Don't skip build. Remove cargo-inputs.
[inputs]: Add rust-wayland-client-0.28, rust-wayland-sys-0.28.
[native-inputs]: Add pkg-config.

3 years agognu: rust-wayland-cursor-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:35:39 +0000 (14:35 +0200)]
gnu: rust-wayland-cursor-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-cursor-0.28)
[arguments]: Don't skip build. Remove rust-wayland-client-0.28 from
cargo-inputs.
[inputs]: Add rust-nix-0.18, rust-wayland-client-0.28, rust-xcursor-0.3.

3 years agognu: rust-wayland-client-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:34:08 +0000 (14:34 +0200)]
gnu: rust-wayland-client-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-client-0.28)
[arguments]: Don't skip build. Remove rust-wayland-commons-0.28,
rust-wayland-scanner-0.28, rust-wayland-sys-0.28 from cargo-inputs.
[inputs]: Add rust-bitflags-1, rust-downcast-rs-1, rust-libc-0.2,
rust-nix-0.18, rust-scoped-tls-1, rust-wayland-commons-0.28,
rust-wayland-scanner-0.28, rust-wayland-sys-0.28.
(rust-wayland-client-0.23): Adjust accordingly.

3 years agognu: rust-wayland-commons-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:31:12 +0000 (14:31 +0200)]
gnu: rust-wayland-commons-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-commons-0.28)
[arguments]: Don't skip build. Remove rust-wayland-sys-0.28 from
cargo-inputs.
[inputs]: Add rust-nix-0.18, rust-once-cell-1, rust-smallvec-1,
rust-wayland-sys-0.28.
(rust-wayland-commons-0.23): Adjust accordingly.

3 years agognu: rust-libloading-0.6: Update to 0.6.7.
Efraim Flashner [Mon, 15 Mar 2021 12:28:27 +0000 (14:28 +0200)]
gnu: rust-libloading-0.6: Update to 0.6.7.

* gnu/packages/crates-io.scm (rust-libloading-0.6): Update to 0.6.
[arguments]: Replace rust-cfg-if-0.1 with 1.
[inputs]: Add rust-cfg-if-1, rust-winapi-0.3.

3 years agognu: dlib-0.4: Update to 0.4.2.
Efraim Flashner [Mon, 15 Mar 2021 12:27:08 +0000 (14:27 +0200)]
gnu: dlib-0.4: Update to 0.4.2.

* gnu/packages/crates-io.scm (rust-dlib-0.4): Update to 0.4.2.
[arguments]: Replace rust-libloading-0.5 with 0.6.
[inputs]: Add rust-libloading-0.6.

3 years agognu: rust-proc-macro2-1: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:25:03 +0000 (14:25 +0200)]
gnu: rust-proc-macro2-1: Adapt for new build system.

* gnu/packages/crates-io.scm (rust-proc-macro2-1)[inputs]: Add
rust-unicode-xid-0.2.

3 years agognu: rust-winapi-0.3: Adjust for new build system.
Efraim Flashner [Mon, 15 Mar 2021 12:24:08 +0000 (14:24 +0200)]
gnu: rust-winapi-0.3: Adjust for new build system.

* gnu/packages/crates-io.scm (rust-winapi-0.3)[inputs]: Add
rust-winapi-i686-pc-windows-gnu, rust-winapi-x86-64-pc-windows-gnu.

3 years agognu: rust-pkg-config-0.3: Hardcode location of pkg-config.
Efraim Flashner [Mon, 15 Mar 2021 12:22:52 +0000 (14:22 +0200)]
gnu: rust-pkg-config-0.3: Hardcode location of pkg-config.

* gnu/packages/crates-io.scm (rust-pkg-config-0.3)[arguments]: Add phase
to hardcode location of pkg-config binary.

3 years agognu: rust-pkg-config-0.3: Update to 0.3.19.
Efraim Flashner [Mon, 15 Mar 2021 12:21:49 +0000 (14:21 +0200)]
gnu: rust-pkg-config-0.3: Update to 0.3.19.

* gnu/packages/crates-io.scm (rust-pkg-config-0.3): Update to 0.3.19.

3 years agognu: rust-wayland-sys-0.28: Adapt for new build system.
Efraim Flashner [Mon, 15 Mar 2021 11:09:12 +0000 (13:09 +0200)]
gnu: rust-wayland-sys-0.28: Adapt for new build system.

* gnu/packages/crates-graphics.scm (rust-wayland-sys-0.28)[arguments]:
Don't skip build. Add phase to refer explicitly to wayland libraries.
[inputs]: Add rust-dlib-0.4, rust-lazy-static-1, rust-libc-0.2,
rust-pkg-config-0.3.
[propagated-inputs]: Add wayland.
(rust-wayland-sys-0.23): Adjust accordingly.

3 years agognu: rust-quote-1: Update to 1.0.9.
Efraim Flashner [Mon, 15 Mar 2021 11:05:17 +0000 (13:05 +0200)]
gnu: rust-quote-1: Update to 1.0.9.

* gnu/packages/crates-io.scm (rust-quote-1): Update to 1.0.9.

3 years agobuild-system/cargo: Don't clobber packaged crates while building.
Efraim Flashner [Mon, 15 Mar 2021 11:04:46 +0000 (13:04 +0200)]
build-system/cargo: Don't clobber packaged crates while building.

This fixes an issue where two packages share a common dependent.

* guix/build/cargo-build-system.scm (unpack-rust-crates): Only copy rust
crates into the target directory if there isn't one already there with
the same name.

3 years agognu: r-variantannotation: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:58 +0000 (14:01 +0100)]
gnu: r-variantannotation: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-variantannotation): Move from here...
* gnu/packages/bioconductor.scm (r-variantannotation): ...to here.

3 years agognu: r-edger: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:34 +0000 (14:01 +0100)]
gnu: r-edger: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-edger): Move from here...
* gnu/packages/bioconductor.scm (r-edger): ...to here.

3 years agognu: r-genomeinfodb: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:33 +0000 (14:01 +0100)]
gnu: r-genomeinfodb: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-genomeinfodb): Move from here...
* gnu/packages/bioconductor.scm (r-genomeinfodb): ...to here.

3 years agognu: r-genomeinfodbdata: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:32 +0000 (14:01 +0100)]
gnu: r-genomeinfodbdata: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-genomeinfodbdata): Move from here...
* gnu/packages/bioconductor.scm (r-genomeinfodbdata): ...to here.
[source]: Use 'bioconductor-uri'.

3 years agognu: r-iranges: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:31 +0000 (14:01 +0100)]
gnu: r-iranges: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-iranges): Move from here...
* gnu/packages/bioconductor.scm (r-iranges): ...to here.

3 years agognu: r-s4vectors: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:30 +0000 (14:01 +0100)]
gnu: r-s4vectors: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-s4vectors): Move from here...
* gnu/packages/bioconductor.scm (r-s4vectors): ...to here.

3 years agognu: r-bioccheck: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:29 +0000 (14:01 +0100)]
gnu: r-bioccheck: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-bioccheck): Move from here...
* gnu/packages/bioconductor.scm (r-bioccheck): ...to here.

3 years agognu: r-grohmm: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:26 +0000 (14:01 +0100)]
gnu: r-grohmm: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-grohmm): Move from here...
* gnu/packages/bioconductor.scm (r-grohmm): ...to here.

3 years agognu: r-biocstyle: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:28 +0000 (14:01 +0100)]
gnu: r-biocstyle: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biocstyle): Move from here...
* gnu/packages/bioconductor.scm (r-biocstyle): ...to here.

3 years agognu: r-biocviews: Move to (gnu packages bioconductor).
zimoun [Mon, 15 Mar 2021 13:01:27 +0000 (14:01 +0100)]
gnu: r-biocviews: Move to (gnu packages bioconductor).

* gnu/packages/bioinformatics.scm (r-biocviews): Move from here...
* gnu/packages/bioconductor.scm (r-biocviews): ...to here.

3 years agognu: r-rsqlite: Update to 2.2.4.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:24 +0000 (13:42 +0100)]
gnu: r-rsqlite: Update to 2.2.4.

* gnu/packages/statistics.scm (r-rsqlite): Update to 2.2.4.

3 years agognu: r-rcpparmadillo: Update to 0.10.2.2.0.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:20 +0000 (13:42 +0100)]
gnu: r-rcpparmadillo: Update to 0.10.2.2.0.

* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.10.2.2.0.

3 years agognu: r-formatr: Update to 1.8.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:17 +0000 (13:42 +0100)]
gnu: r-formatr: Update to 1.8.

* gnu/packages/statistics.scm (r-formatr): Update to 1.8.
[native-inputs]: Add r-knitr.

3 years agognu: r-survival: Update to 3.2-9.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:13 +0000 (13:42 +0100)]
gnu: r-survival: Update to 3.2-9.

* gnu/packages/statistics.scm (r-survival): Update to 3.2-9.

3 years agognu: r-textshaping: Update to 0.3.2.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:10 +0000 (13:42 +0100)]
gnu: r-textshaping: Update to 0.3.2.

* gnu/packages/cran.scm (r-textshaping): Update to 0.3.2.

3 years agognu: r-mlr3tuning: Update to 0.8.0.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:07 +0000 (13:42 +0100)]
gnu: r-mlr3tuning: Update to 0.8.0.

* gnu/packages/cran.scm (r-mlr3tuning): Update to 0.8.0.

3 years agognu: r-bbotk: Update to 0.3.1.
Ricardo Wurmus [Mon, 15 Mar 2021 12:42:04 +0000 (13:42 +0100)]
gnu: r-bbotk: Update to 0.3.1.

* gnu/packages/cran.scm (r-bbotk): Update to 0.3.1.