me
/
guix
Archived
1
0
Fork 0
Commit Graph

129479 Commits (6f20c8df0e2056231c0ce10a535d1c1897db5630)

Author SHA1 Message Date
Maxim Cournoyer 6f20c8df0e
gnu: Add xdiff.
* gnu/packages/version-control.scm (xdiff): New variable.
2024-01-09 22:10:11 -05:00
Maxim Cournoyer 39bd088e75
gnu: Add llhttp.
* gnu/packages/web.scm (llhttp): New variable.

Change-Id: I3c0475ff6d86a16f51d8870577808ce97ee66a92
2024-01-09 22:10:11 -05:00
Maxim Cournoyer 0ec349078f
gnu: Add expected-lite.
* gnu/packages/cpp.scm (expected-lite): New variable.

Change-Id: I5a21dd631e1f2a3c97b920efcdca69f2537b42da
2024-01-09 22:10:11 -05:00
Maxim Cournoyer 45d07a0b01
gnu: catch2-3: Update to 3.5.1.
* gnu/packages/check.scm (catch2-3.3): Rename to...
(catch2-3): ... this.  Update to 3.5.1.
* gnu/packages/logging.scm (spdlog) [native-inputs]: Rename catch2-3.3 to
catch2-3.
* gnu/packages/potassco.scm (clingo) [inputs]: Likewise.

Change-Id: Ied7724597ff4c6371dc4fedc10452ae870d23933
2024-01-09 22:10:10 -05:00
Maxim Cournoyer 1e35c18c86
gnu: asio: Update to 1.28.0.
* gnu/packages/networking.scm (asio): Update to 1.28.0.

Change-Id: I517fb9c6c52c5b5e5c41c5760c06eca6750d3765
2024-01-09 22:10:10 -05:00
Maxim Cournoyer 9e9e373751
gnu: libnatpmp: Update home page.
* gnu/packages/networking.scm (libnatpmp) [home-page]: Update.
2024-01-09 22:10:10 -05:00
Maxim Cournoyer c235957534
gnu: libnatpmp: Use gexps and simplify.
* gnu/packages/networking.scm (libnatpmp) [arguments]: Use gexps.  Use gexp
variables and cc-for-target in make flags.
2024-01-09 22:10:10 -05:00
Nicolas Goaziou 8fefe1b345
gnu: emacs-repology: Update to 1.2.4.
* gnu/packages/emacs-xyz.scm (emacs-repology): Update to 1.2.4.

Change-Id: I72b0801ba732a4f34a2891f04d3d1b62674a1bd3
2024-01-09 22:44:37 +01:00
Wilko Meyer 6e76509d24
gnu: linux-libre 4.14: Update to 4.14.335.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.335.
(linux-libre-4.14-pristine-source, deblob-scripts-4.14): Update hashes.

Change-Id: I071427a52f188d599f28703374f5b7c42314777c
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 13:31:10 -05:00
Wilko Meyer 11baa979ef
gnu: linux-libre 4.19: Update to 4.19.304.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.304.
(linux-libre-4.19-pristine-source, deblob-scripts-4.19): Update hashes.

Change-Id: I14f228aa3b4a57417d7f8c392dc647709f599fac
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 13:31:10 -05:00
Wilko Meyer 029dd48301
gnu: linux-libre 5.4: Update to 5.4.266.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.266.
(linux-libre-5.4-pristine-source, deblob-scripts-5.4): Update hashes.

Change-Id: Ia1578dc94d3172735e5765ee90c46f865412810a
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 13:31:06 -05:00
Oleg Pykhalov 8920cf302c
news: Add entry for the new '--max-layers=N' option.
* etc/news.scm: Add entry.

Change-Id: I286c04fd2cef820007606d1092ab45be4466fb19
2024-01-09 15:49:36 +03:00
Troy Figiel a1a645337a
gnu: Add python-ripser.
* gnu/packages/machine-learning.scm (python-ripser): New variable.

Change-Id: I21b42e555a5017e68cf43a6eaa19d991db36723d
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:44 +01:00
Troy Figiel 7d25add8dd
gnu: Add python-persim.
* gnu/packages/machine-learning.scm (python-persim): New variable.

Change-Id: I914071a90b4555d7d1218ce83337d49298effb01
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel e00314c406
gnu: Add python-hopcroftkarp.
* gnu/packages/machine-learning.scm (python-hopcroftkarp): New variable.

Change-Id: I444f0371526d7a69d31363c228d5f7818bcf60dd
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel fe9a30f2f6
gnu: Add python-multimethod.
* gnu/packages/python-xyz.scm (python-multimethod): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel 185ebc01f6
gnu: Add python-pyreadstat.
* gnu/packages/patches/python-pyreadstat-link-libiconv.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/statistics.scm (python-pyreadstat): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: I361df91487412e4bfd26fb728a6999752e6343e5
2024-01-09 10:19:43 +01:00
Troy Figiel 76470d47c5
gnu: python-h5py: Reformat with guix style.
* gnu/packages/python-xyz.scm (python-h5py): Reformat with guix style.

Change-Id: I9c8fabcb8a438909ff70a2c98c9e01b3a82079f3
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel def734936f
gnu: python-h5py: Enable tests.
* gnu/packages/python-xyz.scm (python-h5py)[native-inputs]: Add python-ipython and python-pytest.

Change-Id: Ia1cae8bce802805c9d9b38a3bf515423f9b719b4
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel 67c3d230dc
gnu: Add python-portend.
* gnu/packages/python-web.scm (python-portend): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel da2c300519
gnu: Add python-jaraco-collections.
* gnu/packages/python-xyz.scm (python-jaraco-collections): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel 5137af3e20
gnu: Add python-jaraco-text.
* gnu/packages/python-xyz.scm (python-jaraco-text): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:43 +01:00
Troy Figiel 2de3f4d43c
gnu: Add python-zc-lockfile.
* gnu/packages/python-web.scm (python-zc-lockfile): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 687a1fdaae
gnu: Add python-pytest-dotenv.
* gnu/packages/check.scm (python-pytest-dotenv): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 755a995710
gnu: Add python-python-snappy.
* gnu/packages/python-compression.scm (python-python-snappy): New variable.
2024-01-09 10:19:43 +01:00
Troy Figiel 74c5a6afa6
gnu: Add python-hdf5storage.
* gnu/packages/python-xyz.scm (python-hdf5storage): New variable.

Change-Id: If54c5f4b634658854bbe9312dce194643fe23733
2024-01-09 10:19:42 +01:00
Zheng Junjie 53d9190efd
gnu: glew: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add
cmake-minimal-cross.
[arguments]: Adjust 'fix-cross-compiling to find llvm.
* gnu/packages/llvm.scm (llvm-for-mesa)
[arguments]<#:configure-flags>: When cross-compiling, set
-DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE,
remove -DLLVM_LINK_LLVM_DYLIB.*.
<#:phases>: When cross-compiling, remove the 'delete-static-libraries phase.

Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:42 +01:00
David Elsing b26926189e
guix: import: Optionally import necessary yanked crates.
* doc/guix.texi (Invoking guix import): Mention '--allow-yanked'.
* guix/import/crate.scm (make-crate-sexp): Add yanked? argument. For
yanked packages, use the full version suffixed by "-yanked" for
generated variable names and add a comment and package property.
(crate->guix-package): Add allow-yanked? argument and if it is set to #t,
allow importing yanked crates if no other version matching the
requirements exists.
[find-package-version]: Packages previously marked as yanked are only
included if allow-yanked? is #t and then take the lowest priority.
[find-crate-version]: If allow-yanked? is #t, also consider yanked
versions with the lowest priority.
[dependency-name+version]: Rename to ...
[dependency-name+version+yanked] ...this. Honor allow-yanked? and choose
between an existing package and an upstream package.  Exit with an error
message if no version fulfilling the requirement is found.
[version*]: Exit with an error message if the crate version is not found.
(cargo-recursive-import): Add allow-yanked? argument.
* guix/read-print.scm: Export <comment>.
* guix/scripts/import/crate.scm: Add "--allow-yanked".
* tests/crate.scm: Add test 'crate-recursive-import-only-yanked-available'.
[sort-map-dependencies]: Adjust accordingly.
[remove-yanked-info]: New variable.
Adjust test 'crate-recursive-import-honors-existing-packages'.
(test-bar-dependencies): Add yanked dev-dependencies.
(test-leaf-bob-crate): Add yanked versions.
(rust-leaf-bob-3.0.2-yanked): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I175d89b39774e6b57dcd1f05bf68718d23866bb7
2024-01-09 09:38:38 +02:00
David Elsing 53add91be6
tests: Mock find-packages-by-name in crate importer test.
* tests/crate.scm: Import only sha256 from (gcrypt hash) as gcrypt-sha256 to
prevent a name collision. Rename test 'cargo-recursive-import' to
'crate-recursive-import' and 'cargo-recursive-import-hoors-existing-packages'
to 'crate-recursive-import-honors-existing-packages'. Mock
find-packages-by-name from (gnu packages). Adjust test to import fake 'bar'
crate instead of doctool.
(test-bar-crate): New variable.
(test-bar-dependencies): New variable.
(test-root-crate): Adjust sha256 -> gcrypt-sha256.
(test-doctool-crate,test-doctool-dependencies): Remove variables.
(rust-leaf-bob-3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-01-09 09:38:38 +02:00
David Elsing 9f44ff2bb4
import: crate: Optionally import dev-dependencies recursively.
If --recursive-dev-dependencies is specified, development dependencies
are also included for all recursively imported packages.

* doc/guix.texi (Invoking guix import): Mention --recursive-dev-dependencies.
* guix/import/crate.scm (crate-recursive-import): Add
recursive-dev-dependencies? argument.
* guix/scripts/import/crate.scm (show-help, guix-import-crate): Add
"--recursive-dev-dependencies".
* tests/crate.scm: Test both #f and #t for #:recursive-dev-dependencies?
in the 'cargo-recursive-import' test.
(test-root-dependencies): Add intermediate-c as dev-dependency.
(test-intermediate-c-crate, test-intermediate-c-dependencies): New
variables.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iae89794681155d77f128733120e60f03bc297717
2024-01-09 09:38:38 +02:00
David Elsing 4b0aa65c0a
gnu: import: Fix memoization in crate-recursive-import.
* guix/import/crate.scm (crate-recursive-import): Apply memoize outside the
lambda passed to recursive-import in order to actually use the memoization.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-01-09 09:38:38 +02:00
Wilko Meyer c18052f5d0
gnu: linux-libre 5.10: Update to 5.10.206.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.206.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Id7c119c07c08308150354ffc593ec9bd9c13fa46
2024-01-09 00:28:49 -05:00
Wilko Meyer 3a8e676f97
gnu: linux-libre 5.15: Update to 5.15.146.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.146.
(linux-libre-5.15-pristine-source, deblob-scripts-5.15): Update hashes.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Idb7ede0fc8d4bca3edcd267e6d215dfb98ff5c94
2024-01-09 00:28:48 -05:00
Wilko Meyer aa97de83a0
gnu: linux-libre 6.1: Update to 6.1.71.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.71.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Ifabe9ec0d18d940b10e29f14e00878a89e8767a7
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 00:28:48 -05:00
Wilko Meyer 7029d2c781
gnu: linux-libre 6.6: Update to 6.6.10.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.10.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: Ie6295d69e1d732436c43e603b63cb1516bf73ace
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-01-09 00:28:44 -05:00
Ludovic Courtès 3eac1c82f7
services: bitlbee: Use ‘make-inetd-constructor’ unconditionally.
This construct was introduced in Shepherd 0.9.0.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Use
‘make-inetd-constructor’ unconditionally.

Change-Id: Id1b79077d60609c7f95439ee0d097dfe6e66dd2e
2024-01-08 23:14:46 +01:00
Ludovic Courtès 1964531ce5
home: services: shepherd: Use the 0.10.x interface.
* gnu/home/services/shepherd.scm (home-shepherd-configuration-file):
Pass ‘register-services’ a list.  Call ‘start-in-the-background’
unconditionally.

Change-Id: Id7ba005949653a9ac065c47eddb425df4f4792aa
2024-01-08 23:14:46 +01:00
Ludovic Courtès 477d4f7d24
services: shepherd: Use the 0.10.x GOOPS-less interface.
* gnu/services/shepherd.scm (%default-modules): Remove (oop goops).
(shepherd-service-file): Use (service …) instead of (make <service> …).
Use ‘actions’ instead of ‘make-actions’.
(scm->go): Remove use of (oop goops).
(shepherd-configuration-file): Pass ‘register-services’ a list.
Use ‘start-in-the-background’ unconditionally.

Change-Id: I0ad1ba32e339c56ee31e59f160b53d3581277d97
2024-01-08 23:14:46 +01:00
Ludovic Courtès b973480dc9
system: hurd: Use the Shepherd 0.10.x.
* gnu/system.scm (hurd-default-essential-services): Remove reference to
‘shepherd-0.8’.
* gnu/system/hurd.scm (%base-packages/hurd): Replace ‘shepherd-0.8’ with
‘shepherd-0.10’.

Change-Id: I9f1800693cda456286450d3d0bb6f7e3da85d55e
2024-01-08 23:14:46 +01:00
Ludovic Courtès 4e0b93ce73
tests: childhurd: Increase SSH connection timeout.
* gnu/tests/virtualization.scm (run-childhurd-test)[run-command-over-ssh]:
Pass #:timeout.

Change-Id: I44bb3673457275fe3a8ec0af2e364292727f53a8
2024-01-08 23:14:46 +01:00
Ludovic Courtès 6c561e7593
services: openssh: Add dependency on ‘networking’.
* gnu/services/ssh.scm (openssh-shepherd-service): Add ‘networking’ to
‘requirement’.

Change-Id: I14c48fe40cce86810a544de6bb7f925bc360653a
2024-01-08 23:14:45 +01:00
Ludovic Courtès 766ac72dba
gnu: guile-fibers: Apply upstream patch fixing libevent timers.
* gnu/packages/patches/guile-fibers-libevent-timeout.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/guile-xyz.scm (guile-fibers)[source]: Use it.

Change-Id: I872ffe5b193087234d29eed399d6db518c5af4d5
2024-01-08 23:13:53 +01:00
Oleg Pykhalov 519e1e3eb8
scripts: system: Build layered images.
* guix/scripts/system.scm (show-help, %docker-format-options, %options,
%default-options, show-docker-format-options,
show-docker-format-options/detailed, process-action): Handle '--max-layers'
option.
* gnu/system/image.scm (system-docker-image): Same.
* gnu/image.scm (<image>)[max-layers]: New record field.

Change-Id: I2726655aefd6688b976057fd5a38e9972ebfc292
2024-01-08 21:22:44 +03:00
Oleg Pykhalov 0cf75c9b2f
guix: pack: Build layered images.
* guix/scripts/pack.scm (docker-image, guix-pack, %default-options,
%docker-format-options, show-docker-format-options/detailed): Handle
'--max-layers' option.
* doc/guix.texi (Invoking guix pack): Document this.

Change-Id: I90660b2421fcdde891f003469fe2e2edaac7da41
2024-01-08 21:04:44 +03:00
Oleg Pykhalov d3d3eedf7f
guix: docker: Build layered images.
* guix/docker.scm (%docker-image-max-layers): New variable.
(size-sorted-store-items, create-empty-tar): New procedures.
(config, manifest, build-docker-image): Build layered images.

Change-Id: I4c8846bff0a3ceccb77e6bdf95d4942e5c3efe41
2024-01-08 21:04:44 +03:00
Oleg Pykhalov bdf0ba4ca1
tests: docker-system: Increase image size.
* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase
'disk-image-size'.

Change-Id: If88588d8981efdfdc539460900f1cbb9a663f9cb
2024-01-08 21:04:44 +03:00
Graham James Addis 7d5168a2af
guix: pack: Add '--entry-point-argument' option.
* guix/scripts/pack.scm:
(entry-point-argument-spec-option-parser): New procedure.
(docker-image, %default-options, %docker-format-options,
show-docker-format-options/detailed, %options, show-docker-format-options,
guix-pack): Handle '--entry-point-argument' option.
* doc/guix.texi: (Invoking guix pack): Document this

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
Change-Id: I1124feff6af39dcc63c85fd6cc7ad50f398489dc
2024-01-08 21:04:44 +03:00
John Kehayias 7a7c8920ae
Merge branch 'mesa-updates'
Change-Id: I671d2733eac4c021eed191fc6bb61ea5492c3740
2024-01-08 12:04:58 -05:00
Oleg Pykhalov 9018c6af49
gnu: obs: Fix VLC plugin.
* gnu/packages/video.scm (obs)[arguments]<#:phases>: Wrap LD_LIBRARY_PATH.

Change-Id: If22b5294284ea500da0e6d9ee4d4bbcc765c6771
2024-01-08 13:55:39 +03:00
Efraim Flashner 728d471d73
gnu: json-glib: Fix cross-compiling.
* gnu/packages/gnome.scm (json-glib)[native-inputs]: Only add more
inputs when not cross-compiling.

Change-Id: I987f382f02d9f7b79b6e281d1f6f6824c1b2dfd3
2024-01-08 08:14:59 +02:00