Commit graph

149823 commits

Author SHA1 Message Date
Hilton Chain
34da9020e0
DRAFT gnu: Add zig-0.14 (fake).
* gnu/packages/patches/zig-0.14-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.14-use-baseline-cpu-by-default.patch: New file.
* gnu/packages/patches/zig-0.14-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter them.
* gnu/packages/zig.scm (zig-0.14-glibc-abi-tool,zig-0.14): New variables.

Change-Id: Ibb9e49ee451ca3bac58bd33a50a9f53e0aa31402
2024-12-31 23:52:38 +08:00
Hilton Chain
81b2609aed
gnu: Add zig-0.13.0-1952.
* gnu/packages/zig.scm (zig-0.13.0-1952): New variable.

Change-Id: Ib250c3c3f4d6a915783ab3e53bed25f1828427d3
2024-12-31 23:51:17 +08:00
Hilton Chain
8500473ef3
gnu: Add zig-0.13.0-1951.
* gnu/packages/zig.scm (zig-0.13.0-1951): New variable.

Change-Id: I369af22adc3d84228ac20b39ab5d10c34f77ae3d
2024-12-31 23:51:17 +08:00
Hilton Chain
85f3e62d59
gnu: Add zig-0.13.0-1528.
* gnu/packages/zig.scm (zig-0.13.0-1528): New variable.

Change-Id: Ib3e84db3cccb2134f6b2c2633f7178d5f7566162
2024-12-31 23:51:17 +08:00
Hilton Chain
16f1962ed9
gnu: Add zig-0.13.0-1323.
* gnu/packages/zig.scm (zig-0.13.0-1323): New variable.

Change-Id: I149678e50823f015b7a1dd1be2264e1c8b9e9cac
2024-12-31 23:51:17 +08:00
Hilton Chain
322bbcf9ec
gnu: Add zig-0.13.0-503.
* gnu/packages/zig.scm (zig-0.13.0-503): New variable.

Change-Id: Iedace16602c42d96ae4281225f5973727399f4a5
2024-12-31 23:51:17 +08:00
Hilton Chain
83906bccf8
gnu: Add zig-0.13.0-286.
* gnu/packages/zig.scm (zig-0.13.0-286): New variable.

Change-Id: I4b135e31c60dd7ad5583b4b9bc46b815f8fa9196
2024-12-31 23:51:15 +08:00
Artyom V. Poptsov
cb96b84c0e
gnu: tuir: Fix build.
* gnu/packages/syndication.scm (tuir): Fix build.
[arguments] <#:test-flags>: Disable tests that require
"/etc/ssl/certs/ca-certificates.crt" and networking.

Change-Id: I7c75e384c11300a3c4e339f8f00b7d07fd3ec07d
2024-12-31 17:38:23 +03:00
Markku Korkeala
833fa80f17
gnu: Add python-robotframework-jsonlibrary.
* gnu/packages/python-xyz.scm (python-robotframework-jsonlibrary): New variable.

Change-Id: Ie8db20560d913132e4ffd4ace569304341b7120c
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-31 13:42:21 +00:00
Artyom V. Poptsov
c94153ca77
gnu: todoman: Fix build.
* gnu/packages/task-management.scm (todoman): Fix build.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ic5e1b74180a2ac10edc023f096084edcf469e1d0
2024-12-31 14:07:35 +03:00
Hilton Chain
c28b941aaa
gnu: ncdu: Update to 2.7.
* gnu/packages/ncdu.scm (ncdu): Update to 2.7.

Change-Id: I284717a1552c6a2c66646aa2373e9e370f3a5ecd
2024-12-31 18:55:07 +08:00
Hilton Chain
83fc6cd594
gnu: Add zig-zls-0.13.
* gnu/packages/zig-xyz.scm (zig-zls-0.13): New variable.
(zig-zls): Define as it.

Change-Id: I5422ccf78033053a56cbf7875481942132b16b58
2024-12-31 18:55:07 +08:00
Hilton Chain
974e39ac2b
gnu: Add zig-zls-0.12.
* gnu/packages/zig-xyz.scm (zig-zls-0.12): New variable.

Change-Id: I4fe7ef482954d6d3cbd319735aab28cae9624c5d
2024-12-31 18:55:01 +08:00
Hilton Chain
2bb1c0a385
gnu: zig-zls: Rename variable to zig-zls-0.10.
* gnu/packages/zig-xyz.scm (zig-zls): Rename to...
(zig-zls-0.10): ...this.
(zig-zls): Newly defined as zig-zls-0.10.

Change-Id: I07747dcb13da90da59aeacc1907bbf46a038e2e0
2024-12-31 18:50:46 +08:00
Hilton Chain
0a71f076a7
gnu: Add zig-known-folders.
* gnu/packages/zig-xyz.scm (zig-known-folders): New variable.

Change-Id: I4c353a19ec4f271e09116173f44bce85b74d10ef
2024-12-31 18:50:45 +08:00
Hilton Chain
887ce81888
gnu: Add zig-diffz.
* gnu/packages/zig-xyz.scm (zig-diffz): New variable.

Change-Id: I71d958c56af2ed4180f00d7ce7e2018b528710a5
2024-12-31 18:50:45 +08:00
Ashvith Shetty
8e80700b06
gnu: Add waylock.
* gnu/packages/zig-xyz.scm (waylock): New variable.

Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I8a9e83ead3b2cb13471d8e92eb6e3463a646dad8
2024-12-31 18:50:45 +08:00
Hilton Chain
85925fcc75
gnu: river: Update to 0.3.6.
* gnu/packages/zig-xyz.scm (river): Update to 0.3.6.
[arguments]<#:zig>: Remove argument.
<#:zig-build-flags>: Add "-Dpie".
<#:phases>: Fix /bin/sh path in build.zig.
[native-inputs]: Remove libxkbcommon, pixman, wayland, wayland-protocols,
wlroots-0.16.
Move libevdev to...
[inputs]: ...here.
Add zig-pixman, zig-wayland, zig-wlroots, zig-xkbcommon.

Change-Id: Ibdda51236a855380534b88aff61c17d2e6235f28
2024-12-31 18:50:45 +08:00
Hilton Chain
b218d5cc11
gnu: Add zig-wlroots.
* gnu/packages/zig-xyz.scm (zig-wlroots): New variable.

Change-Id: I470b7e988c77e41e423efbdb6aff29ef86c75d0e
2024-12-31 18:50:45 +08:00
Hilton Chain
a1c903df53
gnu: Add zig-xkbcommon.
* gnu/packages/zig-xyz.scm (zig-xkbcommon): New variable.

Change-Id: I1e63493f67e3aef1b52b8faa4aaf30a0a16b03ba
2024-12-31 18:50:45 +08:00
Hilton Chain
c66584933f
gnu: Add zig-wayland.
* gnu/packages/zig-xyz.scm (zig-wayland): New variable.

Change-Id: Ibb060d6b684e139e42297050223aa3f9110ae118
2024-12-31 18:50:45 +08:00
Hilton Chain
23020cf115
gnu: Add zig-pixman.
* gnu/packages/zig-xyz.scm (zig-pixman): New variable.

Change-Id: I21fb4f487bed50654808898ee46a6efd39d8ffb1
2024-12-31 18:50:43 +08:00
Artyom V. Poptsov
a37420aeb8
gnu: patool: Update to 3.1.0.
* gnu/packages/patool.scm (patool): Update to 3.1.0.
[source]: Upstream changed the tag naming style since 2.4.0.  Update the
reference to the commit accordingly.
[arguments]: Don't skip tests as they pass.

Change-Id: Ia9944fb6418e83350d7d973f6e81670139beafb1
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-31 13:30:38 +03:00
Artyom V. Poptsov
7d7cdc3e4e
gnu: clzip: Update to 1.14.
* gnu/packages/compression.scm (clzip): Update to 1.14.
[arguments]: Use GEXPs.

Change-Id: I8d42613d1a7b4ae86c2ae3f44fba35edee8924d3
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-31 13:29:57 +03:00
Danny Milosavljevic
42e6cafdbe
gnu: python-cachy: Adapt tests to python-flexmock 0.12.2.
* gnu/packages/python-xyz.scm (python-cachy)[arguments]<#:phases>[check]:
Adapt tests to python-flexmock 0.12.2.

Change-Id: I5e462df305a16c6ea4c6e5b92cd35ebfc72270dd
2024-12-31 08:50:19 +01:00
Danny Milosavljevic
1fc78ed02d
gnu: python-flexmock: Update to 0.12.2.
Fixes <https://issues.guix.gnu.org/74969>.

* gnu/packages/check.scm (python-flexmock): Update to 0.12.2.
[build-system]: Add pyproject-build-system.
[native-inputs]: Add poetry, python-pytest.

Change-Id: Ibca72c88d6d3400e8f4f058831e4ca9c7e2cbf3c
2024-12-31 08:48:28 +01:00
Efraim Flashner
012651f62f
gnu: treecc: Satisfy linter.
* gnu/packages/dotnet.scm (treecc)[source]: Replace source URI with a
mirror source.
[home-page]: Add a trailing slash.

Change-Id: I24ec13ea3cbebec23f7a88aa37ab2ff861d071bd
2024-12-31 08:45:03 +02:00
Hilton Chain
42e32d52c3
teams: zig: Add manifest for Zig packages.
* etc/teams/zig/zig-manifest.scm: New file.

Change-Id: I6c71cff64191e0be49f4bbb6debe40c21459d52c
2024-12-31 10:56:35 +08:00
Hilton Chain
f31b9df0f8
build/zig: Output verbosely.
* guix/build/zig-build-system.scm (build,check): Add "--verbose" flag.

Change-Id: I3339496156f9a194cbe928ae4b5a01eb65cbdf08
2024-12-31 10:56:35 +08:00
Hilton Chain
bdff1941e5
gnu: zig: Default to zig-0.13.
* guix/build-system/zig.scm (#:parallel-build?,#:parallel-tests?):
New arguments.
* guix/build/zig-build-system.scm (zig-arguments): New procedure.
(bulid): Use it and honor #:parallel-build?.
(check): Use it and honor #:parallel-tests?.
* gnu/packages/zig.scm (zig): Define as zig-0.13.
* gnu/packages/ncdu.scm (ncdu)[arguments]<#:zig>: Unset.
<#:zig-release-type>: Set to "safe".
<#:zig-build-flags>: Add "-Dpie".
* gnu/packages/zig-xyz.scm (river)[arguments]<#:zig>: Use zig-0.10.
(zig-zls)[arguments]<#:zig>: Use zig-0.10.
<#:zig-release-type>: Set to "safe".

Change-Id: I1f0087ff39ea9fecb2ad911019d0525f1e6285f6
2024-12-31 10:56:34 +08:00
Hilton Chain
5ce59e0413
build-system: zig: Support Zig package manager.
* guix/build-system/zig.scm (zig-build,zig-cross-build)
[#:install-source?,#:skip-build?]: New arguments.
[#:tests?]: Honor #:skip-build?.
* guix/build/zig-build-system.scm (zig-source-install-path)
(zig-input-install-path,unpack-dependencies): New procedures.
(%standard-phases): Add 'unpack-dependencies.
(build,install): Honor #:skip-build?.
* doc/guix.texi (Build Systems)[zig-build-system]: Update documentation.
* gnu/packages/zig.scm (zig-0.9)[native-search-paths]: Add
GUIX_ZIG_PACKAGE_PATH.
Use search paths defined in (guix search-paths).
(add-build.zig.zon,rename-zig-dependencies): New procedures.
* gnu/packages/ncdu.scm (ncdu)[arguments]: Don't install source.
* gnu/packages/zig-xyz.scm (river,tigerbeetle,zig-zls)[arguments]: Likewise.
2024-12-31 10:56:34 +08:00
Hilton Chain
3ef8c9307c
gnu: zig: Build reproducibly.
* guix/build/zig-utils.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/zig.scm (%zig-build-system-modules): Add it.
(zig-build,zig-cross-build): Add #:zig-build-target.
* guix/build/zig-build-system.scm (zig-target): Move to (guix build zig-utils).
(configure): Move to (guix build zig-utils) as zig-configure.
(build): Replace target with zig-build-target.
(%standard-phases): Adjust accordingly.
* gnu/packages/zig.scm (zig-0.9)[arguments]<#:imported-modules,#:modules>: Add
zig-build-system modules.
<#:configure-flags>: Set ZIG_TARGET_TRIPLE for native builds too.
Move applicable flags from zig-0.10 here.
<#:phases>: Apply 'zig-configure.
Unset ZIG_LIBC in 'check.
Remove 'set-cache-dir.
(zig-0.10)[arguments]<#:configure-flags>: Adjust accordingly.
(zig-0.10.0-610)[arguments]<#:configure-flags>: Remove ZIG_TARGET_TRIPLE.
2024-12-31 10:56:34 +08:00
Efraim Flashner
05bbf0ec43
gnu: zig: Set host triple.
* gnu/packages/zig.scm (zig-0.10.0-675,zig-0.11)[arguments]<#:phases>: Set
host triple in CMakeLists.txt.

Change-Id: Ib05050d7e499b4336a01a140c73fb6c8bb450bd6
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-31 10:56:34 +08:00
Efraim Flashner
a6d9faf7dc
gnu: zig: Respect the PKG_CONFIG environment variable.
* gnu/packages/patches/zig-0.9-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.10-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.11-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.12-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/packages/patches/zig-0.13-build-respect-PKG_CONFIG-env-var.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/zig.scm (zig-0.9,zig-0.10,zig-0.11,zig-0.12,zig-0.13)[source]:
Add patches.
* guix/build/zig-build-system.scm (configure): set PKG_CONFIG.

Change-Id: I0abf871c6990144fc472191bf1167aa2fc765161
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-31 10:56:34 +08:00
Efraim Flashner
18b7fce25c
build/zig: Adjust the build triplets for some systems.
* guix/build/zig-build-system.scm (zig-target): New procedure.
(build): Use it to set the target when cross-compiling.

Change-Id: Ic82253ce899055526e894a0cb67738ddbb476574
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-31 10:56:34 +08:00
Hilton Chain
6fc811d02a
build/zig: Really support cross compilation.
* guix/build/zig-build-system.scm (configure): New procedure.
(set-cc,set-zig-global-cache-dir): Delete procedures.
(%standard-phases): Adjust accordingly.

Change-Id: I08d15add2b249f7016f9cbb07f151ecf469fe656
2024-12-31 10:56:33 +08:00
Hilton Chain
8808ea98ae
gnu: Add zig-0.13.
* gnu/packages/patches/zig-0.13-fix-runpath.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/zig.scm (zig-0.13-glibc-abi-tool,zig-0.13): New variables.

Change-Id: I217a1d444acb600d8cc38abcaa3950156b11cbae
2024-12-31 10:54:17 +08:00
Hilton Chain
a39aa559ae
gnu: Add zig-0.12.0-109.
* gnu/packages/zig.scm (zig-0.12.0-109): New variable.

Change-Id: If480110b20b2971fe7562bbd60fcb74afc5c1ed4
2024-12-31 10:54:17 +08:00
Efraim Flashner
097b291e6f
gnu: ncdu: Update to 2.6.
* gnu/packages/ncdu.scm (ncdu): Update to 2.6.
[source]: Adjust snippet to not remove manpage.
[arguments]: Remove adjustments to phases.
[inputs]: Add zstd:lib.
[native-inputs]: Add pkg-config.
Remove perl.

Change-Id: I6e85f06f22dcd5d62b41009039b984e6b8e65b28
2024-12-31 10:54:17 +08:00
Hilton Chain
368c1f4c5e
gnu: Add zig-0.12.
* gnu/packages/patches/zig-0.12-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.12-use-baseline-cpu-by-default.patch: New file.
* gnu/packages/patches/zig-0.12-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter them.
* gnu/packages/zig.scm (zig-0.12-glibc-abi-tool,zig-0.12): New variables.

Change-Id: I700d0afa2b373bf24a4f3527548e86dbed1aff17
2024-12-31 10:54:17 +08:00
Hilton Chain
a0d5fc28b8
gnu: Add zig-0.11.0-3604.
* gnu/packages/zig.scm (zig-0.11.0-3604): New variable.

Change-Id: I4d419344197d8ae4a44a6267a7594c11a5687377
2024-12-31 10:54:16 +08:00
Hilton Chain
510bf0a0a4
gnu: Add zig-0.11.0-3506.
* gnu/packages/zig.scm (zig-0.11.0-3506): New variable.

Change-Id: Ia1edd0d1e54f8a05b2b1d74986c259342e64a89c
2024-12-31 10:54:16 +08:00
Hilton Chain
9318034154
gnu: Add zig-0.11.0-3503.
* gnu/packages/zig.scm (zig-0.11.0-3503): New variable.

Change-Id: I8300bda579865a547bd45be31b74d8751ee16e63
2024-12-31 10:54:16 +08:00
Hilton Chain
57420653d5
gnu: Add zig-0.11.0-3501.
* gnu/packages/zig.scm (zig-0.11.0-3501): New variable.

Change-Id: Ia487a9e08bcb12169becf5b834cb9c14088f5f18
2024-12-31 10:54:16 +08:00
Hilton Chain
35fed9f7f6
gnu: Add zig-0.11.0-3344.
* gnu/packages/zig.scm (zig-0.11.0-3344): New variable.

Change-Id: Id3b4425bb5018df6e7ec58f82a8b654ba073a487
2024-12-31 10:54:16 +08:00
Hilton Chain
780ddf1254
gnu: Add zig-0.11.0-3245.
* gnu/packages/zig.scm (zig-0.11.0-3245): New variable.

Change-Id: Ie7cc13a4e3db496ff771e182a7b89248f1352983
2024-12-31 10:54:16 +08:00
Hilton Chain
dae5440ed6
gnu: Add zig-0.11.0-1967.
* gnu/packages/zig.scm (zig-0.11.0-1967): New variable.

Change-Id: I198cdb0a1e237e573360f7c37feff9bac5e4e3f2
2024-12-31 10:54:16 +08:00
Hilton Chain
fef723a027
gnu: Add zig-0.11.0-761.
* gnu/packages/zig.scm (zig-0.11.0-761): New variable.

Change-Id: Ia2ce5d7c699fa492cac0d1c13f9b080a5657457a
2024-12-31 10:54:16 +08:00
Hilton Chain
e68cfe611c
gnu: Add zig-0.11.0-702.
* gnu/packages/zig.scm (zig-0.11.0-702): New variable.

Change-Id: Ic532f9d590b8804c8f0dedbeec45f7b244372b28
2024-12-31 10:54:16 +08:00
Hilton Chain
90f12b0936
gnu: Add zig-0.11.0-638.
* gnu/packages/zig.scm (zig-0.11.0-638): New variable.

Change-Id: I5012ae588d93a7ecf646686719b54e05f3c94f95
2024-12-31 10:54:15 +08:00