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
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
gnu: python-pyspnego: Propagate python-krb5.
* gnu/packages/python-xyz.scm (python-pyspnego)[propagated-inputs]: Add
python-krb5.
Change-Id: I2c8ccbd66394cb90ea047f7327d05ecbfe2ec22d
gnu: Add python-krb5.
* gnu/packages/python-xyz.scm (python-krb5): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
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
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
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
gnu: cuirass: Update to 7bcd3d0.
* gnu/packages/ci.scm (cuirass): Update to 7bcd3d0.
Change-Id: Iefc460df509a2c006f3a49d6050ef08940ed2850
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>
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>
gnu: hpcguix-web: Update to 0.4.1.
* gnu/packages/web.scm (hpcguix-web): Update to 0.4.1.
Change-Id: I8bd642735b3cbdf03b07cdd184295b6e32a4e6f7
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>
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>
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>
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>
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
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>
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
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>
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>