Commit graph

168 commits

Author SHA1 Message Date
Sharlatan Hellseher
87661cea77
gnu: Pin some golang packages to use go-1.23.
After the defult Golang version was set to 1.24 some of the older
packages which had no fresh version started failing on the 'check phase,
this change pins them to go-1.23 helping to resolve the issue.

Go 1.24 requires non-constant format strings to be explicitly handled.

The errors might look like these:

    non-constant format string in call to (*testing.common).Errorf
    ExampleParseOptionsLifetime refers to unknown identifier: ParseOptionsLifetime

See <https://tip.golang.org/doc/go1.24#vet>.

Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
2025-08-11 21:42:42 +01:00
Maxim Cournoyer
1482e0d789
gnu: Remove #:go arguments using go-1.22, go-1.23 or go-1.24.
We are now building with go-1.24 by default.

Automated via:

  git grep -rl '#:go go-1.2' | xargs sed -i '/.*#:go go-1.2[234].*/d'

Change-Id: Ib821d96753619c7748a67ff58b95d8fa358839b7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-08-11 21:42:39 +01:00
Efraim Flashner
5e0cf0d25e
gnu: go-github-com-protonmail-go-crypto: Fix build on riscv64-linux.
* gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto)
[arguments]: When building for riscv64-linux skip a test.

Change-Id: Ibc62d37a6187bbeb5d251f10980d0fdd1c5240dd
2025-06-29 08:36:37 +03:00
Sharlatan Hellseher
1f9a091170
gnu: Add go-obfs4proxy.
Fixes <https://issues.guix.gnu.org/77470>.

* gnu/packages/golang-crypto.scm (go-obfs4proxy): New variable.

Change-Id: I318e757e3d2eaaba818f28277559e65ab87c910b
2025-05-27 09:57:23 +01:00
Sharlatan Hellseher
7ee4e61276
gnu: go-github-com-nats-io-nkeys: Update to 0.4.10.
* gnu/packages/golang-crypto.scm (go-github-com-nats-io-nkeys): Update to 0.4.10.

Change-Id: I7e9b499fe645285302d9f0fc523dd97f0afec171
2025-05-26 16:50:22 +01:00
Sharlatan Hellseher
fccb818f8a
gnu: go-github-com-nats-io-jwt-v2: Update to 2.7.3.
* gnu/packages/golang-crypto.scm (go-github-com-nats-io-jwt-v2): Update to 2.7.3.

Change-Id: Ie2b0317921e376723a56449483c9025e6559c84c
2025-05-26 16:50:22 +01:00
Sharlatan Hellseher
6bdfd6bf0a
gnu: go-github-com-minio-highwayhash: Update to 1.0.3.
* gnu/packages/golang-crypto.scm (go-github-com-minio-highwayhash): Update to 1.0.3.

Change-Id: I7ad09f11187a8aac2f19deb39495b3ad778fb7bc
2025-05-26 16:50:22 +01:00
Sharlatan Hellseher
c8955d6cb8
gnu: Add go-github-com-miekg-pkcs11.
* gnu/packages/golang-crypto.scm: Add (gnu packages security-token).
(go-github-com-miekg-pkcs11): New variable.

Change-Id: I4319b03008e145f0a4a0a175df14d10f9cb56879
2025-05-26 16:50:20 +01:00
Sharlatan Hellseher
6dc7218c78
gnu: go-github-com-operatorfoundation-shapeshifter-transports: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-transports):
Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I0092d1b230418d3cbd7ee081837b6fcd427c546e
2025-05-26 16:50:17 +01:00
Sharlatan Hellseher
525477adea
gnu: Add go-github-com-operatorfoundation-shapeshifter-ipc-v3.
* gnu/packages/golang-crypto.scm (go-github-com-operatorfoundation-shapeshifter-ipc-v3): New variable.

Change-Id: I6aadba6f7f47f3f38ace4abcd9a324635953c0f7
2025-05-26 16:50:17 +01:00
Sharlatan Hellseher
1b6f357afe
gnu: go-github-com-operatorfoundation-shapeshifter-ipc: Move to golang-crytpo.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-shapeshifter-ipc):
Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I4a41a0f49845af734a91333ab45fc8295411589e
2025-05-26 16:50:17 +01:00
Sharlatan Hellseher
640b0a7317
gnu: go-github-com-blanu-dust: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-blanu-dust): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: Icd47f787e7a901f60bc78e00701a7c8d4a6c05b1
2025-05-26 16:50:17 +01:00
Sharlatan Hellseher
b23a0ee231
gnu: go-github-com-operatorfoundation-obfs4: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-obfs4): Move
from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I8d2a9d44ffab1b13d6429e89804431f366b12399
2025-05-26 16:50:16 +01:00
Sharlatan Hellseher
f37c215d24
gnu: go-github-com-apparentlymart-go-openvpn-mgmt: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt):
Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

* gnu/packages/vpn.scm: Add (gnu packages golang-crypto).

Change-Id: I66bdb3c2999c01a7d78ad58d42a427c5860896af
2025-05-26 16:50:16 +01:00
Sharlatan Hellseher
bb7854ad68
gnu: Add go-github-com-elithrar-simple-scrypt.
* gnu/packages/golang-crypto.scm (go-github-com-elithrar-simple-scrypt): New variable.

Change-Id: Ia1cfb476a5c8c059e4e495a1b9f427f215e5cb15
2025-05-26 16:50:11 +01:00
Sharlatan Hellseher
9255cc9550
gnu: Add go-github-com-minio-crc64nvme.
* gnu/packages/golang-crypto.scm (go-github-com-minio-crc64nvme): New variable.

Change-Id: I237265471a3434b3a61580ddf1db1c9859fa4740
2025-05-26 16:50:11 +01:00
Sharlatan Hellseher
3f605d642e
gnu: Add go-github-com-minio-md5-simd.
* gnu/packages/golang-crypto.scm (go-github-com-minio-md5-simd): New variable.

Change-Id: Ie2b739a36eabeb464e9e981ccf3cb620ddbfa092
2025-05-26 16:50:11 +01:00
Sharlatan Hellseher
022b556ab6
gnu: go-github-com-gsterjov-go-libsecret: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-gsterjov-go-libsecret): Move
from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: Idd2800d55531b0045d1099272fa0d6a2b3ca27b9
2025-05-26 16:50:06 +01:00
Sharlatan Hellseher
69e7363c41
gnu: Add go-go-mau-fi-libsignal.
It was proposed in #62284 on <2023-03-20>.

* gnu/packages/golang-crypto.scm (go-go-mau-fi-libsignal): New variable.

Co-authored-by: conses <contact@conses.eu>
Co-authored-by: Miguel Ángel Moreno <mail@migalmoreno.com>
Change-Id: Ia72d54957b97204278886ce23bf15a7ece746aa4
2025-05-26 16:50:05 +01:00
Sharlatan Hellseher
5b93409641
gnu: ssh-to-pgp: Move to golang-crypto.
This change slightly improves cross reference and cycle between modules.

* gnu/packages/crypto.scm: Remove (gnu packages golang-crypto), (gnu
packages golang-build) and (guix build-system go).
(ssh-to-pgp): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I5b59e19704e212fca917de30c9b3b3e0dc4da80b
2025-05-26 16:50:04 +01:00
Sharlatan Hellseher
465a3385c8
gnu: go-github-com-gxed-hashland-keccakpg: Update to 0.0.1.
* gnu/packages/golang-crypto.scm (go-github-com-gxed-hashland-keccakpg): Update to 0.0.1.

Change-Id: Ic629fedb791ae0528bc21214f3f640e05d3e3ee2
2025-05-26 16:50:04 +01:00
Sharlatan Hellseher
4f651a4ba2
gnu: go-github-com-gxed-hashland-murmur3: Build from source.
This package provides a dedicated go.mod file and distributed separately
from go-github-com-gxed-hashland.

* gnu/packages/golang-crypto.scm (go-github-com-gxed-hashland-murmur3):
Do not inherit from go-github-com-gxed-hashland.
[source]: Provide it.
[home-page]: Likewise.
[license]: Likewise.

Change-Id: Id7b9d62a99badb2950f5cecc9171037a82219ce3
2025-05-26 16:50:04 +01:00
Sharlatan Hellseher
f698e1f38f
gnu: age-keygen: Deprecate package properly.
Reported in #76607: Missing age-keygen - can't build package cache

* gnu/packages/golang-crypto.scm (age-keygen): New deprecating variable,
to help resolving issues with users' manifests.

Reported-by: Rostislav Svoboda <rostislav.svoboda@gmail.com>
Change-Id: If99923941e0d814270ee8dd0dcb5683295885109
2025-02-27 14:29:16 +00:00
Nicolas Graves
3f6eefdcf2
gnu: age: Install manpages.
* gnu/packages/golang-crypto.scm (go-filippo-io-age): Remove other doc
files.
(age): [arguments] <phases>: Add 'install-man-pages.

Change-Id: I58e10755c907af5a67083fb22682efdd4c4b7c92
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-27 11:45:37 +00:00
Sharlatan Hellseher
05e0793479
gnu: age: Merge packages with executibles into single one.
Reported in #76581: Age: Fix interaction with age.el, add manpages.

* gnu/packages/golang-crypto.scm (go-filippo-io-age) [arguments]
<build-flags>: Set version.
[description]: Fix it.
(age): Swap to PACKAGE/INHERIT, simplify package definition and build
all commands.
[arguments] <phases>: Remove 'remove-failing-test-data-files. Use custom
'build.
(age-keygen): Delete variable.

Co-authored-by: Nicolas Graves <ngraves@ngraves.fr>
Change-Id: I8f4892dfceef34c47f945efce8ddfa9787102d4a
2025-02-27 10:20:15 +00:00
Efraim Flashner
66daf46b41
gnu: Fix some misspellings.
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
2025-02-19 11:21:47 +02:00
Vagrant Cascadian
3842479e75
gnu: Fix typos in golang package description and synopsis.
* gnu/packages/golang-check.scm (go-modernc-org-ccorpus2)[description]: Fix
spelling of "package".
* gnu/packages/golang-compression.scm
(go-github-com-mholt-archiver-v3)[description]: Fix spelling of "command".
* gnu/packages/golang-crypto.scm (go-gitlab-com-yawning-bsaes-git)[synopsis]:
Fix spelling of "implementation".
* gnu/packages/golang-web.scm
(go-github-com-pires-go-proxyproto)[description]: Fix spelling of "coming".
* gnu/packages/golang-xyz.scm (go-github-com-golangplus-bytes)[synopsis]: Fix
spelling of "Extension".  (go-github-com-goreleaser-fileglob)[description]:
Fix spelling of "directories".  (go-github-com-joho-godotenv)[synopsis]: Fix
spelling of "library".  (go-github-com-otiai10-copy)[description]: Fix
spelling of "implements".  (go-github-com-otiai10-copy)[description]: Fix
spelling of "functinoality".  (go-github-com-zyedidia-poller)[description]:
Fix spelling of "concurrent".
2025-02-17 12:38:08 -08:00
Roman Scherer
5c9572a5e6
gnu: Add go-github-com-jphastings-jwker.
* gnu/packages/golang-crypto.scm (go-github-com-jphastings-jwker,
go-jwker): New variables.

Change-Id: Iffc746524f2cd4461ae7f204cb8c82136b63d21d
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-02-14 14:03:16 +00:00
Sharlatan Hellseher
17e00cca81
gnu: go-github-com-jedisct1-go-minisign: Move to golang-crypto.
* gnu/packages/crypto.scm (go-github-com-jedisct1-go-minisign): Move
from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I03446e947a83c315c026efaa1e2a29d105287fa3
2025-02-10 15:22:46 +00:00
Sharlatan Hellseher
68d213fa0b
gnu: go-github-com-golang-jwt-jwt-v5: Update to 5.2.1.
* gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v5): Update to 5.2.1.

Change-Id: I7d7b00e2a1b1ef95b515e424728df29df7671650
2025-02-10 15:02:20 +00:00
Sharlatan Hellseher
5b9fa4a27c
gnu: go-github-com-cespare-xxhash-v2: Update to 2.3.0.
* gnu/packages/golang-crypto.scm (go-github-com-cespare-xxhash-v2): Update to 2.3.0.

Change-Id: I07f4933769c9f32a1c9c785497300ff83acd8f7c
2025-02-03 14:02:46 +00:00
Sharlatan Hellseher
4ded4c6b71
gnu: go-github-com-cespare-xxhash-v2: Skip dynamic and benchmark tests.
Reported in #75970 by Roman Scherer <roman@burningswell.com>.

Tests containing in "dynamic" directory fail to find ld on aarch64-linux
system, these changes limit the number of tests to current project's
root and "xxhsum" subdir.

* gnu/packages/golang-crypto.scm (go-github-com-cespare-xxhash-v2)
[arguments] <test-subdirs>: Limit to "xxhsum" and project's root.

Change-Id: Id67a33c313e127ffafbcf64da01515a6a3cc96fc
2025-02-03 14:02:38 +00:00
Sharlatan Hellseher
f0527feeda
gnu: Remove go-github-com-quic-go-qtls-go1-20.
Has no users in Guix, failed to build, not maintained upstream: "This
repository has been archived by the owner on Jan 31, 2024. It is now
read-only."

* gnu/packages/golang-crypto.scm (go-github-com-quic-go-qtls-go1-20): Delete variable.

Change-Id: Ib946c435711d8289b2ecd9a2594b830781dcdc4a
2025-01-23 12:05:41 +00:00
Sharlatan Hellseher
ddffdc4f6b
gnu: Add go-github-com-tjfoc-gmsm.
* gnu/packages/golang-crypto.scm (go-github-com-tjfoc-gmsm): New variable.

Change-Id: I6c4ef3997743aafc103acca7a00c98724e1b3b0b
2025-01-21 23:47:59 +00:00
Sharlatan Hellseher
7009476627
gnu: go-github-com-99designs-keyring: Simplify.
* gnu/packages/golang-crypto.scm (go-github-com-99designs-keyring)
[arguments] <test-flags>: Move skip tests logic here.
<phases>: Remove 'disable-failing-tests.

Change-Id: I69dc7a85963632c430bfc0f54caacaa371675bcd
2025-01-21 23:47:58 +00:00
Sharlatan Hellseher
0af5e34f2e
gnu: go-filippo-io-edwards25519: Update to 1.1.0.
* gnu/packages/golang-crypto.scm (go-filippo-io-edwards25519): Update to 1.1.0.

Change-Id: I3f43676941a2bc3d277085362fdeafca54afe7e8
2025-01-21 23:47:58 +00:00
Sharlatan Hellseher
40f61f474c
gnu: Add go-gitlab-com-nyarla-go-crypt.
* gnu/packages/golang-crypto.scm (go-gitlab-com-nyarla-go-crypt): New variable.

Change-Id: Ie28070f92468dbf8307f917159872844bbb375b3
2025-01-21 23:47:54 +00:00
Sharlatan Hellseher
18205e27e9
gnu: Add go-github-com-bradenhilton-cityhash.
* gnu/packages/golang-crypto.scm (go-github-com-bradenhilton-cityhash): New variable.

Change-Id: I42bb34f4a5dc4a92c2eceead1f2daa910ac387be
2025-01-21 23:47:52 +00:00
Sharlatan Hellseher
0edeae4178
gnu: go-gitlab-com-yawning-utls-git: Fix tests.
* gnu/packages/golang-crypto.scm (go-gitlab-com-yawning-utls-git)
[arguments] <test-flags>: Skip 2 tests relaying on dated TLS
certificates.

Change-Id: I289f1a97df83f8c43e029de8457098061528c922
2025-01-21 23:47:49 +00:00
Sharlatan Hellseher
297f3f279a
gnu: Add go-github-com-twpayne-go-pinentry.
* gnu/packages/golang-crypto.scm (go-github-com-twpayne-go-pinentry,
go-github-com-twpayne-go-pinentry-v4): New variables.

Change-Id: Iec28d1a0c9215d9d31212ceaa4ccb4046bf0fab3
2025-01-21 23:47:48 +00:00
Sharlatan Hellseher
63ae00be2a
gnu: go-github-com-spaolacci-murmur3: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-spaolacci-murmur3): Move from
here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I05fca3251cf7706f8e34295657d57e43f1213079
2025-01-21 23:47:45 +00:00
Sharlatan Hellseher
2f4ea332de
gnu: go-github-com-mr-tron-base58: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-mr-tron-base58): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I85d07e3451db02d39df1620ce9dfd69baaa0b8eb
2025-01-21 23:47:45 +00:00
Sharlatan Hellseher
38e08f9d4f
gnu: Add go-github-com-dgryski-dgoogauth.
* gnu/packages/golang-crypto.scm (go-github-com-dgryski-dgoogauth): New variable.

Change-Id: I029051004b2d573eefa5e8289c822e967b799b33
2025-01-21 23:47:40 +00:00
Sharlatan Hellseher
48637ed9f5
gnu: Add go-github-com-dgryski-go-rendezvous.
* gnu/packages/golang-crypto.scm (go-github-com-dgryski-go-rendezvous): New variable.

Change-Id: I863e2044ab365a80763226f8b8e8ea88719fe073
2025-01-21 23:47:40 +00:00
Sharlatan Hellseher
598c55929f
gnu: go-github-com-dgryski-go-mph: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-dgryski-go-mph): Move
from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I58bb4f8d6be1e840d214a2e1487a3637bbef0edf
2025-01-21 23:47:40 +00:00
Sharlatan Hellseher
cc6a75bdc9
gnu: go-github-com-dgryski-go-metro: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-dgryski-go-metro): Move
from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I1aa3193aa57ca3b8dd1dca49038dbc045f8bfc1a
2025-01-21 23:47:40 +00:00
Sharlatan Hellseher
f099ed03b6
gnu: go-github-com-xdg-go-pbkdf2: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-xdg-go-pbkdf2): Move from here ...
* gnu/packages/golang-web.scm: ... to here.

Change-Id: I3151905dcf2cdedc00c4d2f84b0e76f5b6a25d30
2025-01-21 23:47:38 +00:00
Sharlatan Hellseher
4abccd5fb8
gnu: go-github-com-twmb-murmur3: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-twmb-murmur3): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I38c3e1e43b9d20e426bd653a1255033000f0917a
2025-01-21 23:47:37 +00:00
Sharlatan Hellseher
011a10dbc0
gnu: go-github-com-dchest-siphash: Move to golang-crypto.
* gnu/packages/golang.scm (go-github-com-dchest-siphash): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.

Change-Id: I88a952103cf74c8a8482f243be0af6ee24cb85da
2025-01-21 23:42:39 +00:00
Sharlatan Hellseher
93ef69c0fc
gnu: go-github-com-shadowsocks-go-shadowsocks2: Simplify.
* gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2)
[arguments] <phases>: Use default 'check.

Change-Id: I3a82a65b93a44a90804989a75d7238918702e4bf
2025-01-21 23:42:36 +00:00