Commit graph

154199 commits

Author SHA1 Message Date
Sharlatan Hellseher
f4043c08fd
gnu: Add go-github-com-xaionaro-go-bytesextra.
* gnu/packages/golang-xyz.scm (go-github-com-xaionaro-go-bytesextra): New variable.

Change-Id: Ic14dcee9fd2bca052e120abf9acf86b80c910005
2025-01-25 08:29:25 +00:00
Sharlatan Hellseher
cfd8425b85
gnu: Add go-github-com-fatih-camelcase.
* gnu/packages/golang-xyz.scm (go-github-com-fatih-camelcase): New variable.

Change-Id: Ib1d79b40869ffdfa1eadd02b20c751565eb4d7da
2025-01-25 08:29:25 +00:00
Sharlatan Hellseher
282775fb67
gnu: Add go-github-com-fatih-structtag.
* gnu/packages/golang-xyz.scm (go-github-com-fatih-structtag): New variable.

Change-Id: I83942f580d5fcc94e2b098dc68a8c5d0f2bdcc23
2025-01-25 08:29:25 +00:00
Sharlatan Hellseher
a0792c40b2
gnu: Add go-github-com-xaionaro-go-unsafetools.
* gnu/packages/golang-xyz.scm (go-github-com-xaionaro-go-unsafetools): New variable.

Change-Id: I5ab272d183dad9098686db4f2bd234e3c1e44e39
2025-01-25 08:29:25 +00:00
Sharlatan Hellseher
4106e5fd9a
gnu: go-github-com-pelletier-go-toml-v2: Update to 2.2.3.
* gnu/packages/golang-xyz.scm (go-github-com-pelletier-go-toml-v2): Update to 2.2.3.

Change-Id: Idb5d5f0fe7333b4816698a915ca30b9205fdadcb
2025-01-25 08:29:25 +00:00
Zheng Junjie
39dd387067
gnu: libxml2: Fix build to loongarch64.
* gnu/packages/xml.scm (libxml2)[native-inputs]: When target is loongarch64, add
config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: Icd2fbfbb321842933ddb9935fd8c3121beb2ad8c
2025-01-25 12:02:56 +08:00
Zheng Junjie
b1e6fd8278
utils: target-64bit?: Add loongarch64 case.
* guix/utils.scm (target-64bit?): Add loongarch64 case.

Change-Id: Ide3ae539d8717b11b05e410c76c97fa7bbdae008
2025-01-25 11:56:07 +08:00
Zheng Junjie
137e7eb683
build-system: go: Add loongarch64 support.
* guix/build-system/go.scm (go-target): Add loongarch64 case.

Change-Id: I5186e9d8c93f3524341119dcb478168676d6a66d
2025-01-25 11:55:58 +08:00
Zheng Junjie
0514dc658c
build-system: meson: Add loongarch64 support.
* guix/build-system/meson.scm (make-machine-alist): Add loongarch64 case.

Change-Id: Ib5a28b678d41550a9798494785c91c3f3a9f533c
2025-01-25 11:55:47 +08:00
jgart
c9a990d7b0
gnu: trealla: Update to 2.63.33.
* gnu/packages/prolog.scm (trealla): Update to 2.63.33.

Change-Id: Ifa0d3125f4bd8e11451d26fc37e7062c32cec5c2
2025-01-24 17:43:46 -06:00
Ludovic Courtès
646202bf73
docker: Build tarballs reproducibly.
Fixes <https://issues.guix.gnu.org/75090>.

* guix/docker.scm (tar): New procedure.
(create-empty-tar, build-docker-image): Use it instead of calling
‘invoke’ directly.

Reported-by: Simon Josefsson <simon@josefsson.org>
Change-Id: Ia899c43ed6a3809ff845de0953e3d38cccf24609
2025-01-25 00:04:53 +01:00
Giacomo Leidi
35c6ae6e58
services: restic-backup: Implement as a Shepherd timer.
This patch implements restic backup with Shepherd services.  It is
supposed not to break any existing setup.

* gnu/services/backup.scm (restic-backup-job): Add Shepherd
configuration options;
(restic-backup-job->mcron-job): Replace with...;
(restic-job-log-file): New procedure;
(restic-backup-job->shepherd-service): New procedure;
(restic-backup-activation): New procedure;
(restic-backup-service-type): Replace mcron with Shepherd extension and add
activation extension hook.
* doc/guix.texi: Document it.

Change-Id: I66de3b6a1cb6177f9e4ee0c2acf3013ecbcdd338
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-25 00:04:27 +01:00
Noé Lopez
44d12f9663
tests: pack: Improve AppImage tests.
* tests/pack.scm: Improve AppImage tests.

Change-Id: I7890b902f65a2944ae8fa03db8a964deda3c725c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-24 23:52:49 +01:00
Sharlatan Hellseher
1977f57688
gnu: vale: Update to 3.9.4.
* gnu/packages/textutils.scm: Add (gnu packages golang).
(vale): Update to 3.9.4.
[source] <snippet>: Remove it.
[arguments] <go>: Use go-1.23.
<test-flags>: Skip just 3 tests.
<test-subdirs>: Test the whole code base by starting from import-path.
[native-inputs]: Remove go-github-com-karrick-godirwalk and
go-github-com-mholt-archiver-v3; add
go-github-com-jdkato-go-tree-sitter-julia,
go-github-com-pelletier-go-toml-v2,
go-github-com-smacker-go-tree-sitter, go-github-com-stretchr-testify,
and go-github-com-tomwright-dasel-v2.

Change-Id: Ic13b52caa92f6ba2fcd2f34f74b5a599773c5254
2025-01-24 22:52:21 +00:00
Sharlatan Hellseher
6d7bce39d5
gnu: Add go-github-com-tomwright-dasel-v2.
* gnu/packages/golang-xyz.scm (go-github-com-tomwright-dasel-v2): New variable.

Change-Id: I92e2cc4d4e04663d425cc0719c6f9faf84bfe905
2025-01-24 22:52:21 +00:00
Sharlatan Hellseher
0e4bd4d97e
gnu: Add go-github-com-clbanning-mxj-v2.
* gnu/packages/golang-xyz.scm (go-github-com-clbanning-mxj-v2): New variable.

Change-Id: Ib1332703a10683ddffe2515c31abddded0a28d5e
2025-01-24 22:52:21 +00:00
Sharlatan Hellseher
7130b9d425
gnu: Add go-github-com-jdkato-go-tree-sitter-julia.
* gnu/packages/golang-xyz.scm (go-github-com-jdkato-go-tree-sitter-julia): New variable.

Change-Id: Id6a7a86393e21f642c36c7526e5abda3b5fa8e01
2025-01-24 22:52:20 +00:00
Sharlatan Hellseher
2f9f937784
gnu: Add go-github-com-smacker-go-tree-sitter.
* gnu/packages/golang-xyz.scm (go-github-com-smacker-go-tree-sitter): New variable.

Change-Id: I34cdf9e1680ba478ee4cebe198c0db7fd9fa36b2
2025-01-24 22:52:20 +00:00
Sharlatan Hellseher
98ddcf5758
gnu: go-github-com-spf13-cobra: Adjust inputs.
* gnu/packages/golang-xyz.scm (go-github-com-spf13-cobra)
[propagated-inputs]: Add go-github-com-go-md2man.
[native-inputs]: Remove go-github-com-go-md2man.

Change-Id: I4f019b309c244729f8eff4810a870f140dc78735
2025-01-24 22:52:20 +00:00
Sharlatan Hellseher
60e1d11154
gnu: go-github-com-golangplus-fmt: Move to golang-check.
* gnu/packages/golang.scm (go-github-com-golangplus-fmt): Move from here ...
* gnu/packages/golang-check.scm: ... to here.

Change-Id: If236c036b3922d82d88fd745bf81c94f9d4d2bc5
2025-01-24 22:52:20 +00:00
Noé Lopez
1ec7bf9f29
pack: Support localstatedir in AppImage format.
* guix/scripts/pack.scm (self-contained-appimage): Support localstatedir
option.

Change-Id: I296b3d3e442aa90f36de62a9b23aba4a2c3de9a0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-24 23:43:35 +01:00
Ludovic Courtès
9f9e89a8ca
gnu: linux-libre: Remove duplicate “linux-libre-arm64-generic@6.12” package.
Fixes a regression in 5c2bcafd28, which
led to having two “linux-libre-arm64-generic@6.12” packages on
aarch64-linux, thus leading to a failure of the “fold-available-packages
with/without cache” in ‘tests/packages.scm’.

* gnu/packages/linux.scm (linux-libre-lts-arm64-generic): Check whether
‘linux-libre-lts-version’ is equal to ‘linux-libre-version’ and, if so,
make it an alias for ‘linux-libre-arm64-generic’.

Change-Id: I01e4d4ff9c66ffe1cb33dd781fba9f7f6b40e93e
2025-01-24 23:36:05 +01:00
Ludovic Courtès
5ec09ac867
upstream: ‘package-archive-type’ doesn’t choke on lack of extension.
* guix/upstream.scm (package-archive-type): Check whether EXTENSION is
true.

Change-Id: I35886770e7c0e941ff3990030dab03b53efc70ab
2025-01-24 23:36:04 +01:00
Ludovic Courtès
3e626bb39d
lint: Adjust ‘check-inputs-should-not-be-an-input-at-all’ tests for Python.
This is a followup to bea2914b3d, which
removed ‘python-setuptools’ from the list of “unauthorized” inputs.

* tests/lint.scm ("inputs: python-pip should not be an input at all (input)")
("inputs: python-pip should not be an input at all (native-input)")
("inputs: python-pip should not be an input at all (propagated-input)"):
New tests, with s/python-setuptools/python-pip/.

Change-Id: Ic575825da5c64052d3d573b37b458bd61547bae1
2025-01-24 23:36:04 +01:00
Zheng Junjie
ea7a6fa8c6
Update mailmap.
* .mailmap: Add entry for Zheng Junjie.

Change-Id: I1fd39d369b3de71946acdfff92af103a052e8471
2025-01-25 01:44:32 +08:00
Sughosha
fab4f135b9
gnu: Add tellico.
* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: If844492deb44ccd44f7598413f41e69957306726
2025-01-25 01:44:32 +08:00
Sughosha
93898f55fe
gnu: Add yaz.
* gnu/packages/networking.scm (yaz): New variable.

Change-Id: Ib18a68f58735d679a26108bd57f943caf4941884
2025-01-25 01:44:32 +08:00
Sughosha
84bca75d60
gnu: Add libcsv.
* gnu/packages/serialization.scm (libcsv): New variable.

Change-Id: I0099d72027ccb1c22e937993d36b979c52bb67d3
2025-01-25 01:44:32 +08:00
Andy Tai
3dc1e0fea7
gnu: parallel: Update to 20250122.
* gnu/packages/parallel.scm (parallel): Update to 20250122.

Change-Id: I71a2da59ce82c7e676e372c752b8248cfd5b5c12
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2025-01-25 01:44:28 +08:00
David Thompson
30e18bb432
gnu: guile-goblins: Update to 0.15.0.
* gnu/packages/guile-xyz.scm (guile-goblins): Update to 0.15.0.
[propagated-inputs]: Add guile-websocket and drop guile-gcrypt.

Change-Id: I0fe5983f8c9c23480359377976fa370eefe773c1
2025-01-24 12:39:11 -05:00
Zheng Junjie
8f219ec01a
gnu: elfutils: Fix build to loongarch64.
* gnu/packages/elf.scm (elfutils)[native-inputs]: When target is loongarch64,
add config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: I0a0b4faa8594ecca2344eb4b15392e4355e79e45
2025-01-25 01:05:27 +08:00
Zheng Junjie
b3c0f20901
gnu: pcre2: disable jit on loongarch64.
* gnu/packages/pcre.scm (pcre2)[arguments]<#:configure-flags>: when
target loongarch64, don't pass --enable-jit.

Change-Id: I5c57da334da0d9fe33e3ec7963a4967e5463d125
2025-01-25 01:05:27 +08:00
Zheng Junjie
4664e4207a
gnu: isl: Fix build to loongarch64.
* gnu/packages/gcc.scm (isl)[arguments]: When target is loongarch64, Add
update-config-scripts phase.
[native-inputs]: When target is loongarch64, Add config.

Change-Id: If60b28f64dd3285f5b89000c42e714be07876400
2025-01-25 01:05:27 +08:00
Zheng Junjie
e9cccd824e
gnu: sed: Fix build to loongarch64.
* gnu/packages/base.scm (sed)[native-inputs]: When target is loongarch64, add
config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: I056d5004ec326f8c5b30853d5ea401ea12a949b7
2025-01-25 01:05:27 +08:00
Zheng Junjie
0d133fdd73
gnu: bash: Fix build to loongarch64.
* gnu/packages/bash.scm (bash)[native-inputs]: When target is loongarch64, Add
config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: Icadaace85a62582fcb0724dda8f5067d22257cd6
2025-01-25 01:05:27 +08:00
Zheng Junjie
104904196c
gnu: libatomic-ops: Fix build to loongarch64.
* gnu/packages/bdw-gc.scm (libatomic-ops)[native-inputs]: When target is
loongarch64, Add config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: I7a56860910e38985573482d4a4cfa622d8158f7c
2025-01-25 01:05:26 +08:00
Zheng Junjie
3228924c7b
gnu: gdbm: Fix build to loongarch64.
* gnu/packages/dbm.scm (gdbm)[arguments]: When target is loongarch64, Add
update-config phase.
[native-inputs]: When target is loongarch64, Add config.

Change-Id: I1fd1b0b4171ae3cddbcc1683f8cb12ed85fa5da8
2025-01-25 01:05:26 +08:00
Zheng Junjie
e404f8ef4c
gnu: readline: Fix build to loongarch64.
* gnu/packages/readline.scm (readline)[arguments]: When target is loongarch64,
Add update-config-scripts phase.
[native-inputs]: When target is loongarch64, Add config.

Change-Id: Ie369d53c7f2493a7a65fe592a3671719dee264c0
2025-01-25 01:05:26 +08:00
Zheng Junjie
151128b628
gnu: openssl: Support loongarch64.
* gnu/packages/tls.scm (target->openssl-target, target->openssl-target): Add
loongarch64 case.

Change-Id: Ie85b4e1f39650f6134c9b5c4c81e0d5f83068558
2025-01-25 01:05:26 +08:00
Zheng Junjie
fffecf715b
gnu: %glibc-stripped: Fix cross-compiling to loongarch64.
gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: When target
loongarch64, Use linux-libre-headers-5.19.17.

Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
2025-01-25 01:05:26 +08:00
Zheng Junjie
40f5d73395
gnu: cross-base: Add cross-compiling support for loongarch64.
gnu/packages/cross-base.scm (cross-kernel-headers/deprecated,
cross-kernel-headers*): When target loongarch64, use
linux-libre-headers-5.19.17.

Change-Id: Ib144ebf86428dddd92f5b899dc241a428f8dc374
2025-01-25 01:05:26 +08:00
Zheng Junjie
8c4af44d12
gnu: Add linux-libre-headers-5.19.17.
linux 5.19 include loongarch support, so add it.

* gnu/packages/linux.scm (linux-libre-headers-5.19.17): New variable.

Change-Id: Iddd930c1f7243f5307bec75c41f70d5ff5bbd531
2025-01-25 01:05:26 +08:00
Zheng Junjie
ce7b546848
utils: Add target-loongarch64?.
* guix/utils.scm (target-loongarch64): New procedure.

Change-Id: I8d21bcf04d479937039f6f507b5460bb560fd8ec
2025-01-25 01:05:26 +08:00
Zheng Junjie
7d43134dab
gnu: glibc-dynamic-linker: Add loongarch64-linux support.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add loongarch64-linux
case.

Change-Id: I57bb3d34aec82e12de75913c53bf70fc83137404
2025-01-25 01:05:26 +08:00
Zheng Junjie
71f6ab8eb5
guix: Add loongarch platform.
* Makefile.am (MODULES): Add loongarch platform module.
* doc/guix.texi: Add documentation for loongarch platform.
* guix/platforms/loongarch.scm (loongarch64-linux): New variable.

Change-Id: I71b8f3cb3b2f0d9562bbbefdc1f2fc4b2dcc4fbb
2025-01-25 01:05:22 +08:00
gemmaro
32e31ef428
gnu: font-gnu-unifont: Update to 16.0.02.
* gnu/packages/fonts.scm (font-gnu-unifont): Update to 16.0.02.
[arguments] <#:phases>: Replace "/bin/sh" without the "-s" flag.
Skip the thumbnails task.

Co-authored-by: Ashvith Shetty <ashvithshetty10@gmail.com>
Change-Id: I56d1abb939d61e7c244bf0c117f0b5d13d053950
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
2025-01-25 00:45:07 +08:00
Sharlatan Hellseher
9b98e4b0ee
gnu: go-github-com-syncthing-notify: Fix indentation.
* gnu/packages/syncthing.scm (go-github-com-syncthing-notify): Fix
indentation.

Change-Id: I50a4283912d1444374f5422e0dc4b75f5e33778f
2025-01-24 14:08:32 +00:00
Sharlatan Hellseher
232875beb7
gnu: go-github-com-syncthing-notify: Update to 0.0.0-20210616190510-c6b7342338d2.
* gnu/packages/syncthing.scm (go-github-com-syncthing-notify): Update to 0.0.0-20210616190510-c6b7342338d2.

Change-Id: I3e216523dd714f35f22104a0c597c167bf9333ad
2025-01-24 14:07:42 +00:00
Sharlatan Hellseher
b5ff25fc07
gnu: packages/syncthing: Remove (gnu packages golang).
* gnu/packages/syncthing.scm: Remove (gnu packages golang) as no longer
required.

Change-Id: I884595ec431b153868902271885e179bb4cf812e
2025-01-24 13:06:01 +00:00
Leo Famulari
317ee994d6
gnu: Syncthing: Update to 1.28.1.
* gnu/packages/syncthing.scm (syncthing): Update to 1.28.1.
[arguments]: Adjust the 'build' and 'install' phases to upstream changes.

Change-Id: Icc7342ce13ffa03df51e4e71faf2e19a0636635f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-24 13:02:35 +00:00