Commit graph

129869 commits

Author SHA1 Message Date
Ricardo Wurmus
08f48f2939
gnu: Add python-pydevtool.
* gnu/packages/python-xyz.scm (python-pydevtool): New variable.

Change-Id: I325b81fa6421094a5a64084c06e66b8fa136e270
2024-01-16 12:44:34 +01:00
Ricardo Wurmus
1c91d45724
gnu: Add python-pyproject-metadata-0.7.
* gnu/packages/python-xyz.scm (python-pyproject-metadata-0.7): New variable.

Change-Id: I7c47c911fa2a33c0b5711b0009f31b3e32c1c1d7
2024-01-16 12:44:34 +01:00
Ricardo Wurmus
1fb5d95e75
gnu: python-doit: Update to 0.36.0.
* gnu/packages/python-xyz.scm (python-doit): Update to 0.36.0.
[build-system]: Use pyproject-build-system.
[arguments]: Disable test_execute test.
[propagated-inputs]: Remove python-pyinotify; add python-importlib-metadata.
[description]: Add missing spaces between two sentences.

Change-Id: I1d046201c9bef63477f8fb0a2f8494bffbbbc711
2024-01-16 12:44:34 +01:00
Ricardo Wurmus
1d91698478
gnu: Add pybind11-2.10.
* gnu/packages/python-xyz.scm (pybind11-2.10): New variable.

Change-Id: Ia7915af3baca36b0677d3f762046585abc473f56
2024-01-16 12:44:33 +01:00
Ricardo Wurmus
ce451cdcb8
gnu: Add python-cython-0.29.35.
* gnu/packages/python-xyz.scm (python-cython-0.29.35): New variable.

Change-Id: I09ec851a2051e885f6417524bbeeb81b743bef0b
2024-01-16 12:44:33 +01:00
Ricardo Wurmus
33d0a549e9
gnu: Add python-pydoc-markdown.
* gnu/packages/python-xyz.scm (python-pydoc-markdown): New variable.

Change-Id: I03e45c2b87f626f7a8113d785c72c14a301d79be
2024-01-16 12:36:08 +01:00
Ricardo Wurmus
b05fe5c763
gnu: python-yapf: Update to 0.32.0.
* gnu/packages/python-xyz.scm (python-yapf): Update to 0.32.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-importlib-metadata, python-platformdirs, and
python-tomli.

Change-Id: I30fa0b9d643f6585624da87d5c1a1edbb59425c4
2024-01-16 12:21:07 +01:00
Ricardo Wurmus
1fcf3d2a0c
gnu: Add python-docspec-python.
* gnu/packages/python-xyz.scm (python-docspec-python): New variable.

Change-Id: Ic607d0a34a8601dd464251edd8c8509314b7489c
2024-01-16 11:56:34 +01:00
Ricardo Wurmus
8721b9c1fb
gnu: Add python-nr-util.
* gnu/packages/python-xyz.scm (python-nr-util): New variable.

Change-Id: I26dda5e5bc03334fb476e3f1fd2fa6aaf93a91c3
2024-01-16 11:37:07 +01:00
Artyom V. Poptsov
21f5d20d68
gnu: go-github-com-arceliar-ironwood: Update to v0.0.0-20231127131626-465b82dfb5bd.
* gnu/packages/golang.scm (go-github-com-arceliar-ironwood): Update to
  v0.0.0-20231127131626-465b82dfb5bd.

Change-Id: Ia94d7c88e54d33f7bb7b5054a757d7ef203d47c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-01-15 23:18:58 +00:00
Artyom V. Poptsov
5358b308a1
gnu: yggdrasil: Update to 0.5.4.
* gnu/packages/networking.scm (yggdrasil): Update to 0.5.4.

Change-Id: I4f386e1b69627b0c5a6095c42274b8a8bff8bfd9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-01-15 23:18:35 +00:00
Troy Figiel
eb0f35e16d
gnu: hypercorn: Reformat with guix style.
* gnu/packages/python-web.scm (hypercorn): Reformat with guix style.
2024-01-15 22:43:58 +00:00
Troy Figiel
68763a00a3
gnu: hypercorn: Adjust inputs.
* gnu/packages/python-web.scm (hypercorn)[propagated-inputs]: Add
python-exceptiongroup and python-tomli. Remove python-toml and
python-typing-extensions.
[native-inputs]: Remove python-mock.
2024-01-15 22:43:35 +00:00
Ricardo Wurmus
287dee537b
gnu: Remove python-tslearn.
This package now lives in the guix-science channel.

* gnu/packages/machine-learning.scm (python-tslearn): Remove variable.

Change-Id: I655df3417d258cb1231746626817fde9628e9569
2024-01-15 23:35:25 +01:00
Ricardo Wurmus
ddde736722
gnu: Add python-docspec.
* gnu/packages/python-xyz.scm (python-docspec): New variable.

Change-Id: I3103bde3483273a335156b38de742f493fd366f1
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
12ae026e51
gnu: Add python-databind-json.
* gnu/packages/python-xyz.scm (python-databind-json): New variable.

Change-Id: Iaab64e28ba6772c14704ff67cffab21a2f555460
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
97692be948
gnu: Add python-databind-core.
* gnu/packages/python-xyz.scm (python-databind-core): New variable.

Change-Id: I45bf0ec5ef123ea20c50e2ca3caf930bfba45eea
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
6b81503bae
gnu: Add python-typeapi.
* gnu/packages/python-xyz.scm (python-typeapi): New variable.

Change-Id: Id89f3152bcd593d677c4fcb7c98d586cd50e820b
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
7dfe41aa71
gnu: Add python-nr-stream.
* gnu/packages/python-xyz.scm (python-nr-stream): New variable.

Change-Id: I59489156e4675a64a31b1cb7f62b7c845c005ce8
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
aa51d1d25f
gnu: Add python-nr-date.
* gnu/packages/python-xyz.scm (python-nr-date): New variable.

Change-Id: I4251aef073df29ccada70f1398bce38cfb8962ba
2024-01-15 23:06:15 +01:00
Ricardo Wurmus
7a2d128779
gnu: Add python-namex.
* gnu/packages/python-xyz.scm (python-namex): New variable.

Change-Id: I02d4ed5e426f0b432c27086aa90628ae54759ca2
2024-01-15 23:06:15 +01:00
Troy Figiel
19db1551dc
gnu: python-requests-kerberos: Enable tests.
* gnu/packages/python-web.scm (python-requests-kerberos): Enable tests.
[source]: Replace the PyPI release by the Github release.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest and python-pytest-mock.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iea750cf722293c4054a6c6e43787806f8f2fd5e2
2024-01-15 21:47:27 +00:00
Troy Figiel
da3764b75c
gnu: python-requests-kerberos: Fix build.
* gnu/packages/python-web.scm (python-requests-kerberos)[propagated-inputs]:
Add python-gssapi.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I65d1fac0339a119e7a4912d5db150b4adb7586ad
2024-01-15 21:43:20 +00:00
Sharlatan Hellseher
7061f0b1d0
gnu: python-pyspnego: Propagate python-krb5.
* gnu/packages/python-xyz.scm (python-pyspnego)[propagated-inputs]: Add
python-krb5.

Change-Id: I2c8ccbd66394cb90ea047f7327d05ecbfe2ec22d
2024-01-15 21:29:49 +00:00
Troy Figiel
bba2fa646d
gnu: Add python-krb5.
* gnu/packages/python-xyz.scm (python-krb5): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-01-15 21:15:09 +00:00
Sharlatan Hellseher
1e3f1f9f92
gnu: Remove python-activepapers.
<https://issues.guix.gnu.org/68425>

This package fails to build and has been not maintained since 2017.

* gnu/packages/python-xyz.scm (python-activepapers): Remove variable.

Reported-by: Troy Figiel <troy@troyfigiel.com>
Change-Id: Id1e968cd4e06919a80ad05e5c8d3fb207426fdde
2024-01-15 20:56:22 +00:00
Ludovic Courtès
162d6a2fdd
gnu: hpcguix-web: Add explicit dependency on Guile-GnuTLS.
This is necessary in hpcguix-web 0.4.1 to connect to
https://disarchive.guix.gnu.org.

* gnu/packages/web.scm (hpcguix-web)[arguments]: In ‘wrap-program’ phase,
add guile-gnutls to the wrapper’s search path.
[inputs]: Add GUILE-GNUTLS.

Change-Id: Ic4d6f65adeb763a404fc24c7e1c87fd7d26550c7
2024-01-15 08:57:01 +01:00
Tanguy Le Carrour
f6afaf58b0
gnu: fish-foreign-env: Update to 0.20230823.
* gnu/packages/shells.scm (fish-foreign-env): Update to 0.20230823.
[arguments]: Do no substitute in file that no longer exists.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I04138c1d3e8c174b2197e5ca60aaca4caa5453cc
2024-01-14 23:00:04 +01:00
Ludovic Courtès
68f04aa339
gnu: cuirass: Update to 7bcd3d0.
* gnu/packages/ci.scm (cuirass): Update to 7bcd3d0.

Change-Id: Iefc460df509a2c006f3a49d6050ef08940ed2850
2024-01-14 23:00:04 +01:00
Jack Hill
ef270f9d73
gnu: openssh: Fix build on ppc64le.
* gnu/packages/ssh.scm (openssh)[source]:
Use 'openssh-gcc-13-ppc64le-fzero-call-used-regs.patch'.
* gnu/packages/patches/openssh-gcc-13-ppc64le-fzero-call-used-regs.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Reported-by: Marcel van der Boom <marcel@van-der-boom.nl>.

Change-Id: I41b1350b2cdd1487a8fd69b13b64f63c0dc166c9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:04 +01:00
Artyom V. Poptsov
80bec14a9e
gnu: guile-ssh: Update to 0.16.4.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.16.4.
  [arguments]: Improve the style.

Change-Id: Ib7d741e7f4fc7a1fc167cfa4f7953f84d9f4d390
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:04 +01:00
Ludovic Courtès
fe736803da
gnu: hpcguix-web: Update to 0.4.1.
* gnu/packages/web.scm (hpcguix-web): Update to 0.4.1.

Change-Id: I8bd642735b3cbdf03b07cdd184295b6e32a4e6f7
2024-01-14 23:00:03 +01:00
Tomas Volf
0aec4e7b70
tests: install: Fix encrypted-home-os, encrypted-home-os-key-file tests.
The installation no longer fits into the 1.6G, leading to a warning while
running the test:

    guix system: warning: at least 1526.8 MB needed but only 1408.4 MB available in /mnt

Followed by a failure:

     93% [####################################################################     ]note: build failure may have been caused by lack of free disk space
    builder for `/gnu/store/8wl8q8nc1za0vlyv21jpzwgml45njgk2-module-import-compiled.drv' failed with exit code 1

This commit increases the root partition to 2G, making the test pass again.

* gnu/tests/install.scm (%encrypted-root-installation-script): Increase the
root partition to 2G.
(%test-encrypted-home-os), (%test-encrypted-home-os-key-file): Increase the
target size to 3G to accommodate for the larger root partition.

Change-Id: I0f7092f7b7fc9992d3f895a1eaecf1f2065b7360
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:03 +01:00
Tomas Volf
2bfff0da33
tests: install: Fix encrypted-root-os test.
The installation no longer fits into the 1.6G, leading to a warning while
running the test:

    guix system: warning: at least 1526.8 MB needed but only 1408.4 MB available in /mnt

Followed by a failure:

     93% [####################################################################     ]note: build failure may have been caused by lack of free disk space
    builder for `/gnu/store/8wl8q8nc1za0vlyv21jpzwgml45njgk2-module-import-compiled.drv' failed with exit code 1

This commit increases the root partition to 2G, making the test pass again.

* gnu/tests/install.scm (%encrypted-root-installation-script): Increase the
root partition to 2G.

Change-Id: I4cc5c78cfbd93ab2ae92ec77603ce6fee0289843
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:03 +01:00
Tomas Volf
a355131ba8
tests: install: Use the smallest possible iteration time for LUKS.
For testing that installation works, there is no need to spent 2000ms (the
default) iterating while generating the encryption key.  This commit therefore
sets the iteration time to the lowest possible value, 1(ms).

* gnu/tests/install.scm (%encrypted-root-installation-script):
(%encrypted-home-installation-script):
(%encrypted-root-not-boot-installation-script): Pass -i 1 to luksFormat
invocation.

Change-Id: Iab79459b48bebe4d293b18290a236c6414fb27fc
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:03 +01:00
Tomas Volf
10ea0dba00
tests: Add `encrypted-home-os-key-file' installation test.
Based on encrypted-home-os, this test verifies unlocking via a key file.

* gnu/tests/install.scm (%encrypted-home-os-key-file),
(%encrypted-home-os-key-file-source): New variables.
(%test-encrypted-home-os-key-file): New exported variables.
(%encrypted-home-installation-script): Generate initrd with a key file for
unlocking the LUKS.

Change-Id: I04460155284bdef7e18da645f2b4b26bd8e86636
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:03 +01:00
Tomas Volf
086850e5b2
bootloader: grub: Add support for loading an additional initrd.
In order to be able to provide decryption keys for the LUKS device, they need
to be available in the initial ram disk.  However they cannot be stored inside
the usual initrd, since it is stored in the store and being a
world-readable (as files in the store are) is not a desired property for a
initrd containing decryption keys.  This commit adds an option to load
additional initrd during the boot, one that is not stored inside the store and
therefore can contain secrets.

Since only grub supports encrypted /boot, only grub is modified to use the
extra-initrd.  There is no use case for the other bootloaders.

* doc/guix.texi (Bootloader Configuration): Describe the new extra-initrd
field.
* gnu/bootloader.scm (<bootloader-configuration>): Add extra-initrd field.
* gnu/bootloader/grub.scm (make-grub-configuration): Use the extra-initrd
field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I995989bb623bb594ccdafbf4a1a6de941bd4189f
2024-01-14 23:00:03 +01:00
Tomas Volf
d082312ef7
mapped-devices: Allow unlocking by a key file.
Requiring the user to input their password in order to unlock a device is not
always reasonable, so having an option to unlock the device using a key file
is a nice quality of life change.

* gnu/system/mapped-devices.scm (open-luks-device): Add #:key-file argument.
(luks-device-mapping-with-options): New procedure.
* doc/guix.texi (Mapped Devices): Describe the new procedure.

Change-Id: I1de4e045f8c2c11f9a94f1656e839c785b0c11c4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-01-14 23:00:03 +01:00
Ludovic Courtès
db43edaa0a
gnu: Make intermediate packages public but hidden.
This makes those packages visible to (gnu ci), giving them first class
in the eyes of Cuirass and similar tools, in turn ensuring substitutes
are available (this was discovered by running ‘guix weather -c 10’).

* gnu/packages/rust.scm (rust-bootstrap, rust-1.55)
(rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60)
(rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65)
(rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70)
(rust-1.71, rust-1.72, rust-1.73): Make variable public and add
‘hidden?’ property.
(rust): Remove ‘hidden?’ property.
* gnu/packages/java.scm (java-hamcrest-parent-pom)
(java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public
and add ‘hidden?’ property.
* gnu/packages/ocaml.scm (dune-bootstrap)
(ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise.

Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
2024-01-14 23:00:02 +01:00
Herman Rimm
3f301ddc4f
gnu: qutebrowser: Update to 3.1.0.
* gnu/packages/web-browsers (qutebrowser): Update to 3.1.0.
[inputs]: Use PyQt6, placed before PyQtWebengine.
[arguments]: Replace qt5 path with qt6 path and wrap program with
QTWEBENGINE_RESOURCES_PATH.
[description]: Replace PyQt5 with PyQt6.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
2024-01-14 22:19:18 +01:00
Tristan Cottam
bcc9cd1aae
gnu: Add minetest-server.
* gnu/packages/minetest.scm (minetest-server): New variable.

Change-Id: I1125888b2944acc4063a19db4c602d33286a7e14
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-01-14 12:59:28 +01:00
Vivien Kraus
da14567354
teams: Add Vivien Kraus.
* etc/teams.scm.in ("Vivien Kraus"): New member.

Change-Id: Iab2c9300f3e1e604fb2ee539a7eb05e7a3f54776
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-01-14 11:47:52 +01:00
Simon South
3351c5e59d
gnu: unknown-horizons: Fix build and runtime errors.
Apply two upstream commits that allow building with Python 3.9 or newer and
running with Python 3.10.

* gnu/packages/patches/unknown-horizons-python-3.9.patch: New file.
* gnu/packages/patches/unknown-horizons-python-3.10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/games.scm (unknown-horizons)[source]: Apply them.

Change-Id: Icbc8b698b913be01465b09ab26afb29e5fd62a87
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Fixes: Unknown Horizons fails to start <https://bugs.gnu.org/54815>
2024-01-14 10:02:07 +01:00
Simon South
e7823dbe8c
gnu: fifengine: Fix runtime error when using Python 3.9 or newer.
* gnu/packages/patches/fifengine-python-3.9-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/games.scm (fifengine)[source]: Apply it.

Change-Id: I61001d6b87db00c71f1e2e6ca3bac8581e941451
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-01-14 10:01:59 +01:00
John Kehayias
18393fcddd
gnu: check2: Fix tests on i686-linux.
Reported upstream to <https://github.com/catchorg/Catch2/issues/2796>.  It is
expected that SSE2 is enabled for i686 builds or tests fail.

* gnu/packages/check.scm (check2)[arguments]: Enable SSE2 for x86_64-linux and
i686-linux in configure-flags.

Co-authored-by: Richard Sent <richard@freakingpenguin.com>
Co-authored-by: Jo Gay <@jane.lx.gay>
Change-Id: I99205f92b66ab3d10affbfb58918f37069ba82ec
2024-01-13 17:29:46 -05:00
Tomas Volf
31e736dac2
scripts: pack: Set correct default value for entry-point-argument.
The default value of #f led to ("..." . #f) being passed further down as an
entry point.  That is not an issue for command line invocation, since in that
code path '() was already used as a default value, but it broke docker system
test with the following error:

    building /gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv...
    tar: Removing leading `/' from member names
    Backtrace:
               6 (primitive-load "/gnu/store/g8hqzccfvn4mkm41jqs65c27gs7?")
    In ./guix/docker.scm:
        268:6  5 (build-docker-image "/gnu/store/zi2f5dfdrhviinm6jxp3cj?" ?)
    In ice-9/ports.scm:
       433:17  4 (call-with-output-file _ _ #:binary _ #:encoding _)
        476:4  3 (_ _)
    In ./guix/docker.scm:
       270:21  2 (_)
       123:40  1 (config "1996ead589ab366473d935c4d5bd0c38b998f3b299847?" ?)
    In unknown file:
               0 (list->vector ("/gnu/store/1pvqd30qi1aigjdf7s7l8v7?" . #))

    ERROR: In procedure list->vector:
    In procedure vector: Wrong type argument in position 1: ("/gnu/store/1pvqd30qi1aigjdf7s7l8v7wpvrrhfkj-profile/bin/guile" . #f)
    note: keeping build directory `/tmp/guix-build-docker-pack.tar.gz.drv-16'
    builder for `/gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv' failed with exit code 1
    build of /gnu/store/dll8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv failed
    View build log at '/var/log/guix/drvs/dl/l8jj6h5pfgf6ya9skk1g1546smwbib-docker-pack.tar.gz.drv.gz'.
    cannot build derivation `/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv': 1 dependencies couldn't be built
    guix build: error: build of `/gnu/store/dq9qk1ba0f07572m8ck3xws28x1b3rif-docker-test.drv' failed
    make: *** [Makefile:7044: check-system] Error 1

Breakage was introduced in 7d5168a2af.

* guix/scripts/pack.scm (docker-image)[entry-point-argument]: Default to '().

Change-Id: If5fc1f8bcb0981df11409636e71f2ca91b05612f
2024-01-13 15:39:09 +01:00
Tomas Volf
2282c16533
gnu: Add guile-srfi-197.
* gnu/packages/guile-xyz.scm (guile-srfi-197): New variable.

Change-Id: Ifcdc264e6a03e88e7614d79792fbe6ca9c8e519c
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-13 15:39:09 +01:00
Guillaume Le Vaillant
5e9af6ad5c
gnu: sdrangel: Update to 7.17.3.
* gnu/packages/radio.scm (sdrangel): Update to 7.17.3.

Change-Id: Ib64a1cded8b7682eab97667036fbcdf38590ded2
2024-01-13 13:56:20 +01:00
Guillaume Le Vaillant
4415497257
gnu: dsdcc: Update to 1.9.5.
* gnu/packages/radio.scm (dsdcc): Update to 1.9.5.

Change-Id: I47d787850932f5648aec267591e3102be86275ca
2024-01-13 13:50:23 +01:00
Guillaume Le Vaillant
7b5a3c0127
gnu: rtl-433: Update to 23.11.
* gnu/packages/radio.scm (rtl-433): Update to 23.11.

Change-Id: I06c5bdf4cffab5e27bbaa0621cb835c93656e6c2
2024-01-13 13:43:12 +01:00