Commit graph

82454 commits

Author SHA1 Message Date
Mathieu Othacehe
994d8ce394
gnu: shadow: Use the cross-compiled shell at runtime.
Make sure that the executed shell at runtime is the cross-compiled shell and
not the native shell.

* gnu/packages/admin.scm (shadow)[arguments]: Add a set-runtime-shell phase.
[inputs]: Add bash-minimal when cross-compiling.
2021-08-29 18:57:29 +02:00
Oleg Pykhalov
5fdc46a9fe
gnu: Add emacs-hideshowvis.
* gnu/packages/emacs-xyz.scm (emacs-hideshowvis): New variable.
2021-08-29 17:34:43 +03:00
Brice Waegeneire
8fe8f53454
gnu: rofi: Update to 1.7.0.
* gnu/packages/xdisorg.scm (rofi): Update to 1.7.0.
  [inputs]: Add xcb-util-cursor.
  [source]<origin>, [home-page]: Change URL to the redirected one.
2021-08-29 16:05:47 +02:00
Maxime Devos
7256d9d204
isc-dhcp: Fix dhclient-script wrapper when cross-compiling.
This causes many rebuilds, but only when cross-compiling.
This should unbreak Internet access on cross-compiled pinebook
images.

Reported-By: Guest4977 (on IRC)

* gnu/gnunet/packages/admin.scm
  (isc-dhcp)[arguments]<#:phases>{post-install}: Use the
  cross-compiled bash when cross-compiling. Work-around
  <https://issues.guix.gnu.org/49290>.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-08-29 11:57:47 +02:00
Efraim Flashner
9734da36f2
services: Remove i486 qemu target.
The i486 target has been removed from qemu since at least 5.2.0.

* gnu/services/virtualization.scm (%i486): Remove variable.
(%qemu-platforms): Remove it.
2021-08-29 09:50:11 +03:00
Maxim Cournoyer
8ad6624b96
services: base: Honor file-system-create-mount-point? at all times.
Fixes <https://issues.guix.gnu.org/40158>.

* gnu/services/base.scm (file-system-shepherd-service): Update doc.  Return a
shepherd service for the mount point when either MOUNT? or CREATE? is true.
[start]: Only mount when MOUNT? is true.
(file-system-shepherd-services): Also consider file systems with
create-mount-point? set to #t.
2021-08-29 01:31:52 -04:00
Maxim Cournoyer
0bc5448cf1
gnu: python-pytest-django: Update to 4.4.0.
* gnu/packages/django.scm (python-pytest-django): Update to 4.4.0.
[tests?]: Disable test suite.
[native-inputs]: Replace python-pytest-xdist by python-pytest-xdist-next.
[home-page]: Update home page.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer
352f72ac02
gnu: python-django: Update to 3.2.6.
* gnu/packages/django.scm (python-django): Update to 3.2.6.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer
019bf96300
gnu: ansible: Update to 4.4.0.
* gnu/packages/admin.scm (ansible): Update to 4.4.0.
[native-inputs]: Remove field.
[inputs]: Likewise.
[arguments]: Likewise.
[propagated-inputs]: New field.
[native-search-paths]: New search path.
[description]: Update description.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer
83bf3c63da
gnu: Add ansible-core.
* gnu/packages/admin.scm (ansible-core): New variable.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer
fa4c3deb8b
gnu: Add python-pytest-xdist-next.
* gnu/packages/check.scm (python-pytest-xdist-next): New variable.
2021-08-29 01:05:29 -04:00
Maxim Cournoyer
9482c5ad03
gnu: python-pytest-xdist: Fix by downgrading to 1.34.0, run test suite.
Commit ed72e55831 updated the package to 2.1.0, but this version doesn't work
with Pytest 5, the version currently used in Guix.  Downgrade to the last
version that is compatible with Pytest 5.

* gnu/packages/check.scm (python-pytest-xdist): Downgrade to 1.34.0, with a
comment explaining why.  Strip trailing #t.
[source]: Remove origin modules and snippet field, no longer necessary.
[phases]{check}: Override to run the test suite.
[propagated-inputs]: Remove python-py and add python-pytest-forked.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer
48461816e4
gnu: python-pytest-mock: Update to 3.6.1 and run test suite.
* gnu/packages/check.scm (python-pytest-mock): Update to 3.6.1.
[phases]{check}: Override to run test suite.
[propagated-inputs]: Add python-pytest-asyncio.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer
b1ef8b410c
gnu: python-pytest-asyncio: Enable tests and patch for Python 3.8.
* gnu/packages/patches/python-pytest-asyncio-python-3.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/check.scm (python-pytest-asyncio)
[source]: Fetch from git and apply above patch.
[phases]: Override the check phase, enabling tests.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer
0a2c8b10fc
gnu: python-pytest-forked: Update to 1.3.0 and run test suite.
* gnu/packages/check.scm (python-pytest-forked)[origin]: Use git.
[phases]{disable-setuptools-scm}: New phase.
{check}: Override phase.
[propagated-inputs]: Remove field.
[native-inputs]: Remove ??? and add python-pytest-bootstrap.
[home-page]: Fix indentation.
[synopsis]: Update.
[description]: Expound.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer
bece6dd70d
gnu: python-py-next: Update to 1.10.0.
* gnu/packages/python-xyz.scm (python-py-next): Update to 1.10.0.
2021-08-29 01:05:28 -04:00
Maxim Cournoyer
399a844aad
gnu: python-mock: Update description.
* gnu/packages/check.scm (python-mock)
[description]: Mention this library is now part of Python 3.3 onward.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
3d0fd83f24
gnu: python-rope: Update to 0.19.0 and remove python2-rope.
* gnu/packages/python-xyz.scm (python-rope): Update to 0.19.0.
[source]: Fix indentation.
[arguments]: Remove.
[native-inputs]: Remove.
[license]: Correct license.
(python2-rope): Delete variable.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
1d94000d87
gnu: python-execnet: Update to 1.9.0 and enable tests.
* gnu/packages/patches/python-execnet-read-only-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-execnet): Update to 1.9.0.
[source]: Fix indentation.
[arguments]: Enable tests, replacing the default check phase.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
66071cd85e
gnu: python-pytest-6: Update to 6.2.4 and propagate iniconfig.
* gnu/packages/check.scm (python-pytest-6): Update to 6.2.4.  Fix typo.
Removing trailing #t.
[native-inputs]: Delete the extraneous python-mock input.
Move python-iniconfig to...
[propagated-inputs]: ... here.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
97a675df1b
gnu: Add python-pyspnego.
* gnu/packages/python-xyz.scm (python-pyspnego): New variable.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
5abe149b4e
gnu: Add python-ncclient.
* gnu/packages/python-xyz.scm (python-ncclient): New variable.
2021-08-29 01:05:27 -04:00
Maxim Cournoyer
165cbdfdc1
gnu: Add python-resolvelib-0.5.
* gnu/packages/python-xyz.scm (python-resolvelib-0.5): New variable.
2021-08-29 01:05:26 -04:00
Maxim Cournoyer
afcbaadac5
gnu: Add python-resolvelib.
* gnu/packages/python-xyz.scm (python-resolvelib): New variable.
2021-08-29 01:05:26 -04:00
Maxim Cournoyer
bf99f80a16
gnu: Add python-commentjson.
* gnu/packages/python-xyz.scm (python-commentjson): New variable.
2021-08-29 01:05:26 -04:00
Maxim Cournoyer
da4e409483
Migrate to the new 'targets' field of bootloader-configuration.
The old 'target' field is deprecated; adjust the sources to use the new
'targets' one instead.

* doc/guix-cookbook.texi<target>: Replace by 'targets'.
* gnu/bootloader/grub.scm: Likewise.
* gnu/installer/parted.scm: Likewise.
* gnu/machine/digital-ocean.scm: Likewise.
* gnu/system/examples/asus-c201.tmpl: Likewise
* gnu/system/examples/bare-bones.tmpl: Likewise
* gnu/system/examples/bare-hurd.tmpl: Likewise
* gnu/system/examples/beaglebone-black.tmpl: Likewise
* gnu/system/examples/desktop.tmpl: Likewise
* gnu/system/examples/docker-image.tmpl: Likewise
* gnu/system/examples/lightweight-desktop.tmpl: Likewise
* gnu/system/examples/vm-image.tmpl: Likewise
* gnu/system/examples/yggdrasil.tmpl: Likewise
* gnu/system/hurd.scm: Likewise
* gnu/system/images/hurd.scm: Likewise
* gnu/system/images/novena.scm: Likewise
* gnu/system/images/pine64.scm: Likewise
* gnu/system/images/pinebook-pro.scm: Likewise
* gnu/system/images/rock64.scm: Likewise
* gnu/system/install.scm: Likewise
* gnu/system/vm.scm: Likewise
* gnu/tests.scm: Likewise
* gnu/tests/ganeti.scm: Likewise
* gnu/tests/install.scm: Likewise
* gnu/tests/nfs.scm: Likewise
* gnu/tests/telephony.scm: Likewise
* tests/boot-parameters.scm: Likewise
* tests/system.scm: Likewise
2021-08-29 01:05:26 -04:00
Maxim Cournoyer
2ca982ff41
gnu: bootloader: Support multiple targets.
Fixes <https://issues.guix.gnu.org/40997>.

* gnu/bootloader.scm (<bootloader-configuration>): New 'targets' field.
(%bootloader-configuration-target): New procedure.
(bootloader-configuration-target): Add deprecation warning.
(bootloader-configuration-targets): New procedure.
* guix/scripts/system.scm (install): Access targets via
bootloader-configuration-targets.
(perform-action)[bootloader-target]: Remove unused argument and update doc.
Access targets via bootloader-configuration-targets and fix indentation.
(process-action): Access targets via bootloader-configuration-targets.
Do not provide the unused BOOTLOADER-TARGET argument when applying
`perform-action'.
* guix/scripts/system/reconfigure.scm (install-bootloader-program): Rename
DEVICE argument to DEVICES.  Adjust doc and comment.  Apply `installer' and
`disk-installer' for every DEVICES.
(install-bootloader): Access targets via bootloader-configuration-targets and
rename variable from DEVICE to DEVICES.
* gnu/tests/install.scm: Adjust accordingly.
* tests/guix-system.sh: Likewise.
* gnu/tests/reconfigure.scm (run-install-bootloader-test): Adjust the DEVICES
argument so that it is a list.
* doc/guix.texi: Update doc.
2021-08-29 01:05:26 -04:00
Oleg Pykhalov
76114232d7
gnu: Add emacs-company-org-block.
* gnu/packages/emacs-xyz.scm (emacs-company-org-block): New variable.
2021-08-29 00:52:56 +03:00
Noah Evans
a8dd285d5a
zsh completion: Add missing commands and arguments.
* etc/completion/zsh/_guix (_guix_install, _guix_remove, _guix_upgrade):
  New functions.
  (_guix_build, _guix_challenge, _guix_download, _guix_environment,
  _guix_packages, _guix_gc, _guix_hash, _guix_lint, _guix_package,
  _guix_publish, _guix_pull, _guix_refresh, _guix_size, _guix_system):
  Add some of the missing arguments.
  (_guix_cmds): Add missing commands.

Co-authored-by: Brice Waegeneire <brice@waegenei.re>
2021-08-28 17:57:50 +02:00
Mathieu Othacehe
1dbed7e098
images: pinebook-pro: Fix the agetty baud rate.
* gnu/system/images/pinebook-pro.scm (pinebook-pro-barebones-os): Fix the
agetty baud rate.
2021-08-28 17:47:12 +02:00
Oleg Pykhalov
63fec9fd6a
gnu: Add lsofgraph.
* gnu/packages/admin.scm (lsofgraph): New variable.
2021-08-28 15:58:23 +03:00
Nicolas Goaziou
75a3413b4e
gnu: mame: Update to 0.235.
* gnu/packages/emulators.scm (mame): Update to 0.235.
2021-08-28 11:01:06 +02:00
Maxim Cournoyer
0f853ab773
build: Distribute tests/go.scm even when the host lacks guile-lib.
This is a follow-up commit to 38d337a5b7.

* Makefile.am (EXTRA_DIST)[!HAVE_GUILE_LIB]: Add tests/go.scm.

Reported-by: Chris Marusich <cmmarusich@gmail.com>
2021-08-27 14:59:21 -04:00
Lars-Dominik Braun
9c7c3f771c
gnu: python-pyopencl: Update to 2021.2.6.
* gnu/packages/opencl.scm (python-pyopencl)[version]: Update to
2021.2.6.
[source]: Point to new git repository.
[#:phases]: Remove unused phases.
[inputs]: Use unversioned opencl-headers.
[propagated-inputs]: Remove unused inputs.
2021-08-27 20:50:56 +02:00
Lars-Dominik Braun
65a5eec0a1
gnu: python-pytools: Update to 2021.2.7.
* gnu/packages/opencl.scm (python-pytools)[version]: Update to 2021.2.7.
[propagated-inputs]: Remove unused inputs.
2021-08-27 20:50:56 +02:00
Lars-Dominik Braun
842d27fd20
gnu: Add clpeak.
* gnu/packages/benchmark.scm (clpeak): New variable.
2021-08-27 20:50:56 +02:00
Lars-Dominik Braun
4d1157fca7
gnu: ocl-icd: Replace with opencl-icd-loader.
ocl-icd’s project page is dead and the source code is unavailable.

* gnu/packages/opencl.scm (ocl-icd): Alias to opencl-icd-loader.
(clinfo)[inputs]: Use opencl-icd-loader.
(beignet)[inputs]: Dito.
(pocl)[inputs]: Dito.
(python-pyopencl)[inputs]: Dito.
* gnu/packages/games.scm (leela-zero)[inputs]: Dito.
* gnu/packages/photo.scm (darktable)[inputs]: Dito.
* gnu/packages/rocm.scm (rocm-opencl-runtime)[inputs]: Dito.
2021-08-27 20:50:56 +02:00
Lars-Dominik Braun
2c6c1f8d91
gnu: Add opencl-icd-loader.
* gnu/packages/opencl.scm (opencl-icd-loader): New variable.
2021-08-27 20:50:55 +02:00
Lars-Dominik Braun
d8c63f8771
gnu: clinfo: Update to 3.0.21.02.21 and simplify package.
* gnu/packages/opencl.scm (clinfo) [version]: Update to 3.0.21.02.21.
[arguments]: Simplify #:phases by adding make arguments to #:make-flags.
2021-08-27 20:50:55 +02:00
Lars-Dominik Braun
95a86b9bab
gnu: opencl-clhpp: Update to 2.0.15.
Note that this version bump removes the deprecated cl.hpp header
interface.

* gnu/packages/opencl.scm (opencl-clhpp): Update to 2.0.15.
[#:configure-flags]: Remove prefix.
2021-08-27 20:50:55 +02:00
Lars-Dominik Braun
ac52d4b95c
gnu: opencl-headers: Update to 2021.06.30 and switch to CMake.
* gnu/packages/opencl.scm (opencl-headers)[version]: Update to 2021.06.30.
[build-system]: Switch to CMake.
2021-08-27 20:50:52 +02:00
Tobias Geerinckx-Rice
ad7d478d86
gnu: man-pages: Update to 5.13.
* gnu/packages/man.scm (man-pages): Update to 5.13.
2021-08-27 19:30:01 +02:00
Clément Lassieur
7125b0d8a1
gnu: josm: Update to 18118.
* gnu/packages/geo.scm (josm): Update to 18118.
[inputs]: Add java-jsr305.
[arguments]<#:phases>{fix-jcs}: Replace ICache.NAME_COMPONENT_DELIMITER with
what it points to (":") because its location changed with jcs3.
2021-08-27 16:36:07 +02:00
Clément Lassieur
c9f6fe2c57
gnu: java-opening-hours-parser: Update to 0.23.0.
* gnu/packages/geo.scm (java-opening-hours-parser): Update to 0.23.0.
2021-08-27 16:23:31 +02:00
Efraim Flashner
1e0b984591
gnu: postgresql-9.6: Update to 9.6.23.
* gnu/packages/databases.scm (postgresql-9.6): Update to 9.6.23.
2021-08-27 15:03:08 +03:00
Efraim Flashner
bb418a20ee
gnu: postgresql-10: Update to 10.18.
* gnu/packages/databases.scm (postgresql-10): Update to 10.18.
2021-08-27 15:03:08 +03:00
Efraim Flashner
3a58a0ed6a
gnu: postgresql-11: Update to 11.13.
* gnu/packages/databases.scm (postgresql-11): Update to 11.13.
2021-08-27 15:03:07 +03:00
Ricardo Wurmus
5795fbbd0f
gnu: Add python-hmmlearn.
* gnu/packages/machine-learning.scm (python-hmmlearn): New variable.
2021-08-27 13:37:30 +02:00
Ricardo Wurmus
db13eb962f
gnu: Add python-strawc.
* gnu/packages/bioinformatics.scm (python-strawc): New variable.
2021-08-27 13:37:29 +02:00
Ricardo Wurmus
17c765e2e1
gnu: Add r-cytonorm.
* gnu/packages/bioinformatics.scm (r-cytonorm): New variable.
2021-08-27 13:37:29 +02:00