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
Hilton Chain
1031edc276
gnu: Add zig-0.11.0-631.
...
* gnu/packages/zig.scm (zig-0.11.0-631): New variable.
Change-Id: I7acbcd4a34c68eb9c3cce4fb4ec48a858b912f55
2024-12-31 10:54:15 +08:00
Hilton Chain
a82c91baf3
gnu: Add zig-0.11.0-587.
...
* gnu/packages/zig.scm (zig-0.11.0-587): New variable.
Change-Id: Ie15ecff5647e658ced1e2d0888ba90986296ffa2
2024-12-31 10:54:15 +08:00
Hilton Chain
1631ff73fc
gnu: Add zig-0.11.0-494.
...
* gnu/packages/zig.scm (zig-0.11.0-494): New variable.
Change-Id: I4b41f283168f70af08f1a3e3fa88804fee64280f
2024-12-31 10:54:15 +08:00
Hilton Chain
0411f96f28
gnu: Add zig-0.11.0-384.
...
* gnu/packages/zig.scm (zig-0.11.0-384): New variable.
Change-Id: I9b8388600e51840df0de19e9367f45e2f386d9f4
2024-12-31 10:54:15 +08:00
Hilton Chain
27078a1f22
gnu: Add zig-0.11.0-149.
...
* gnu/packages/zig.scm (zig-0.11.0-149): New variable.
Change-Id: Ibb5b0df17b20e161772d846f589c06d3fc811263
2024-12-31 10:54:15 +08:00
Hilton Chain
ab89793218
gnu: Add zig-0.11.
...
* gnu/packages/patches/zig-0.11-fix-runpath.patch: New file.
* gnu/packages/patches/zig-0.11-use-system-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/zig.scm (zig-0.11-glibc-abi-tool,zig-0.11): New variables.
Change-Id: I2507af62918f3989967d55dec942b84655d6d8bd
2024-12-31 10:54:15 +08:00
Hilton Chain
654e058538
gnu: Add zig-0.10.0-3985.
...
* gnu/packages/zig.scm (zig-0.10.0-3985): New variable.
Change-Id: Ia01b9dd556e2c322b1a225976d6fb9c5c3cb5b07
2024-12-31 10:54:15 +08:00
Hilton Chain
8d79da78f1
gnu: Add zig-0.10.0-3980.
...
* gnu/packages/zig.scm (zig-0.10.0-3980): New variable.
Change-Id: I16418b409178ab6c1b78cee8a45290575dcadf7c
2024-12-31 10:54:14 +08:00
Hilton Chain
a39f31c93c
gnu: Add zig-0.10.0-3813.
...
* gnu/packages/zig.scm (zig-0.10.0-3813): New variable.
Change-Id: I36e7ba6844c23381fbbe2dcd8e2d4d55b24d20ba
2024-12-31 10:54:14 +08:00
Hilton Chain
5e6cb858e9
gnu: Add zig-0.10.0-3807.
...
* gnu/packages/zig.scm (zig-0.10.0-3807): New variable.
Change-Id: Id1fd647873f9bd1cdcbe7d615866c4cca52a5a11
2024-12-31 10:54:14 +08:00
Hilton Chain
01352c09db
gnu: Add zig-0.10.0-3728.
...
* gnu/packages/zig.scm (zig-0.10.0-3728): New variable.
Change-Id: I4e4dbcb831b0a2a4e4d875f56e8ace54a0dec4f5
2024-12-31 10:54:14 +08:00
Hilton Chain
af851e899e
gnu: Add zig-0.10.0-3726.
...
* gnu/packages/zig.scm (zig-0.10.0-3726): New variable.
Change-Id: Iac4b6546539c9ecc83fd775e360ad2e15b5e1094
2024-12-31 10:54:14 +08:00
Hilton Chain
8859b1b9e3
gnu: Add zig-0.10.0-3660.
...
* gnu/packages/zig.scm (zig-0.10.0-3660): New variable.
Change-Id: Ib05ee3026cadab2f5f7cf1da8639a4a4578737ee
2024-12-31 10:54:14 +08:00
Hilton Chain
d8187732fd
gnu: Add zig-0.10.0-2838.
...
* gnu/packages/zig.scm (zig-0.10.0-2824-source,zig-0.10.0-2838): New variables.
Change-Id: If424c545f02b7eb91ae6f4682377b91226709246
2024-12-31 10:54:14 +08:00
Hilton Chain
317723a7fa
gnu: Add zig-0.10.0-2797.
...
* gnu/packages/zig.scm (zig-0.10.0-2796-source,zig-0.10.0-2797): New variables.
Change-Id: I4e4eceb9418db9ae2c49fd073f0d2a3aa9e5b7ba
2024-12-31 10:54:14 +08:00
Hilton Chain
710e6c39a7
gnu: Add zig-0.10.0-2571.
...
* gnu/packages/zig.scm (zig-0.10.0-2571): New variable.
Change-Id: Iba7ad5ce26edcc84ba3f8720f70d250bb4ac529c
2024-12-31 10:54:14 +08:00
Hilton Chain
8d411cdd88
gnu: Add zig-0.10.0-2566.
...
* gnu/packages/zig.scm (zig-0.10.0-2565-source,zig-0.10.0-2566): New variables.
2024-12-31 10:54:13 +08:00
Hilton Chain
2af2a85356
gnu: Add zig-0.10.0-2558.
...
* gnu/packages/zig.scm (zig-0.10.0-2558): New variable.
Change-Id: I49f3a5bdf87ef5b03de2381b6a111e671142ee9e
2024-12-31 10:54:13 +08:00
Hilton Chain
d2c0830bcf
gnu: Add zig-0.10.0-1891.
...
* gnu/packages/zig.scm (zig-0.10.0-1891): New variable.
Change-Id: I7522101456ae0374923c0f9a97defababe75b4c0
2024-12-31 10:54:13 +08:00
Hilton Chain
72868c4f59
gnu: Add zig-0.10.0-1888.
...
* gnu/packages/zig.scm (zig-0.10.0-1888): New variable.
Change-Id: Icc0c5f286529d1501145f78efcdc055ae592f5dd
2024-12-31 10:54:13 +08:00
Hilton Chain
b5694bccf7
gnu: Add zig-0.10.0-1713.
...
* gnu/packages/zig.scm (zig-0.10.0-1713): New variable.
Change-Id: I7055b835a1dc8540ed47780b7a86307721de8e90
2024-12-31 10:54:13 +08:00