Commit graph

98174 commits

Author SHA1 Message Date
Taiju HIGASHI
c8803d89fe
ui: Improve pager selection logic when less is not installed.
* guix/ui.scm (find-available-pager): New procedure.
(call-with-paginated-output-port): Use it.
* guix/utils.scm (call-with-environment-variables): Allow clearing of
specified environment variables.
* tests/ui.scm (make-empty-file, assert-equals-find-available-pager):
New procedures.
("find-available-pager, GUIX_PAGER takes precedence")
("find-available-pager, PAGER takes precedence")
("find-available-pager, 'less' takes precedence")
("find-available-pager, 'more' takes precedence")
("find-available-pager, no pager"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Petr Hodina
a88de093fb
gnu: hcxtools: Update to 6.2.7.
* gnu/packages/networking.scm (hcxtools): Update to 6.2.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Petr Hodina
9317cb3e9c
gnu: hcxtools: Use gexps.
* gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and
use PREFIX instead of INSTALL_DIR.
[phases]: Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Ludovic Courtès
925a57c5d0
shell: Fix '--export-manifest' for cached profiles and when '-p' is used.
Fixes <https://issues.guix.gnu.org/55521>.

* guix/scripts/shell.scm (export-manifest): When computing 'manifest',
honor the 'profile key.
* tests/guix-shell-export-manifest.sh: Add test.
2022-06-16 23:57:40 +02:00
Ludovic Courtès
4231031b69
shell: Do not auto-detect manifest when '-p' is used.
Previous, "guix shell -p /path/to/profile" would have manifest/guix.scm
auto-detection turned on.

* guix/scripts/shell.scm (auto-detect-manifest)[options-contain-payload?]:
Return #t for 'profile.
2022-06-16 23:57:40 +02:00
Ludovic Courtès
c8e393ffe2
packages: Change the order of %SUPPORTED-SYSTEMS.
Commit 2a34333d0c led to a couple of test
failures in tests/packages.scm and tests/lint.scm due to the different
ordering.

* guix/packages.scm (%supported-systems): Move %64BIT-SUPPORTED-SYSTEMS
first.
2022-06-16 23:57:40 +02:00
Efraim Flashner
ab82dd3f58
gnu: llvm-9: Fix building on riscv64-linux.
* gnu/packages/llvm.scm (llvm-12)[arguments]: Add a phase to update
config.guess when config is one of the native-inputs.
(llvm-10)[native-inputs]: Add config when building for riscv64-linux and
the llvm version is less than 11.
2022-06-16 19:42:02 +03:00
Efraim Flashner
3c7736f745
gnu: polkit-qt: Update to 1-0.114.0.
* gnu/packages/polkit.scm (polkit-qt): Update to 1-0.114.0.
[source]: Update to new source URI.
2022-06-16 17:57:34 +03:00
Ricardo Wurmus
f700223c3b
gnu: Add pyscenic.
* gnu/packages/bioinformatics.scm (pyscenic): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
3535d8dc5a
gnu: Add python-arboreto.
* gnu/packages/bioinformatics.scm (python-arboreto): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
fbe5707b73
gnu: Add python-ctxcore.
* gnu/packages/bioinformatics.scm (python-ctxcore): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
d62dbedd6d
gnu: Add python-bokeh.
* gnu/packages/python-xyz.scm (python-bokeh): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
21e9e67c77
gnu: Add python-multiprocessing-on-dill.
* gnu/packages/python-xyz.scm (python-multiprocessing-on-dill): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
62c5121472
gnu: Add python-interlap.
* gnu/packages/python-xyz.scm (python-interlap): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
e4dbf938ea
gnu: python-locket: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-locket): Update to 1.0.0.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
a3613f11d5
gnu: Add python-pyarrow-0.16.
* gnu/packages/databases.scm (python-pyarrow-0.16): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
c8727617e5
gnu: Add apache-arrow-0.16.
* gnu/packages/databases.scm (apache-arrow-0.16): New variable.
2022-06-16 15:20:59 +02:00
Paul A. Patience
59ec9e3f3e
gnu: Add cl-policy-cond.
* gnu/packages/lisp-xyz.scm (sbcl-policy-cond, cl-policy-cond,
  ecl-policy-cond): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-16 14:56:16 +02:00
John Kehayias
67c30ff8ad
gnu: rocm: Update to 5.1.3.
All packages updated at the same time as they have a shared version. rocclr is
no longer a stand-alone package, so the previous version is kept as rocclr-4
and the current version is just the source, rocclr-src, needed by rocm-opencl-runtime.

* gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Update patches.
* gnu/packages/rocm.scm (rocm-cmake, rocm-device-libs, rocm-comgr,
roct-thunk-interface, rocr-runtime, rocm-opencl-runtime, rocminfo,
rocm-bandwidth-test): Update to 5.1.3.
(roct-thunk-interface)[inputs]: Add libdrm.
[native-inputs]: Add gcc:lib and pkg-config.
(rocclr-src): New variable.
(rocclr-4): New variable (previous version of the package).
(rocm-opencl-runtime)[source]: Remove obsolete patches.
[arguments]: Rewrite with gexps. Add needed #:configure-flags.
[inputs]: Remove rocclr, add numactl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
John Kehayias
25809f5a40
gnu: Update llvm-for-rocm: Update to 5.1.3.
* gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.1.3, now based on llvm-14.
[source]{patches}: Remove unneeded patches (add_Object and add_libraries) and add new one (linkdl).
* gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch,
gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch: Delete files.
* gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update to match current patches.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
David Wilson
677ae314f6
gnu: herbstluftwm: Update to 0.9.4.
* gnu/packages/wm.scm (herbstluftwm): Update to 0.9.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
Josselin Poiret
f404112007
channels: Print backtrace when generating package cache fails.
* guix/channels.scm (package-cache-file): Add a throw handler around
the generate-package-cache call, and print backtrace in it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
Artyom V. Poptsov
c48c69cfa3
gnu: libtree: Update to 3.1.1.
* gnu/packages/linux.scm (libtree): Update to 3.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:05 +02:00
Guillaume Le Vaillant
ef2d908e22
gnu: getmail6: Update to 6.18.9.
* gnu/packages/mail.scm (getmail6): Update to 6.18.9.
  [description]: Fix typo.
2022-06-16 10:25:13 +02:00
Vinicius Monego
5d28f089ef
gnu: Add python-zeep.
* gnu/packages/python-web.scm (python-zeep): New variable.
* gnu/packages/patches/python-zeep-Fix-pytest_httpx-test-cases.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2022-06-16 09:25:55 +02:00
Hartmut Goebel
9ee6d9cb17
gnu: Add python-pytest-httpx.
* gnu/packages/python-check.scm (python-pytest-httpx): New variable.
2022-06-16 09:25:55 +02:00
Vinicius Monego
2950ef2fff
gnu: Add python-flake8-blind-except.
* gnu/packages/python-xyz.scm (python-flake8-blind-except): New variable.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2022-06-16 09:25:55 +02:00
Vinicius Monego
7a8beb3dea
gnu: python-requests-file: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-requests-file): Update to 1.5.1.
[source]: Make some cosmetic changes.
[arguments]<#:phases>: Override 'check phase.
[home-page]: Don't break line.
2022-06-16 09:25:55 +02:00
Vinicius Monego
e0b6cd0947
gnu: Add python-flake8-debugger.
* gnu/packages/python-xyz.scm (python-flake8-debugger): New variable.
2022-06-16 09:25:55 +02:00
Ludovic Courtès
128697d43c
gnu: wayland-protocols: Add 'release-monitoring-url' property.
* gnu/packages/freedesktop.scm (wayland-protocols)[properties]: New
field.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
53b9c27aa5
upstream: 'package-update' reports "unknown upstream releases" errors.
Fixes <https://issues.guix.gnu.org/55987>.
Reported by John Kehayias <john.kehayias@protonmail.com>.

* guix/upstream.scm (package-update): Instead of calling
'package-latest-release*', call 'package-latest-release' and distinguish
between "up-to-date" and "unknown upstream releases".  Raise an error in
the latter case.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5c06eedf08
refresh: Switch to SRFI-71.
* guix/scripts/refresh.scm (update-package): Use SRFI-71 'let' instead
of SRFI-11 'let-values'.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5d4b189120
challenge: When using '--diff', do not attempt to chmod symlinks.
This is a followup to 2a2856d5cc.

* guix/scripts/challenge.scm (make-directory-writable): Do not call
'make-file-writable' on symlinks.
2022-06-15 23:49:23 +02:00
Maxim Cournoyer
1cde647cc0
doc: Use a minimal texlive profile in build.scm.
* doc/build.scm (pdf-manual) <texinfo-profile>: New variable.
<PATH>: Define in terms of the above.
<GUIX_TEXMF>: New environment variable.
2022-06-15 17:24:46 -04:00
Tobias Geerinckx-Rice
5c0ef02db9
doc: Substitute ‘copy’ for confusing ‘drop’.
* doc/guix.texi (Build Environment Setup): ‘drop in’ → ‘copy to’.

Reported by lechner in #guix.
2022-06-12 02:00:00 +02:00
Efraim Flashner
0929657ec6
gnu: eigen: Honor the #:tests? flag.
* gnu/packages/algebra.scm (eigen)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
2022-06-15 21:54:35 +03:00
Clément Lassieur
673983c9c6
gnu: emacs-lsp-mode: Update to 8.0.1-0.4aafe25.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 8.0.1-0.4aafe25.
[arguments]: Add a 'fix-patch-el-files' phase.
2022-06-15 15:39:50 +02:00
Tobias Geerinckx-Rice
a431d1dbc5
gnu: bind: Update to 9.16.30.
* gnu/packages/dns.scm (isc-bind): Update to 9.16.30.
2022-06-12 02:00:00 +02:00
Hartmut Goebel
9cccf6490d
gnu: Add rebar3-proper.
* gnu/packages/erlang.scm (rebar3-proper): New variable.
2022-06-15 10:58:10 +02:00
Hartmut Goebel
ffc18b87f9
gnu: Add rebar3-git-vsn.
* gnu/packages/erlang.scm (rebar3-git-vsn): New variable.
2022-06-15 10:58:09 +02:00
Hartmut Goebel
1e6d64c2dc
gnu: Add rebar3-raw-deps.
* gnu/packages/erlang.scm (rebar3-raw-deps): New variable.
2022-06-15 10:58:09 +02:00
Hartmut Goebel
00eea05ab8
gnu: Add rebar3.
* gnu/packages/erlang.scm (rebar3): New variable.
2022-06-15 10:58:08 +02:00
Hartmut Goebel
0018a4788b
gnu: Add erlang-covertool.
* gnu/packages/erlang.scm (erlang-covertool): New variable.
2022-06-15 10:58:08 +02:00
Hartmut Goebel
eb8c8ba11f
gnu: Add erlang-proper.
* gnu/packages/erlang.scm (erlang-proper): New variable.
2022-06-15 10:18:49 +02:00
Hartmut Goebel
d723e8d94b
gnu: Add erlang-jsone.
* gnu/packages/erlang.scm (erlang-jsone): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
e0376bc8a4
gnu: Add erlang-edown.
* gnu/packages/erlang.scm (erlang-edown): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
4af9fa1130
gnu: Add erlang-relx.
* gnu/packages/erlang.scm (erlang-relx): New variable.
2022-06-15 10:18:48 +02:00
Hartmut Goebel
539695e9d5
gnu: Add erlang-ssl-verify-fun.
* gnu/packages/erlang.scm (erlang-ssl-verify-fun): New variable.
2022-06-15 10:18:47 +02:00
Hartmut Goebel
2b474f45c1
gnu: Add erlang-hex-core.
* gnu/packages/erlang.scm (erlang-hex-core): New variable.
2022-06-15 10:18:46 +02:00
Hartmut Goebel
8680f3fbb7
gnu: Add erlang-parse-trans.
* gnu/packages/erlang.scm (erlang-parse-trans): New variable.
2022-06-15 10:18:46 +02:00