Commit graph

149953 commits

Author SHA1 Message Date
Sharlatan Hellseher
559590cfc2
gnu: calceph: Update to 4.0.3.
* gnu/packages/astronomy.scm (calceph): Update to 4.0.3.

Change-Id: If55f18abb989a2181c8b753bf676935da57b49bb
2024-12-30 15:07:38 +00:00
Sharlatan Hellseher
868a3a5418
gnu: Add julia-commonsolve.
* gnu/packages/julia-xyz.scm (julia-commonsolve): New variable.

Change-Id: If73125bcfe53b26c818fedd14bd8ddbbb863e887
2024-12-30 15:06:35 +00:00
Sharlatan Hellseher
69e1aa2186
gnu: Add julia-extents.
* gnu/packages/julia-xyz.scm (julia-extents): New variable.

Change-Id: Ia75a16fc1ba50c7e12eec74bcd5e3f8c9dc1d92e
2024-12-30 15:06:35 +00:00
Sharlatan Hellseher
6ac0c59428
gnu: Add julia-interfaces.
* gnu/packages/julia-xyz.scm (julia-interfaces): New variable.

Change-Id: Ia0dc3903460f4fa87a0649e404dacea33c0f8f04
2024-12-30 15:06:35 +00:00
Sharlatan Hellseher
ddbdb54193
gnu: julia-dataapi: Update to 1.16.0.
* gnu/packages/julia-xyz.scm (julia-dataapi): Update to 1.16.0.

Change-Id: I96f00b74ef954d3ee7f41e571ceb5adc50e0acbf
2024-12-30 15:06:11 +00:00
Sharlatan Hellseher
654e867bad
gnu: julia-preferences: Update to 1.4.3.
* gnu/packages/julia-xyz.scm (julia-preferences): Update to 1.4.3.

Change-Id: Ia8ddaf611a7845879481ca6b2b30ec416f73c2c5
2024-12-30 15:06:11 +00:00
Noé Lopez
3ea95d7736
pack: Fix type error in ‘assert-utf8-locale’.
getenv returns #f if the environment variable does not exist, causing a type
error since string=? expects a string.

* guix/build/pack.scm (assert-utf8-locale): Handle unset environment variable.

Change-Id: Idbe7a33a4c8453b8f4ffe6245c32c1373020fb06
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
a775968063
gnu: u-boot: Use downstream-package-name.
* gnu/packages/bootloaders.scm (u-boot): Use downstream-package-name.

Change-Id: I7226519a676ba201be3a95078112b6514a201731
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
558c1f39a1
gnu: make-arm-trusted-firmware: Use downstream-package-name.
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Use
downstream-package-name.
[arguments]: Remove configure phase, use fix-cross-build phase instead.
(arm-trusted-firmware-sun50i-a64): Return base package directly.

Change-Id: I23f05ac5e8e897037cd8d8afc4e747b05e56e32d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
f6b85da0b9
import: utils: Move downstream-package-name to (guix utils).
* guix/import/elpa.scm: Import (guix utils).
* guix/import/texlive.scm: Import (guix utils).
* guix/import/utils.scm (downstream-package-name): Move to ...
* guix/utils.scm (downstream-package-name): ... here.

Change-Id: If56a452f64ed06c8bb06a96a283a5067cb54d602
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
01c4e02e33
import: texlive: Remove guix-name.
* guix/import/texlive.scm (guix-name): Remove.
(list-upstream-inputs, tlpdb->package): Use downstream-package-name.

Change-Id: I8f04d27a42f762c5604cb8874042fabbbe1e9873
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Herman Rimm
a805c60151
import: utils: Rename guix-name to downstream-package-name.
* guix/import/cran.scm (cran-guix-name): Adjust.
* guix/import/crate.scm (crate-name->package-name): Adjust.
* guix/import/elpa.scm (elpa-guix-name): Adjust.
* guix/import/npm-binary.scm (npm-name->name): Adjust.
* guix/import/utils.scm (downstream-package-name): Add procedure.
[description]: Use definite article, uppercase 'name' argument.
(guix-name): Deprecate.

Change-Id: I374892be18fbeaae1bc051b8d0c79ca4c33ed8c4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
45mg
8695dcf9d2
services: elogind: Support hook directories.
Allow the user to specify scripts to be added into Elogind's hook
directories. These scripts will be run before/after
suspend/hibernate/poweroff/reboot.

Also allow setting the associated config options.

* gnu/services/desktop.scm (elogind-configuration): add
`system-sleep-hook-files`, `system-shutdown-hook-files`,
and 4 new config options.
(elogind-configuration-file): Add entries for the new config options
under the `[Sleep]` section.
(elogind-etc-directory): New procedure.
(elogind-service-type): Extend `etc-service-type` using `/etc/elogind`.
* doc/guix.texi (Desktop Services): Document the new options.

Change-Id: I7e22cbaa9d031049b9d085ba0ce4cc8a8b4f16ff
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 13:49:57 +01:00
Ludovic Courtès
aefe57c69f
gnu: guix: Update to 121e96d.
* gnu/packages/package-management.scm (guix): Update to 121e96d.

Change-Id: I5bc7156fc8b23bf68a7caf262201198c03a77ad0
2024-12-30 13:49:56 +01:00
Artyom V. Poptsov
e2bac72206
gnu: abcl: Update to 1.9.3.
* gnu/packages/java.scm (abcl): Update to 1.9.3.

Change-Id: I401585fcf8952a29ee4244f0c4962893e96992a0
2024-12-30 15:46:26 +03:00
Nicolas Graves
c26287d796
gnu: Add dlpack.
* gnu/packages/machine-learning.scm (dlpack): New variable.

Change-Id: I9223e5c3b8f8317f88954cfdaccdfa11a51b7167
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2024-12-30 19:16:19 +08:00
Ludovic Courtès
121e96dca2
channels: Adjust tests for new #:verify-certificate? parameter.
This is a followup to 9544a04411.

* tests/channels.scm ("latest-channel-instances includes channel dependencies")
("latest-channel-instances excludes duplicate channel dependencies"):
Add #:verify-certificate? parameter to ‘update-cached-checkout’ mock.

Change-Id: Ia795b965c564e5552525327d1d748635dc66d5fd
2024-12-30 11:01:54 +01:00
Ludovic Courtès
bdde278dc9
import: pypi: Adjust test to new setuptools and wheel requirements.
This is a followup to c904350a81 and
d7890af335, which led to adding
‘setuptools’ and ‘wheel’ to ‘native-inputs’ in many (most?) cases.

* tests/pypi.scm ("pypi->guix-package, no wheel")
("pypi->guix-package, no requires.txt, but wheel.")
("pypi->guix-package, no usable requirement file, no wheel."): Add
‘python-setuptools’ and ‘python-wheel’ to the native inputs.
("package-latest-release"): Add ‘setuptools’ and ‘wheel’ to the expected
result.

Change-Id: I4d1001b0ad332836fe7d1d9ecd07d4adc32330af
2024-12-30 11:01:54 +01:00
Ludovic Courtès
4ebc1aba19
import: pypi: Preserve order of dependencies from ‘requires.txt’ and wheel.
Fixes a regression introduced in
a3ffb920f1 and revealed by
‘tests/pypi.scm’.

* guix/import/pypi.scm (parse-requires.txt): Reverse REQUIRED-DEPS and
TEST-DEPS when returning.
(parse-wheel-metadata): Likewise.

Change-Id: I2c374505052f0d9e46e7cc1c11d3e97ab522e068
2024-12-30 11:01:54 +01:00
Ludovic Courtès
13e7caf52c
services: resize-file-system: Remove invalid default value.
The default value of #f for the ‘file-system’ field is invalid and would
trigger a type error when running ‘guix system search’.

* gnu/services/admin.scm (<resize-file-system-configuration>)[file-system]:
Remove default value.
(resize-file-system-service-type)[default-value]: Remove.
* doc/guix.texi (Miscellaneous Services): Adjust accordingly.

Change-Id: If73f8923f49d38827059ba98bd53636a7f3917fe
2024-12-30 11:01:43 +01:00
Artyom V. Poptsov
3a6c5922aa
gnu: most: Update to 5.2.0.
* gnu/packages/slang.scm (most): Update to 5.2.0.

Change-Id: I448f7dd569640623b605c316ad9cee6ceccc3484
2024-12-30 12:37:15 +03:00
Yovan Naumovski
4860415634
gnu: endless-sky: Update to 0.10.10.
* gnu/packages/games.scm (endless-sky): Update to 0.10.10.
[inputs]: Add catch2-3.

Change-Id: I1ef88580c0b30169d7c3d9fae7c6c792ad1fa43a
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-30 17:20:08 +08:00
Zheng Junjie
fb21b31610
gnu: compdb: Fix build.
* gnu/packages/build-tools.scm (compdb): Fix build.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia8c94131dc0141c721de756f85b736ae5c1d123f
2024-12-30 17:20:08 +08:00
Artyom V. Poptsov
bdcafd6f9f
gnu: miller: Update to 6.13.0.
* gnu/packages/textutils.scm (miller): Update to 6.13.0.

Change-Id: I45f395abead0408f222e22ad0f23f4d603d9bb5f
2024-12-30 12:15:11 +03:00
宋文武
a74324f310
gnu: wesnoth: Update to 1.18.3.
* gnu/packages/games.scm (wesnoth): Update to 1.18.3.

Change-Id: Id9d969c2094f8ba9bda6db885af6667dfe53fc22
2024-12-30 12:56:34 +08:00
Homo
fd6e8c5056
gnu: plan9port: Fix fontsrv and font substitutes.
src/libdraw/openfont.c already substitutes "/lib/font/bit/" to "$PLAN9/font/",
so it's not necessary to do that ourself.

* gnu/packages/plan9.scm (plan9port)[arguments]: Don't remove 'fontsrv' in
INSTALL.  Remove "/lib/font/bit" substitute and substitute more fonts.

Change-Id: Ic99b5ed29e13bcdfde62e065fb189a9c6b5a9580
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-12-30 12:56:27 +08:00
Leo Famulari
95fd0a5a2c
gnu: linux-libre 5.4: Update to 5.4.288.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.288.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: Iebb3b6bf8fcb86da7b9a9579541ac04685f1c86e
2024-12-29 22:04:31 -05:00
Leo Famulari
796006d2cb
gnu: linux-libre 5.10: Update to 5.10.232.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.232.
(linux-libre-5.10-pristine-source): Update hash.

Change-Id: If8cb0bceee7b298b68fc20a23f39d12dba28621b
2024-12-29 22:04:31 -05:00
Leo Famulari
d6c76f46c1
gnu: linux-libre 5.15: Update to 5.15.175.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.175.
(linux-libre-5.15-pristine-source): Update hash.

Change-Id: If1e68f97129f886b5e02e1d2e2ee30f78caea4ab
2024-12-29 22:04:30 -05:00
Leo Famulari
74bc56b312
gnu: linux-libre 6.1: Update to 6.1.121.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.121.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Ie50f7204e49f52e9cf61e470c86b05968bb346f6
2024-12-29 22:04:30 -05:00
Leo Famulari
c935572c6e
gnu: linux-libre 6.6: Update to 6.6.67.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.67.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: Ia067142552546a7dd4eac7d77be3f7528d700fd8
2024-12-29 22:04:27 -05:00
Aaron Covrig
18463019a2
gnu: libdwarf: Update to 0.11.0.
* gnu/packages/elf.scm (libdwarf): Update to 0.11.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I0ef5f73ed32635d0cc9dca9fc2ced706e2bf3573
2024-12-30 00:51:57 +01:00
Ashish SHUKLA
eadd718097
gnu: nginx: Update to 1.27.2.
* gnu/packages/web.scm (nginx): Update to 1.27.2.
(nginx-documentation): Update to 1.27.2.

Change-Id: I082a410630f1ea9c6765233e159b04134758354d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 00:51:57 +01:00
Ashish SHUKLA
7e8acd980d
gnu: racket: Update to 8.15.
* gnu/packages/racket.scm (%racket-version): Update to 8.15.
(racket)[inputs]<drracket, gui, htdp, lazy, rackunit>
<redex, scribble, slideshow, typed-racket, string-constants>
<syntax-color>: Update hashes.

* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
10.1.0-pre-release.3.

Change-Id: I1d5d1f4033fce375f485db7a62996aea831d0de1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 00:51:57 +01:00
Reepca Russelstein
78da695178
daemon: Explicitly unlock output path in the has-become-valid case.
Fixes <https://issues.guix.gnu.org/31785>.

Similar to <https://github.com/NixOS/nix/issues/178>, fixed in
<29cde917fe>.

We can't rely on Goal deletion to release our locks in a timely manner.  In
the case in which multiple guix-daemon processes simultaneously try producing
an output path path1, the one that gets there first (P1) will get the lock,
and the second one (P2) will continue trying to acquire the lock until it is
released.  Once it has acquired the lock, it checks to see whether the path
has already become valid in the meantime, and if so it reports success to
those Goals waiting on its completion and finishes.  Unfortunately, it fails
to release the locks it holds first, so those stay held until that Goal gets
deleted.

Suppose we have the following store path dependency graph:

          path4
      /     |     \
   path1   path2   path3

P2 is now sitting on path1's lock, and will continue to do so until path4 is
completed.  Suppose there is also a P3, and it has been blocked while P1
builds path2.  Now P3 is sitting on path2's lock, and can't acquire path1's
lock to determine that it has been completed.  Likewise P2 is sitting on
path1's lock, and now can't acquire path2's lock to determine that it has been
completed.  Finally, P3 completes path3 while P2 is blocked.

Now:

- P1 knows that path1 and path2 are complete, and holds no locks, but can't
  determine that path3 is complete
- P2 knows that path1 and path3 are complete, and holds locks on path1 and
  path3, but can't determine that path2 is complete
- P3 knows that path2 and path3 are complete, and holds a lock on path2, but
  can't determine that path1 is complete

And none of these locks will be released until path4 is complete.  Thus, we
have a deadlock.

To resolve this, we should explicitly release these locks as soon as they
should be released.

* nix/libstore/build.cc
  (DerivationGoal::tryToBuild, SubstitutionGoal::tryToRun):
  Explicitly release locks in the has-become-valid case.
* tests/store-deadlock.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

Change-Id: Ie510f84828892315fe6776c830db33d0f70bcef8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-30 00:51:57 +01:00
jgart
78ff832080
gnu: ecl-command-line-args: Disable tests.
* gnu/packages/lisp-xyz.scm (ecl-command-line-args): Disable tests.

Change-Id: I0c8b0c7e55144348020b178cb1b1f5f4ab019cb4
2024-12-29 16:05:28 -06:00
jgart
776b4e850a
gnu: sbcl-command-line-args: Update to 0.1.2.
* gnu/packages/lisp-xyz.scm (sbcl-command-line-args): Update to 0.1.2.

Change-Id: If59aa39f719b89d7ffe873e08453ed7da0cf071a
2024-12-29 15:45:52 -06:00
Dariqq
1ac17c4bac
gnu: guile-g-golf: Update to 0.8.0-rc9.
* gnu/packages/guile-xyz.scm (guile-g-golf): Update to 0.8.0-rc9.

Change-Id: I9c9a4123767fc5f9d6e3279aca346fad66bd590d
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-12-29 17:00:02 +01:00
Florian Pelz
83e4239c52
news: Add 'de' translation.
* etc/news.scm: Add German translation for kexec entry.

Change-Id: Ie7dd93cb18df0d07e73df3efc56805820e66d49c
2024-12-29 16:52:25 +01:00
Christopher Baines
dca55056f3
gnu: guix-data-service: Update to 0.0.1-57.d3c87fb.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-57.d3c87fb.

Change-Id: I9b0fd6a5d259970ce2e5174e76b2c598b8ce46e9
2024-12-29 13:23:37 +00:00
Christopher Baines
fcd24ac302
gnu: guile-knots: Update to 0-3.6119ece.
* gnu/packages/guile-xyz.scm (guile-knots): Update to 0-3.6119ece.
[native-inputs]: Add guile-lib.

Change-Id: I74515dbab3fb643dc2223d202ba81de2cd70b2d5
2024-12-29 13:18:41 +00:00
Wiktor Żelazny
4a4a8c9d26
gnu: csvkit: Fix tests.
* gnu/packages/wireservice.scm (csvkit): Fix tests
[source]: Apply patch.
[native-inputs]: Add (libc-utf8-locales-for-target).
* gnu/packages/patches/csvkit-set-locale-for-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I787c0da270fa4062491efcfa0c55a1b8bbac7b59
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-29 11:33:36 +01:00
Guillaume Le Vaillant
16d22911e8
gnu: cl-simple-matrix: Update to 1.3-0.878c68f.
* gnu/packages/lisp-xyz.scm (sbcl-simple-matrix): Update to 1.3-0.878c68f.

Change-Id: Id4f0165dc72ab3da58102d612370d55fcc4f9bc0
2024-12-29 11:29:44 +01:00
Artyom V. Poptsov
a34d8e2721
gnu: jc: Update to 1.25.4.
* gnu/packages/admin.scm (jc): Update to 1.25.4.

Change-Id: I7ec2570b56040c9a899aa1524df009f4899f9e59
2024-12-29 03:36:27 +03:00
Tobias Geerinckx-Rice
4cdfa814b5
.guix-authorizations: Authorise Greg Hogan's key.
* .guix-authorizations (oom): Register PGP key fingerprint.

Change-Id: I934ae652383e92608cf54c00c1bb3da689e30bb9
2024-12-22 01:00:00 +01:00
Wiktor Żelazny
734910c7a1
gnu: spectrwm: Update to 3.6.0.
* gnu/packages/wm.scm (spectrwm): Update to 3.6.0.
[arguments]: Update make-flags.
[inputs]: Add libxcb.
[native-inputs]: Add libbsd.

Change-Id: Ib7912c43b9e80be2a24cae46d44e039e5b84e6df
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-28 23:16:05 +01:00
Homo
c307c3d63b
gnu: plan9port: License has changed from LPL to Expat.
* gnu/packages/plan9.scm (plan9port)[license]: Delete license:lpl1.02.

Change-Id: Iae98c728f416e05ee9489f5dca848ae819833cc7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-28 23:16:05 +01:00
Rodion Goritskov
69c8ac45f2
gnu: miniflux: Update to 2.2.4.
* gnu/packages/web.scm (miniflux): Update to 2.2.4.
[inputs]: Add go-golang-org-x-image

Change-Id: I2308d5b7b151f7b77513d7245d05c802f0114776
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-28 23:16:05 +01:00
Ashish SHUKLA
faa77145ed
gnu: yt-dlp: Update to 2024.12.23.
* gnu/packages/video.scm (yt-dlp): Update to 2024.12.23.

Change-Id: Ide6d201be0d8742802629ea7eb9053f2f45714eb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-28 23:16:05 +01:00
Spencer King
f9d5710448
gnu: Add julia-precompiletools.
* gnu/packages/julia-xyz.scm (julia-precompiletools): New variable.

Change-Id: Id5adc9a28c8985bddf51261a2385b7168ffe8b4e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-28 23:16:05 +01:00