Commit graph

125320 commits

Author SHA1 Message Date
Attila Lendvai a90bb1d302
gnu: trezord: Update to 2.0.33.
* gnu/packages/finance.scm (trezord): Update to 2.0.33.
  [arguments]: Specify go-1.20 as the compiler.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-03 16:02:02 +02:00
Attila Lendvai 476c38c53a
gnu: trezor-agent: Fix build, change versioning scheme.
Clarify the versioning of the package in a comment, so that later updates will
not pick the wrong version number.

* gnu/packages/finance.scm (trezor-agent)[version]: Copy version from
  python-trezor-agent which effectively updates it from 0.14.4 to 0.14.7.
  [source]: Copy the origin also from python-trezor-agent to effectively sync
  the source and the version of the two packages; something that upstream will
  also do in future releases. Update snippet.
  [native-inputs]: Add missing python-bech32 and python-simple-rlp so that the
  test suite runs clean and the build finishes.
  [arguments]: Reenable 'sanity-check' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-03 16:02:02 +02:00
Attila Lendvai 75aff50fce
gnu: python-trezor-agent: Update to 0.14.7.
* gnu/packages/finance.scm (python-trezor-agent): Update to 0.14.7.
  [native-inputs]: Add python-bech32 and python-cryptography.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-03 16:02:02 +02:00
Attila Lendvai ed363d6ddb
gnu: python-trezor: Update to 0.13.7.
* gnu/packages/finance.scm (python-trezor): Update to 0.13.7.
  [propagated-inputs]: Drop python-click-7 kludge, add
  python-construct-classes instead of python-construct.
  [native-inputs]: Add python-pillow, python-simple-rlp and python-wheel.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-03 16:02:02 +02:00
Attila Lendvai 8036852533
gnu: Add python-construct-classes.
* gnu/packages/python-xyz.scm (python-construct-classes): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-03 16:02:02 +02:00
Guillaume Le Vaillant 61810fd973
gnu: gr-osmosdr: Update to 0.2.4.
* gnu/packages/radio.scm (gr-osmosdr): Update to 0.2.4.
2023-10-03 16:02:02 +02:00
Hilton Chain a71232b2c5
Revert "gnu: emacs-buttercup: Fix native comp tests with emacs-next."
This reverts commit e45f9b4b12, which doesn't
fix the test issue.
2023-10-03 20:25:53 +08:00
Hilton Chain 99a46ecb26
gnu: spectre-meltdown-checker: Update to 0.46.
* gnu/packages/patches/spectre-meltdown-checker-externalize-fwdb.patch: Update
patch.
* gnu/packages/patches/spectre-meltdown-checker-find-kernel.patch: Delete file
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/linux.scm (spectre-meltdown-checker): Update to 0.46.
[#:phases]<fixpath>: Correct name for bunzip2.
Substitute lzop and mktemp as well.
2023-10-03 20:21:42 +08:00
Hilton Chain 5f81d31aa4
gnu: font-lxgw-wenkai-tc: Update to 1.010.
* gnu/packages/fonts.scm (font-lxgw-wenkai-tc): Update to 1.010.
2023-10-03 20:21:10 +08:00
Hilton Chain cc9e24ca03
gnu: font-lxgw-wenkai: Update to 1.310.
* gnu/packages/fonts.scm (font-lxgw-wenkai): Update to 1.310.
2023-10-03 20:20:59 +08:00
Hilton Chain 0951f2a2c2
gnu: font-sarasa-gothic: Update to 0.42.1.
* gnu/packages/fonts.scm (font-sarasa-gothic): Update to 0.42.1.
2023-10-03 20:20:45 +08:00
Hilton Chain d6555049fd
gnu: font-chiron-hei-hk: Update to 2.508.
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.508.
2023-10-03 20:20:28 +08:00
Florian Pelz 18b4db357b
news: Add 'de' translation.
* etc/news.scm: Add German translation of offloading entry.
2023-10-03 14:07:29 +02:00
Florian Pelz 2503376827
news: Fix typo.
* etc/news.scm: Fix typo in the English text on offloading.
2023-10-03 14:07:08 +02:00
Vinicius Monego 789a8538d6
gnu: shotcut: Update to 23.09.29.
* gnu/packages/video.scm (shotcut): Update to 23.09.29.
2023-10-03 08:50:41 -03:00
Vinicius Monego c2291c8b28
gnu: mlt: Update to 7.20.0.
* gnu/packages/video.scm (mlt): Update to 7.20.0.
2023-10-03 08:50:41 -03:00
Vinicius Monego 350b812a22
gnu: python-scikit-rf: Update to 0.29.1.
* gnu/packages/engineering.scm (python-scikit-rf): Update to 0.29.1.
[native-inputs]: Add python-pytest-mock.
2023-10-03 08:50:41 -03:00
Guillaume Le Vaillant d69c557d64
gnu: satdump: Add support for BladeRF.
* gnu/packages/radio.scm (satdump)[inputs]: Add bladerf.
2023-10-03 09:50:33 +02:00
Guillaume Le Vaillant 26a3fc8449
gnu: urh: Add support for Airspy and BladeRF.
* gnu/packages/radio.scm (urh)[inputs]: Add airspy and bladerf.
2023-10-03 09:50:33 +02:00
Guillaume Le Vaillant 4f1365a263
gnu: sdr++: Add support for BladeRF.
* gnu/packages/radio.scm (sdr++)[inputs]: Add bladerf.
  [arguments]: Update 'configure-flags'.
2023-10-03 09:50:33 +02:00
Guillaume Le Vaillant 6c012137d8
gnu: sdrangel: Add support for BladeRF.
* gnu/packages/radio.scm (sdrangel)[inputs]: Add bladerf.
2023-10-03 09:50:33 +02:00
Guillaume Le Vaillant d1ed2ce12c
gnu: dump1090: Add support for BladeRF.
* gnu/packages/radio.scm (dump1090)[inputs]: Add bladerf.
  [arguments]: Update 'make-flags'.
2023-10-03 09:50:32 +02:00
Guillaume Le Vaillant e788923600
gnu: gr-osmosdr: Add support for BladeRF and IQ balance correction.
* gnu/packages/radio.scm (gr-osmosdr)[inputs]: Add bladerf and gr-iqbal.
  [arguments]: Add 'fix-gnuradio-iqbalance-detection' phase. Use gexp.
2023-10-03 09:50:32 +02:00
Guillaume Le Vaillant 18ee78a999
gnu: Add soapybladerf.
* gnu/packages/radio.scm (soapybladerf): New variable.
2023-10-03 09:50:32 +02:00
Guillaume Le Vaillant ee7296ff47
gnu: Add bladerf.
* gnu/packages/radio.scm (bladerf): New variable.
2023-10-03 09:50:32 +02:00
Leo Famulari abf7a1e986
gnu: Add linux-libre 6.5.
* gnu/packages/linux.scm (linux-libre-6.5-version, linux-libre-6.5-gnu-revision,
deblob-scripts-6.5, linux-libre-6.5-pristine-source, linux-libre-6.5-source,
linux-libre-headers-6.5, linux-libre-6.5): New variables.
* gnu/packages/aux-files/linux-libre/6.5-arm.conf,
gnu/packages/aux-files/linux-libre/6.5-arm64.conf,
gnu/packages/aux-files/linux-libre/6.5-i686.conf,
gnu/packages/aux-files/linux-libre/6.5-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2023-07-23 22:26:00 -04:00
Sharlatan Hellseher 9ecc29394e
gnu: Add python-casa-formats-io.
* gnu/packages/astronomy.scm (python-casa-formats-io): New variable.

Co-Authored-By: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-02 11:20:29 -04:00
Timotej Lazar 673d7501ae
gnu: mupdf: Update to 1.23.3.
* gnu/packages/pdf.scm (mupdf): Update to 1.23.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-02 17:17:07 +02:00
Yovan Naumovski e990115cd9
gnu: milkytracker: Update to 1.04.00.
* gnu/packages/music.scm (milkytracker): Update to 1.04.00.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-02 17:17:07 +02:00
Ludovic Courtès e0e85f2b23
services: mcron: Do not #:select ‘%user-log-dir’.
* gnu/services/mcron.scm (mcron-shepherd-services): Do not #:select
‘%user-log-dir’ from (shepherd support) since it’s missing in the
Shepherd 0.8, which is still used on GNU/Hurd.
2023-10-02 17:17:07 +02:00
Nicolas Graves e45f9b4b12
gnu: emacs-buttercup: Fix native comp tests with emacs-next.
* gnu/packages/emacs-xyz.scm (emacs-buttercup): Add patch emacs-buttercup-fix-native-comp-pretty-test.
* gnu/packages/patches/emacs-buttercup-fix-native-comp-pretty-test.patch: Add
file.
* gnu/local.mk: Add emacs-buttercup-fix-native-comp-pretty-test.patch.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-10-02 16:55:04 +04:00
Ludovic Courtès 3b71b2dca7
gnu: cuirass: Update to 797b26a.
* gnu/packages/ci.scm (cuirass): Update to 797b26a.
* gnu/services/cuirass.scm (cuirass-activation): Create /var/run/cuirass.
2023-10-02 11:07:14 +02:00
Steve George 47d0346553
gnu: rust-rspotify: Update to 0.11.7.
* gnu/packages/crates-io.scm (rust-rspotify): Update to 0.11.7.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George 304da4f1e3
gnu: Add rust-rspotify-http-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-http-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George a7152f722f
gnu: Add rust-maybe-async-0.2.
* gnu/packages/crates-io.scm (rust-maybe-async-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George f9f292f123
gnu: Add rust-rspotify-macros-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-macros-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George f78ecf736c
gnu: Add rust-rspotify-model-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-model-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George 248aa76885
gnu: Add rust-enum-dispatch-0.3.
* gnu/packages/crates-io.scm (rust-enum-dispatch-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:11 +03:00
Steve George 15693e8714
gnu: Add rust-enum-derive-0.1.
* gnu/packages/crates-io.scm (rust-enum-derive-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:11 +03:00
Janneke Nieuwenhuizen 63dbcec93d
gnu: guix: Update to 1.4.0-12.b9fae146d6.
This brings the "declarative offloading setup" and using "the right locale
package on GNU/Hurd".

* gnu/packages/package-management.scm (guix): Update to 1.4.0-12.b9fae146d6.
2023-10-02 09:28:02 +02:00
Ludovic Courtès b9fae146d6
news: Add entry for declarative offloading.
* etc/news.scm: Add entry.
2023-10-01 23:01:34 +02:00
Ludovic Courtès 953c65ffdd
services: hurd-vm: Implement zero-configuration offloading.
This allows for zero-configuration offloading to a childhurd.

* gnu/services/virtualization.scm (operating-system-with-offloading-account):
New procedure.
(<hurd-vm-configuration>)[offloading?]: New field.
(hurd-vm-disk-image): Define ‘transform’ and use it.
(hurd-vm-activation): Generate SSH key for user ‘offloading’ and add
authorize it via /etc/childhurd/etc/ssh/authorized_keys.d.
(hurd-vm-configuration-offloading-ssh-key)
(hurd-vm-guix-extension): New procedures.
(hurd-vm-service-type): Add GUIX-SERVICE-TYPE extension.
* gnu/tests/virtualization.scm (run-childhurd-test)[import-module?]: New
procedure.
[os]: Add (gnu build install) and its closure to #:import-modules.
[test]: Add “copy-on-write store” and “offloading” tests.
* doc/guix.texi (Virtualization Services): Document it.
2023-10-01 22:58:20 +02:00
Ludovic Courtès 990d20d4a8
doc: Give an example showing how to add an account in the childhurd.
* doc/guix.texi (Virtualization Services): Give an example showing how
to add an account.
2023-10-01 22:58:20 +02:00
Ludovic Courtès c3a19cc2ac
services: hurd-vm: Disable password-based authentication for root.
With offloading to a childhurd is enabled, allowing password-less root
login in the childhurd to anyone amounts to providing write access to
the host’s store to anyone.  Thus, disable password-based root logins in
the childhurd.

* gnu/services/virtualization.scm (%hurd-vm-operating-system): Change
‘permit-root-login’ to 'prohibit-password.
* gnu/tests/virtualization.scm (%childhurd-os): Provide a custom ‘os’
field for ‘hurd-vm-configuration’.
* doc/guix.texi (Virtualization Services): Remove mention of
password-less root login.
2023-10-01 22:58:20 +02:00
Ludovic Courtès 100d71f8a1
tests: hurd-vm: Remove custom disk image configuration.
This was added in 18e76f8905.  Presumably,
the problem was that using compressed QCOW2 images makes the childhurd
slower, so it’s eventually marked as failing to start.  By enabling KVM
inside the Guix System VM, we allow the childhurd to run on KVM, which
compensates the slowdown due to the use of a compressed image.

* gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): Remove.
(%childhurd-os): Use default config for ‘hurd-vm-service-type’.
(run-childhurd-test)[test]: Pass “-cpu host” to the run-vm script.
2023-10-01 22:58:19 +02:00
Ludovic Courtès bab6434f58
services: hurd-vm: ‘image’ field has to be an <image> record.
* gnu/services/virtualization.scm (<hurd-vm-configuration>)[image]:
Document as being an <image> record.
(hurd-vm-disk-image): Remove call to ‘system-image’.
(hurd-vm-shepherd-service): Add call to ‘system-image’.
* gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): Remove call to
‘system-image’.
* doc/guix.texi (Virtualization Services): Adjust accordingly.
2023-10-01 22:58:19 +02:00
Ludovic Courtès 416933cde5
services: childhurd: Authorize the childhurd’s key on the host.
This partly automates setting up a childhurd for offloading purposes.

* gnu/services/virtualization.scm (authorize-guest-substitutes-on-host):
New procedure.
(hurd-vm-activation): Use it.
2023-10-01 22:58:19 +02:00
Ludovic Courtès aa40b085dc
services: guix: Support declarative offloading setup.
* gnu/services/base.scm (guix-machines-files-installation): New
procedure.
(<guix-configuration>)[build-machines]: New field.
(guix-activation): Call ‘ guix-machines-files-installation’.
(<guix-extension>)[build-machines]: New field.
(guix-extension-merge): Handle it.
(guix-service-type)[extend]: Likewise.
* doc/guix.texi (Daemon Offload Setup): Add note linking to
‘guix-configuration’.
(Base Services): Document ‘build-machines’ field of <guix-configuration>
and of <guix-extension>.
(Virtualization Services): Add ‘hurd-vm’ anchor.
2023-10-01 22:58:19 +02:00
Ludovic Courtès 21deb89e28
services: guix: Use the right locale package on GNU/Hurd.
Fixes a bug introduced in 0dd293b4d9
whereby guix-daemon on GNU/Hurd would have ‘GUIX_LOCPATH’ set to the
“wrong” locale data (2.35 instead of 2.37).

Consequently, it would fail to setlocale(3) and calls to
‘std::stoi’ (when reading the output of ‘guix authenticate’) would
throw, leading to this error message of guix-daemon:

  unexpected build daemon error: stoi

This would manifest when sending store items to a childhurd:

  $ guix copy --to=localhost:10022 sed
  guix copy: sending 1 store item (1 MiB) to 'localhost'...
  guix copy: error: unknown error while sending files over SSH

The “unknown error” is the ‘stoi’ exception.

This commit fixes that, but for the ‘guix-daemon’ service only.

* gnu/services/base.scm (guix-shepherd-service)[locales]: New variable.
Use it instead of ‘glibc-utf8-locales’.
2023-10-01 22:58:19 +02:00
Ludovic Courtès ae50099c46
gnu: glibc-utf8-locales: Reintroduce input labels.
Since 2f73ea3487,
‘make-glibc-utf8-locales’ couldn’t be passed a package with a name other
than “glibc” (in particular “glibc-hurd”) since the builder expects the
name “glibc” in ‘%build-inputs’.

* gnu/packages/base.scm (make-glibc-utf8-locales): Reintroduce labels in
‘native-inputs’.
2023-10-01 22:58:19 +02:00