jackhill/guix/guix.git
2 years agognu: python-robotframework: Fully build the documentation.
Maxim Cournoyer [Wed, 9 Mar 2022 19:16:54 +0000 (14:16 -0500)]
gnu: python-robotframework: Fully build the documentation.

* gnu/packages/patches/python-robotframework-ug2html.patch: New patch.
* gnu/local.mk: Register it.
* gnu/packages/python-xyz.scm (python-robotframework): Apply patch.
[modules]: New argument.
[phases]{build-and-install-doc}: Modify to build the full HTML documentation,
including the user guide.
[native-inputs]: Add python-pygments.

2 years agognu: Add python-trio-websocket.
Maxim Cournoyer [Wed, 9 Mar 2022 13:36:16 +0000 (08:36 -0500)]
gnu: Add python-trio-websocket.

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

2 years agognu: python-jedi: Remove optional test dependency on python-django-2.2.
Maxim Cournoyer [Wed, 9 Mar 2022 03:56:43 +0000 (22:56 -0500)]
gnu: python-jedi: Remove optional test dependency on python-django-2.2.

This avoids a dependency cycle between python-selenium (4.1.0) and
python-pytest-trio.

* gnu/packages/python-xyz.scm (python-jedi)[native-inputs]: Remove
python-django-2.2.

2 years agognu: python-robotframework-sshlibrary: Patch for RobotFramework 5 compatibility.
Maxim Cournoyer [Wed, 9 Mar 2022 01:51:35 +0000 (20:51 -0500)]
gnu: python-robotframework-sshlibrary: Patch for RobotFramework 5 compatibility.

* gnu/packages/patches/python-robotframework-sshlibrary-rf5-compat.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-robotframework-sshlibrary): Apply it.

2 years agognu: emacs-embark: Update to 0.16.
Nicolas Goaziou [Wed, 9 Mar 2022 20:15:48 +0000 (21:15 +0100)]
gnu: emacs-embark: Update to 0.16.

* gnu/packages/emacs-xyz.scm (emacs-embark): Update to 0.16.

2 years agognu: bombadillo: Improve package style.
Nicolas Goaziou [Wed, 9 Mar 2022 14:34:23 +0000 (15:34 +0100)]
gnu: bombadillo: Improve package style.

* gnu/packages/web-browsers.scm (bombadillo)[arguments]: Use G-expressions.
Remove trailing #T from phases.

2 years agognu: bombadillo: Update to 2.4.0.
Nicolas Goaziou [Wed, 9 Mar 2022 14:33:21 +0000 (15:33 +0100)]
gnu: bombadillo: Update to 2.4.0.

* gnu/packages/web-browsers.scm (bombadillo): Update to 2.4.0.

2 years agognu: lagrange: Update to 1.11.1.
Nicolas Goaziou [Wed, 9 Mar 2022 14:31:12 +0000 (15:31 +0100)]
gnu: lagrange: Update to 1.11.1.

* gnu/packages/web-browsers.scm (lagrange): Update to 1.11.1.
[inputs]: Add FREETYPE.

2 years agognu: asymptote: Update to 2.79.
Nicolas Goaziou [Wed, 9 Mar 2022 14:28:27 +0000 (15:28 +0100)]
gnu: asymptote: Update to 2.79.

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

2 years agognu: bzflag: Improve package style.
Nicolas Goaziou [Wed, 9 Mar 2022 14:16:30 +0000 (15:16 +0100)]
gnu: bzflag: Improve package style.

* gnu/packages/games.scm (bzflag)[arguments]: Remove trailing #T from
phases. Use G-expressions.

2 years agognu: bzflag: Update to 2.4.24.
Nicolas Goaziou [Wed, 9 Mar 2022 14:03:11 +0000 (15:03 +0100)]
gnu: bzflag: Update to 2.4.24.

* gnu/packages/games.scm (bzflag): Update to 2.4.24.

2 years agognu: emacs-add-node-modules-path: Update to 1.3.0.
Nicolas Goaziou [Wed, 9 Mar 2022 13:47:28 +0000 (14:47 +0100)]
gnu: emacs-add-node-modules-path: Update to 1.3.0.

* gnu/packages/emacs-xyz.scm (emacs-add-node-modules-path): Update to 1.3.0.

2 years agognu: emacs-geiser: Update to 0.23.
Nicolas Goaziou [Wed, 9 Mar 2022 13:45:29 +0000 (14:45 +0100)]
gnu: emacs-geiser: Update to 0.23.

* gnu/packages/emacs-xyz.scm (emacs-geiser): Update to 0.23.

2 years agognu: emacs-vertico: Update to 0.21.
Nicolas Goaziou [Wed, 9 Mar 2022 12:27:35 +0000 (13:27 +0100)]
gnu: emacs-vertico: Update to 0.21.

* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.21.

2 years agognu: emacs-corfu: Update to 0.20.
Nicolas Goaziou [Wed, 9 Mar 2022 12:26:12 +0000 (13:26 +0100)]
gnu: emacs-corfu: Update to 0.20.

* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.20.

2 years agognu: Add r-scopeloomr.
Ricardo Wurmus [Wed, 9 Mar 2022 10:35:35 +0000 (11:35 +0100)]
gnu: Add r-scopeloomr.

* gnu/packages/bioinformatics.scm (r-scopeloomr): New variable.

2 years agognu: python-robotframework-sshlibrary: Update to 3.8.0.
Maxim Cournoyer [Tue, 8 Mar 2022 22:34:20 +0000 (17:34 -0500)]
gnu: python-robotframework-sshlibrary: Update to 3.8.0.

* gnu/packages/python-xyz.scm (python-robotframework-sshlibrary): Update to 3.8.0.

2 years agognu: python-robotframework: Update to 4.1.3.
Maxim Cournoyer [Tue, 8 Mar 2022 22:33:59 +0000 (17:33 -0500)]
gnu: python-robotframework: Update to 4.1.3.

* gnu/packages/python-xyz.scm (python-robotframework): Update to 4.1.3.
[phases]{check}: Honor TESTS?.  Search tzdata in both native-inputs or inputs,
for cross-compilation.

2 years agognu: emacs-tempel: Update to 0.3.
Nicolas Goaziou [Tue, 8 Mar 2022 22:54:26 +0000 (23:54 +0100)]
gnu: emacs-tempel: Update to 0.3.

* gnu/packages/emacs-xyz.scm (emacs-tempel): Update to 0.3.

2 years agognu: emacs-no-littering: Update to 1.2.6.
Nicolas Goaziou [Tue, 8 Mar 2022 22:52:58 +0000 (23:52 +0100)]
gnu: emacs-no-littering: Update to 1.2.6.

* gnu/packages/emacs-xyz.scm (emacs-no-littering): Update to 1.2.6.

2 years agognu: emacs-marginalia: Update to 0.13.
Nicolas Goaziou [Tue, 8 Mar 2022 22:43:36 +0000 (23:43 +0100)]
gnu: emacs-marginalia: Update to 0.13.

* gnu/packages/emacs-xyz.scm (emacs-marginalia): Update to 0.13.

2 years agognu: emacs-consult: Update to 0.16.
Nicolas Goaziou [Tue, 8 Mar 2022 22:39:40 +0000 (23:39 +0100)]
gnu: emacs-consult: Update to 0.16.

* gnu/packages/emacs-xyz.scm (emacs-consult): Update to 0.16.

2 years agognu: emacs-clojure-mode: Update to 5.14.0.
Nicolas Goaziou [Tue, 8 Mar 2022 22:38:29 +0000 (23:38 +0100)]
gnu: emacs-clojure-mode: Update to 5.14.0.

* gnu/packages/emacs-xyz.scm (emacs-clojure-mode): Update to 5.14.0.

2 years agognu: emacs-cider: Update to 1.3.0.
Nicolas Goaziou [Tue, 8 Mar 2022 22:30:57 +0000 (23:30 +0100)]
gnu: emacs-cider: Update to 1.3.0.

* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 1.3.0.

2 years agognu: emacs-cape: Update to 0.7.
Nicolas Goaziou [Tue, 8 Mar 2022 22:29:27 +0000 (23:29 +0100)]
gnu: emacs-cape: Update to 0.7.

* gnu/packages/emacs-xyz.scm (emacs-cape): Update to 0.7.

2 years agognu: stex-bootstrap: Guard against unsupported systems.
Liliana Marie Prikler [Tue, 8 Mar 2022 19:25:20 +0000 (20:25 +0100)]
gnu: stex-bootstrap: Guard against unsupported systems.

The current implementation of nix-system->chez-machine et al. is rather
brittle and fails in unexpected ways.  In the meantime while a better
replacement is being built, prevent falsy return values from causing errors,
such as a failing “guix pull”.  See <https://issues.guix.gnu.org/54292>.

* gnu/packages/chez.scm (stex-bootstrap)[maybe-compile]: Use and=> to only
call chez-machine->threaded if nix-system->chez-machine returns a truthy
value.

2 years agognu: gitg: Update to 41.
Liliana Marie Prikler [Sun, 6 Mar 2022 13:50:18 +0000 (14:50 +0100)]
gnu: gitg: Update to 41.

* gnu/packages/gnome.scm (gitg): Update to 41.
[arguments]: Drop ‘harden’ phase.
[inputs]: Replace gtkspell3 with gspell and gtksourceview-3 with gtksourceview.
[native-inputs]: Add python.

2 years agognu: gitg: Use new package style.
Liliana Marie Prikler [Sun, 6 Mar 2022 13:18:47 +0000 (14:18 +0100)]
gnu: gitg: Use new package style.

* gnu/packages/gnome.scm (gitg)[arguments]: Use G-expressions.
[native-inputs]: Drop labels.

2 years agognu: mumble: Enable tests.
Liliana Marie Prikler [Sat, 19 Feb 2022 15:37:51 +0000 (16:37 +0100)]
gnu: mumble: Enable tests.

* gnu/packages/telephony.scm (mumble)[#:tests?]: Drop argument.
[#:configure-flags]: Add “-Dtests=on”.

2 years agognu: mumble: Update to 1.4.230.
Liliana Marie Prikler [Sat, 19 Feb 2022 15:05:34 +0000 (16:05 +0100)]
gnu: mumble: Update to 1.4.230.

* gnu/packages/telephony.scm (find-python-interpreter-cmake-modules):
New variable.
(mumble): Update to 1.4.230.
[source]: Adjust uri and snippet accordingly.
[arguments]: Change to a list of G-expressions.
<#:configure-flags>: New argument.
<#:phases>: Drop ‘configure’ (moved to configure-flags).
Add ‘unpack-submodules’, ‘fix-settings-crash’ and ‘hardcode-pulseaudio’.
[inputs]: Add glib and poco.

2 years agognu: Add poco.
Liliana Marie Prikler [Sat, 19 Feb 2022 15:03:37 +0000 (16:03 +0100)]
gnu: Add poco.

* gnu/packages/cpp.scm (poco): New variable.

2 years agognu: opendht: Update to 2.3.4.
Maxim Cournoyer [Tue, 8 Mar 2022 18:21:20 +0000 (13:21 -0500)]
gnu: opendht: Update to 2.3.4.

* gnu/packages/networking.scm (opendht): Update to 2.3.4.

2 years agognu: icecat: Update to 91.7.0-guix0-preview1 [security fixes].
Mark H Weaver [Mon, 7 Mar 2022 23:39:08 +0000 (18:39 -0500)]
gnu: icecat: Update to 91.7.0-guix0-preview1 [security fixes].

Includes fixes for CVE-2022-26381, CVE-2022-26383, CVE-2022-26384,
CVE-2022-26386, and CVE-2022-26387.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.

2 years agoRevert "gnu: socat: Update to 1.7.4.3."
Ludovic Courtès [Tue, 8 Mar 2022 16:19:16 +0000 (17:19 +0100)]
Revert "gnu: socat: Update to 1.7.4.3."

This reverts commit 3cd42883c4ad693ed1f79c6be35e1aa3e010e10a, which led
to ~13K rebuilds.

2 years agognu: slurm <= 20.02: Build with '-fcommon'.
Ludovic Courtès [Tue, 8 Mar 2022 11:10:02 +0000 (12:10 +0100)]
gnu: slurm <= 20.02: Build with '-fcommon'.

* gnu/packages/parallel.scm (slurm-20.02)[arguments]: New field.
(slurm-19.05, slumr-18.08): Inherit from it.

2 years agognu: socat: Update to 1.7.4.3.
jgart [Sat, 5 Mar 2022 17:24:51 +0000 (12:24 -0500)]
gnu: socat: Update to 1.7.4.3.

* gnu/packages/networking.scm (socat): Update to 1.7.4.3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: blender: Enable boolean operations on meshes.
raingloom [Sun, 6 Mar 2022 05:31:34 +0000 (06:31 +0100)]
gnu: blender: Enable boolean operations on meshes.

* gnu/packages/graphics.scm (blender)[inputs]: Add gmp.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add cl-websocket-driver.
Aurora [Sun, 6 Mar 2022 03:33:37 +0000 (03:33 +0000)]
gnu: Add cl-websocket-driver.

* gnu/packages/lisp-xyz.scm (cl-websocket-driver, ecl-websocket-driver,
  sbcl-websocket-driver): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add cl-sha1.
Aurora [Sun, 6 Mar 2022 03:33:36 +0000 (03:33 +0000)]
gnu: Add cl-sha1.

* gnu/packages/lisp-xyz.scm (cl-sha1, ecl-sha1, sbcl-sha1): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add cl-event-emitter.
Aurora [Sun, 6 Mar 2022 03:33:35 +0000 (03:33 +0000)]
gnu: Add cl-event-emitter.

* gnu/packages/lisp-xyz.scm (cl-event-emitter, ecl-event-emitter,
  sbcl-event-emitter): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add cl-fast-websocket.
Aurora [Sun, 6 Mar 2022 03:33:34 +0000 (03:33 +0000)]
gnu: Add cl-fast-websocket.

* gnu/packages/lisp-xyz.scm (cl-fast-websocket, ecl-fast-websocket,
  sbcl-fast-websocket): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: Add cl-template.
Aurora [Sun, 6 Mar 2022 03:33:33 +0000 (03:33 +0000)]
gnu: Add cl-template.

* gnu/packages/lisp-xyz.scm (cl-template, ecl-template, sbcl-template): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: proot: Update to 5.3.0.
Efraim Flashner [Tue, 8 Mar 2022 09:58:41 +0000 (11:58 +0200)]
gnu: proot: Update to 5.3.0.

* gnu/packages/linux.scm (proot): Update to 5.3.0.
[arguments]: Adjust custom 'patch-sources phase to adjust skipped tests.

2 years agoRevert "gnu: Add go-github-com-niemeyer-pretty."
Efraim Flashner [Tue, 8 Mar 2022 07:38:16 +0000 (09:38 +0200)]
Revert "gnu: Add go-github-com-niemeyer-pretty."

This reverts commit 18b0527765301a3015afb9ba1209bd10f56426cb.

This package is not actually needed.

2 years agognu: lvm2: Fix cross-compiling on some architectures.
Efraim Flashner [Tue, 8 Mar 2022 07:12:17 +0000 (09:12 +0200)]
gnu: lvm2: Fix cross-compiling on some architectures.

* gnu/packages/linux.scm (lvm2)[native-inputs]: Add config.
[arguments]: Add phase to replace old versions of config.sub and
config.guess.

2 years agoimport: hackage: Use SRFI-71 instead of SRFI-11.
Ludovic Courtès [Mon, 7 Mar 2022 21:48:10 +0000 (22:48 +0100)]
import: hackage: Use SRFI-71 instead of SRFI-11.

* guix/import/hackage.scm (read-cabal-and-hash)
(hackage-fetch-and-hash, hackage-fetch)
(hackage->guix-package): Use 'let' and 'let*' instead of 'let-values'
and 'let*-values'.

2 years agoimport: hackage: Avoid pointless use of 'compose'.
Ludovic Courtès [Mon, 7 Mar 2022 21:44:34 +0000 (22:44 +0100)]
import: hackage: Avoid pointless use of 'compose'.

* guix/import/hackage.scm (hackage-module->sexp): Unroll pointless calls
to 'compose'.
(hackage->guix-package): Likewise.

2 years agoscripts: import: gem: Fix recursive error handling.
zimoun [Tue, 19 Jan 2021 15:47:21 +0000 (16:47 +0100)]
scripts: import: gem: Fix recursive error handling.

Partly fixes <https://bugs.gnu.org/44115>.

* guix/scripts/import/gem.scm (guix-import-gem): Handle error.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: cran: Return multiple values for unknown packages.
zimoun [Tue, 19 Jan 2021 15:47:20 +0000 (16:47 +0100)]
import: cran: Return multiple values for unknown packages.

Partly fixes <https://bugs.gnu.org/44115>.

* guix/import/pypi.scm (cran->guix-package): Return 'values'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: elpa: Return multiple values for unknown packages.
zimoun [Tue, 19 Jan 2021 15:47:19 +0000 (16:47 +0100)]
import: elpa: Return multiple values for unknown packages.

Partly fixes <https://bugs.gnu.org/44115>.

* guix/import/elpa.scm (elpa->guix-package): Return values.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: hackage: Return multiple values for unknown packages.
zimoun [Tue, 19 Jan 2021 15:47:18 +0000 (16:47 +0100)]
import: hackage: Return multiple values for unknown packages.

Partly fixes <https://bugs.gnu.org/44115>.

* guix/import/hackage.scm (hackage->guix-package): Return 'values'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: pypi: Return multiple values for unknown packages.
zimoun [Tue, 19 Jan 2021 15:47:17 +0000 (16:47 +0100)]
import: pypi: Return multiple values for unknown packages.

Partly fixes <https://bugs.gnu.org/44115>.

* guix/import/pypi.scm (pypi->guix-package): Return two values when
PROJECT is false.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: pypi: Gracefully handle missing project home page.
Ludovic Courtès [Mon, 7 Mar 2022 21:06:28 +0000 (22:06 +0100)]
import: pypi: Gracefully handle missing project home page.

Fixes <https://issues.guix.gnu.org/54259>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/import/pypi.scm (pypi->guix-package): Upon
'missing-source-error?', raise '&fix-hint' only if
'project-info-home-page' returns a non-empty string.

2 years agognu: Add python-multipart.
Pierre-Henry Fröhring [Mon, 24 Jan 2022 17:34:33 +0000 (18:34 +0100)]
gnu: Add python-multipart.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add gnusim8085.
Bird [Thu, 27 Jan 2022 09:05:21 +0000 (09:05 +0000)]
gnu: Add gnusim8085.

* gnu/packages/emulators.scm (gnusim8085): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoderivations: Coalesce inputs that have the same output path.
Ludovic Courtès [Mon, 7 Mar 2022 18:03:15 +0000 (19:03 +0100)]
derivations: Coalesce inputs that have the same output path.

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

* guix/derivations.scm (coalesce-duplicate-inputs): Use the output paths
of DRV as a hash table key.
* tests/derivations.scm ("derivation with duplicate fixed-output
inputs"): Expect a single input for FINAL.
("derivation with equivalent fixed-output inputs"): New test.

2 years agognu: scotch: Explicitly pass "-DINTSIZE" to CMake.
Ludovic Courtès [Mon, 7 Mar 2022 15:41:33 +0000 (16:41 +0100)]
gnu: scotch: Explicitly pass "-DINTSIZE" to CMake.

Previously, the 'scotch' and 'pt-scotch' packages would use the default
int size, which turned out to be 32 on x86_64-linux instead of 64 as it
used to be in Scotch 6.x.

* gnu/packages/maths.scm (scotch)[arguments]: Add "-DINTSIZE" to #:configure-flags.
(scotch32)[arguments]: Likewise.
(pt-scotch)[arguments]: Likewise.
(pt-scotch32)[arguments]: Likewise.

2 years agotests: Adjust to (guix import github) changes.
Ludovic Courtès [Mon, 7 Mar 2022 20:19:57 +0000 (21:19 +0100)]
tests: Adjust to (guix import github) changes.

This is a followup to a8d3033da61958c53c44dd5db90672bfc4533ef9.

* tests/import-github.scm (call-with-releases): Mock
'open-connection-for-uri'.

2 years agosystem: Set kernel name for riscv64-linux.
Efraim Flashner [Mon, 7 Mar 2022 20:47:27 +0000 (22:47 +0200)]
system: Set kernel name for riscv64-linux.

* gnu/system.scm (system-linux-image-file-name): Add option for riscv64.

2 years agognu: dtc: Use pkg-config-for-target.
Efraim Flashner [Mon, 7 Mar 2022 20:46:01 +0000 (22:46 +0200)]
gnu: dtc: Use pkg-config-for-target.

* gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom
'patch-pkg-config phase to use pkg-config-for-target.

2 years agognu: dtc: Use different source tarball.
Efraim Flashner [Mon, 7 Mar 2022 20:45:05 +0000 (22:45 +0200)]
gnu: dtc: Use different source tarball.

The xz compressed source failed to unpack on riscv64-linux.

* gnu/packages/bootloaders.scm (dtc)[source]: Use gzipped tarball.

2 years agobuild-system/meson: Add more cross-compilation targets.
Efraim Flashner [Mon, 7 Mar 2022 20:43:09 +0000 (22:43 +0200)]
build-system/meson: Add more cross-compilation targets.

* guix/build-system/meson.scm (make-machine-alist): Add riscv64-linux
option for cpu_family. Add riscv64-linux and powerpc-linux options for
endian.

2 years agognu: squashfs-tools: Fix cross-compiling.
Efraim Flashner [Mon, 7 Mar 2022 20:41:59 +0000 (22:41 +0200)]
gnu: squashfs-tools: Fix cross-compiling.

* gnu/packages/compression.scm (squashfs-tools)[arguments]: Adjust
make-flags to refer to the 'out' output specifically.

2 years agognu: libcap: Fix cross-compiling.
Efraim Flashner [Mon, 7 Mar 2022 20:40:51 +0000 (22:40 +0200)]
gnu: libcap: Fix cross-compiling.

* gnu/packages/linux.scm (libcap)[arguments]: Fix make-flags when
cross-compiling.

2 years agognu: mtd-utils: Fix cross-compiling.
Efraim Flashner [Mon, 7 Mar 2022 20:39:53 +0000 (22:39 +0200)]
gnu: mtd-utils: Fix cross-compiling.

* gnu/packages/linux.scm (mtd-utils)[arguments]: Only add configure-flag
to enable unit-tests when not cross compiling.

2 years agognu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.
Efraim Flashner [Mon, 7 Mar 2022 20:38:23 +0000 (22:38 +0200)]
gnu: libjpeg-turbo: Fix cross-compiling to riscv64-linux.

* gnu/packages/image.scm (libjpeg-turbo)[arguments]: When
cross-compiling to riscv64-linux correctly set CMAKE_SYSTEM_PROCESSOR.

2 years agognu: libxrender: Fix cross compiling to riscv64-linux.
Efraim Flashner [Mon, 7 Mar 2022 20:36:08 +0000 (22:36 +0200)]
gnu: libxrender: Fix cross compiling to riscv64-linux.

* gnu/packages/xorg.scm (libxrender)[arguments]: When cross compiling to
riscv64-linux replace config.sub and config.guess with newer versions.
[native-inputs]: When cross compiling to riscv64-linux add config.

2 years agognu: libopenmpt: Update dependencies.
Efraim Flashner [Sun, 6 Mar 2022 12:59:16 +0000 (14:59 +0200)]
gnu: libopenmpt: Update dependencies.

* gnu/packages/audio.scm (libopenmpt)[inputs]: Move libvorbis, mpg123,
zlib from here ...
[propagated-inputs]: ... to here. Add libogg.

2 years agognu: icedove: Update to 91.6.2.
Jonathan Brielmaier [Mon, 7 Mar 2022 17:27:39 +0000 (18:27 +0100)]
gnu: icedove: Update to 91.6.2.

* gnu/packages/gnuzilla.scm (icedove): Update to 91.6.2.

2 years agognu: emacs-json-mode: Remove input for old versions.
Jelle Licht [Mon, 7 Mar 2022 12:48:00 +0000 (13:48 +0100)]
gnu: emacs-json-mode: Remove input for old versions.

* gnu/packages/emacs-xyz.scm (emacs-json-mode)[inputs]:
Remove emacs-json-reformat.

2 years agognu: Add openriichi.
Jelle Licht [Mon, 7 Mar 2022 12:47:54 +0000 (13:47 +0100)]
gnu: Add openriichi.

* gnu/packages/games.scm (openriichi): New variable.

2 years agognu: Add siege.
Jelle Licht [Mon, 7 Mar 2022 12:47:46 +0000 (13:47 +0100)]
gnu: Add siege.

* gnu/packages/web.scm (siege): New variable.

2 years agognu: icecat: Update to 91.6.1-guix0-preview1 [security fixes].
Mark H Weaver [Mon, 7 Mar 2022 04:02:22 +0000 (23:02 -0500)]
gnu: icecat: Update to 91.6.1-guix0-preview1 [security fixes].

Includes fixes for CVE-2022-26485 and CVE-2022-26486.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.

2 years agognu: linux-libre 4.9: Update to 4.9.304.
Leo Famulari [Fri, 4 Mar 2022 00:41:55 +0000 (19:41 -0500)]
gnu: linux-libre 4.9: Update to 4.9.304.

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

2 years agognu: linux-libre 4.14: Update to 4.14.269.
Leo Famulari [Fri, 4 Mar 2022 00:41:39 +0000 (19:41 -0500)]
gnu: linux-libre 4.14: Update to 4.14.269.

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

2 years agognu: linux-libre 4.19: Update to 4.19.232.
Leo Famulari [Fri, 4 Mar 2022 00:41:23 +0000 (19:41 -0500)]
gnu: linux-libre 4.19: Update to 4.19.232.

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

2 years agognu: linux-libre 5.4: Update to 5.4.182.
Leo Famulari [Fri, 4 Mar 2022 00:41:03 +0000 (19:41 -0500)]
gnu: linux-libre 5.4: Update to 5.4.182.

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

2 years agognu: linux-libre 5.10: Update to 5.10.103.
Leo Famulari [Fri, 4 Mar 2022 00:40:46 +0000 (19:40 -0500)]
gnu: linux-libre 5.10: Update to 5.10.103.

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

2 years agognu: linux-libre: Update to 5.15.26.
Leo Famulari [Fri, 4 Mar 2022 00:40:24 +0000 (19:40 -0500)]
gnu: linux-libre: Update to 5.15.26.

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

2 years agognu: linux-libre 5.16: Update to 5.16.12.
Leo Famulari [Fri, 4 Mar 2022 00:39:15 +0000 (19:39 -0500)]
gnu: linux-libre 5.16: Update to 5.16.12.

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

2 years agognu: guile-ssh: Support cross-compilation.
Ludovic Courtès [Sun, 6 Mar 2022 23:26:51 +0000 (00:26 +0100)]
gnu: guile-ssh: Support cross-compilation.

Cross-compilation broke with the update to 0.15.1 in
eabc6af9b8b14bd629544e54bc9c9afa2d0dcd85.  'guile-snarf' would invoke
cpp instead of TRIPLET-cpp, which would thus fail to find libssh
headers.

* gnu/packages/ssh.scm (guile-ssh)[arguments]: Add
'support-cross-compilation' phase.

2 years agognu: Add python-xmldiff.
Алексей Дроздов [Fri, 21 Jan 2022 11:00:08 +0000 (14:00 +0300)]
gnu: Add python-xmldiff.

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

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add jtdx.
Sheng Yang [Mon, 24 Jan 2022 03:46:27 +0000 (21:46 -0600)]
gnu: Add jtdx.

* gnu/packages/radio.scm (jtdx-hamlib): New variable.
  (jtdx): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-stltools.
Evgeny Pisemsky [Fri, 11 Feb 2022 16:55:13 +0000 (19:55 +0300)]
gnu: Add python-stltools.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: gnome-shell-extension-gsconnect: Update to 48
terramorpha [Sun, 13 Feb 2022 16:15:55 +0000 (11:15 -0500)]
gnu: gnome-shell-extension-gsconnect: Update to 48

* gnu/packages/gnome-xyz (gnome-shell-extension-gsconnect): Update to 48

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: cgdb: Reference gdb.
Chadwain Holness [Sun, 6 Mar 2022 06:24:36 +0000 (01:24 -0500)]
gnu: cgdb: Reference gdb.

* gnu/packages/debug.scm (cgdb)[inputs]: Add gdb, bash-minimal
[arguments]: Add phase to fix hardcoded gdb and sh paths
Add configure flags for cross-compilation

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agoimport: github: Reuse HTTP connection for the /tags URL fallback.
Ludovic Courtès [Thu, 3 Mar 2022 20:40:21 +0000 (21:40 +0100)]
import: github: Reuse HTTP connection for the /tags URL fallback.

* guix/import/github.scm (fetch-releases-or-tags): Call
'open-connection-for-uri' and reuse the same connection for the two
'http-fetch' calls.
* .dir-locals.el (scheme-mode): Add 'call-with-port'.

2 years agohttp-client: Correctly handle redirects when #:keep-alive? #t.
Ludovic Courtès [Thu, 3 Mar 2022 20:37:27 +0000 (21:37 +0100)]
http-client: Correctly handle redirects when #:keep-alive? #t.

Previously PORT would be closed unconditionally, which broke redirects
when #:keep-alive? #t is given.

* guix/http-client.scm (http-fetch): Make 'port' a parameter of 'loop'.
Upon 3xx responses, do not close PORT is KEEP-ALIVE? is true, but consume
RESP's body.  Add second argument to 'loop'.

2 years agoimport: github: Gracefully handle rate limit exhaustion.
Ludovic Courtès [Thu, 3 Mar 2022 16:35:21 +0000 (17:35 +0100)]
import: github: Gracefully handle rate limit exhaustion.

Previously, 'guix refresh' would literally crash when the rate limit was
reached due to the call to 'error'.  With this change, the updater
notices when the rate limit is reached and it turns itself into a no-op
until the rate limit has been reset.

When running "guix refresh" (with no arguments), the 'github' updater
gets used until the rate limit has been reached, after which "guix
refresh" automatically picks up the next valid updater, typically
'generic-git'.

* guix/import/github.scm (fetch-releases-or-tags): Use 'http-fetch'
directly instead of 'json-fetch' to let 'http-get-error?' exceptions
through.  Handle 403 errors with an 'X-RateLimit-Remaining' header.
(%rate-limit-reset-time): New variable.
(update-rate-limit-reset-time!, request-rate-limit-reached?): New
procedures.
(latest-released-version): Remove calls to 'error'.

2 years agohttp-client: Add response headers to '&http-get-error'.
Ludovic Courtès [Thu, 3 Mar 2022 19:38:36 +0000 (20:38 +0100)]
http-client: Add response headers to '&http-get-error'.

* guix/http-client.scm (&http-get-error)[headers]: New field.
(http-fetch): Initialize the 'headers' field.

2 years agotests: Add (guix http-client) tests.
Ludovic Courtès [Sun, 6 Mar 2022 17:14:51 +0000 (18:14 +0100)]
tests: Add (guix http-client) tests.

* tests/http-client.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* .dir-locals.el (scheme-mode): Add 'with-http-server'.

2 years agognu: emacs-go-mode: Activate tests.
Nicolas Goaziou [Sun, 6 Mar 2022 21:44:51 +0000 (22:44 +0100)]
gnu: emacs-go-mode: Activate tests.

* gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Activate tests.

2 years agognu: emacs-go-mode: Update to 1.6.0.
Nicolas Goaziou [Sun, 6 Mar 2022 21:14:15 +0000 (22:14 +0100)]
gnu: emacs-go-mode: Update to 1.6.0.

* gnu/packages/emacs-xyz.scm (emacs-go-mode): Update to 1.6.0.
[arguments]: Remove unnecessary phase.

2 years agognu: Add ncdu2.
Efraim Flashner [Sun, 6 Mar 2022 12:15:15 +0000 (14:15 +0200)]
gnu: Add ncdu2.

* gnu/packages/ncdu.scm (ncdu2): New variable.

2 years agognu: Add go-github-com-xdg-go-scram.
Efraim Flashner [Tue, 22 Feb 2022 14:01:05 +0000 (16:01 +0200)]
gnu: Add go-github-com-xdg-go-scram.

* gnu/packages/golang.scm (go-github-com-xdg-go-scram): New variable.

2 years agognu: Add go-github-com-xdg-go-pbkdf2.
Efraim Flashner [Tue, 22 Feb 2022 14:00:50 +0000 (16:00 +0200)]
gnu: Add go-github-com-xdg-go-pbkdf2.

* gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): New variable.

2 years agognu: Add go-github-com-docker-go-units.
Efraim Flashner [Tue, 22 Feb 2022 14:00:21 +0000 (16:00 +0200)]
gnu: Add go-github-com-docker-go-units.

* gnu/packages/golang.scm (go-github-com-docker-go-units): New variable.

2 years agognu: Add go-github-com-niemeyer-pretty.
Efraim Flashner [Tue, 22 Feb 2022 14:00:21 +0000 (16:00 +0200)]
gnu: Add go-github-com-niemeyer-pretty.

* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable.

2 years agognu: Add go-github-com-xdg-go-stringprep.
Efraim Flashner [Tue, 22 Feb 2022 14:00:20 +0000 (16:00 +0200)]
gnu: Add go-github-com-xdg-go-stringprep.

* gnu/packages/golang.scm (go-github-com-xdg-go-stringprep): New variable.

2 years agognu: wob: Update to 0.13.
Nicolas Goaziou [Sat, 5 Mar 2022 21:26:47 +0000 (22:26 +0100)]
gnu: wob: Update to 0.13.

* gnu/packages/xdisorg.scm (wob): Update to 0.13.