Commit graph

144245 commits

Author SHA1 Message Date
Christina O'Donnell
296c78aab6
import/go: Account for monorepo modules in the Go importer.
This change allows for importing of modules situated in repos where they're
not at the root directory.

* guix/import/go.scm (go-module-verstion-string): Delete
(go-module-version-info): New procedure
(module-path->repository-root): Add parameter
(vcs->origin): Add parameter
(path-diff): New procedure

Change-Id: If50f7a951ce8e527e5ea44ed24db10d6a3676ff0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:40 +00:00
Christina O'Donnell
18a77fb3f8
build-system/go: Add subdir parameter to go-version->git-ref.
This implements logic to handle cases where Go can have multiple modules
at different versions within a single repository.  It distinguishes their
releases by using tags along with their subdirectories.  See
https://go.dev/ref/mod#vcs-version.

* guix/build-system/go.scm (go-version->git-ref): Add <#:subdir> keyword
parameter and extend condition checks.

Change-Id: I68bc9e785e49877bb0b756de8458308549f4c957
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:40 +00:00
Efraim Flashner
ecdca86e1c
gnu: go-1.20: Build with gccgo-12 on some systems.
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Don't replace the
gccgo input on architectures bootstrapping go with it.

Change-Id: I26831b2bcfe623f6eb0ac7c16b463e5e873110e6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:39 +00:00
Brennan Vincent
867d7a8b2f
gnu: go-1.23: Update to 1.23.1.
* gnu/packages/golang.scm (go-1.23): Update to 1.23.1.

Change-Id: I2f5c377ae8009facd899d1cd3d0f6e2fe89fcf14
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-09 21:33:39 +00:00
Troy Figiel
56cc37bfb2
build-system/go: Allow providing additional test flags.
By allowing the use of test flags, we can more precisely skip failing tests
(for go version >=1.20), disable the vetting stage or select a subset of tests
(e.g. if an upstream flag is provided to skip tests which require a network
connection).  At the moment, the only way around these test failures is to
remove the test file completely or patch the code ourselves.

* guix/build-system/go.scm (go-build): Add test-flags variable.
(go-cross-build): Add test-flags variable.
* guix/build/go-build-system.scm (check): Pass the additional test flags to the invoke call.
* doc/guix.texi (go-build-system): Document <#:test-flags> parameter.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4015870fbbc15503cb405fe9ef6032953a5ff17f
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
7f6a9ecaa3
import/go: Add comment about monorepo.
* guix/import/go.scm: Clarify what is monorepo in Go ecosystem.

Change-Id: I86e35db4f02bfacb3df15a330ca1fde373b3cc13
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
75d1ca21f3
gnu: go-github-com-aws-aws-sdk-go-v2: Update to 1.30.5.
* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2): Update to 1.30.5.
[propagated-inputs]: Remove go-github-com-google-go-cmp.

Change-Id: I87c1cf86c707fb3c4e369d58ac69a2a8b806ef80
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
a6e95a7202
gnu: Remove go-github-com-rylans-getlang.
Not in use by any packages in Guix, no updates for 4y.

* gnu/packages/golang.scm (go-github-com-rylans-getlang): Delete variable.

Change-Id: I6a7e1201d52166fc43b5e99e38181c6a5dedea69
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
a62da8c22a
gnu: Remove go-github-com-kyoh86-xdg.
Not in use by any packages in Guix: "This repository has been archived by
the owner on May 25, 2021. It is now read-only."

* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): Delete variable.

Change-Id: If80ceb32e4624f08d04cb0270341cac41e6b11fb
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
32853832d5
gnu: Add go-github-com-deckarep-golang-set-v2.
* gnu/packages/golang-xyz.scm (go-github-com-deckarep-golang-set-v2): New variable.

Change-Id: I0e59fecfeba327c4f926c94b65f7bc8c42750fda
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
9a29c9e09e
gnu: go-github-com-deckarep-golang-set: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-deckarep-golang-set): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I10c1c8b2e0ad69913068cf89bc646a4ceb471c8f
2024-11-09 21:33:39 +00:00
Sharlatan Hellseher
4e1e6beaf9
gnu: go-github-com-operatorfoundation-monolith-go: Update to 1.0.10.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go): Update to 1.0.10.

Change-Id: Ib1777f2d34ca57d97eaa1f4acab9afd0dbe28bee
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
bef1218cfc
gnu: Add go-html2text.
* gnu/packages/golang-web.scm (go-html2text): New variable.
(go-github-com-jaytaylor-html2text) [source]: Adjust module import path
to use in CLI.

Change-Id: Ia440d027cb02a1d6584c6f32ff81353b22d4145a
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
856e342fd7
gnu: go-github-com-jaytaylor-html2text: Move to golang-web.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Move from here ...
* gnu/packages/golang-web.scm ... to here.

Change-Id: Ie2e79aa4a7f034579433f9ea7d55bcfdea1b90d8
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
39f0bd003b
gnu: go-github-com-jaytaylor-html2text: Enable tests.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Enable tests.

Change-Id: I014b718d13ce4b266acdb617acc35a3ef9b0ce28
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2d5fef2d59
gnu: go-github-com-jaytaylor-html2text: Update to 0.0.0-20230321000545-74c2419ad056.
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): Update to 0.0.0-20230321000545-74c2419ad056.

Change-Id: Ibe7aacec03a4b8b4e3df7f8a8c871a7f072b6fc9
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2f4175c16f
gnu: go-github-com-gogs-chardet: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-gogs-chardet): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I88666bcaf2e8ea62274a0b01a5cf7247da160fa2
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
2c173a76e4
gnu: go-github-com-jhillyerd-enmime: Update to 1.3.0.
* gnu/packages/golang-web.scm (go-github-com-jhillyerd-enmime): Update to 1.3.0.
[propagated-inputs]: Remove go-github-com-go-test-deep.
[native-inptus]: Add go-github-com-go-test-deep.

Change-Id: Ie57f6739250ffcaf1b24564b8fba44fdd2d52fce
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
f9786d2519
gnu: Remove go-github-com-niemeyer-pretty.
Not in use by any other packages, not maintained fork of
<https://github.com/kr/pretty>.

* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): Delete variable.

Change-Id: I6b3340fa95a6bdf6735cace1bcd979766afd6453
2024-11-09 21:33:38 +00:00
Sharlatan Hellseher
56f663870f
gnu: go-github-com-lithammer-fuzzysearch: Move to golang-xyz.
gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Move from
here ...
gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ica80efe706f97694f5f6584fe64f9a764e5d082b
2024-11-09 21:33:37 +00:00
Sharlatan Hellseher
e4fcdc52bb
gnu: go-github-com-lithammer-fuzzysearch: Enable tests.
* gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): Enable tests.

Change-Id: Ib040db7321d33e2dfdefa37b59bcc095ea96dbb2
2024-11-09 21:33:37 +00:00
Wilko Meyer
14abf6e19e
news: Add entry for removing linux-libre 6.10 ("end of life").
* etc/news.scm: Add entry for linux-libre 6.10 removal.

Change-Id: If1bc44d8d31deddf7b214678e5024f78ac3bd22a
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-11-09 14:18:59 -05:00
Wilko Meyer
cfc85eb0c6
gnu: Remove linux-libre 6.10.
* gnu/packages/linux.scm (linux-libre-6.10-version, linux-libre-6.10-gnu-revision,
deblob-scripts-6.10, linux-libre-6.10-pristine-source, linux-libre-6.10-source,
linux-libre-headers-6.10, linux-libre-6.10): Remove variables.
* gnu/packages/aux-files/linux-libre/6.10-arm.conf,
gnu/packages/aux-files/linux-libre/6.10-arm64.conf,
gnu/packages/aux-files/linux-libre/6.10-riscv.conf
gnu/packages/aux-files/linux-libre/6.10-i686.conf,
gnu/packages/aux-files/linux-libre/6.10-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove aforementioned .conf files.

Change-Id: I7a22ca60378b38d45130d8a7ffee52eed1fba7f3
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-11-09 14:11:43 -05:00
Navid Afkhami
2a6d96425e
gnu: r-demultiplex2: Update to 1.0.2-2.c1ce09e.
* gnu/packages/bioinformatics.scm (r-demultiplex2): Update to 1.0.2-2.c1ce09e.

Change-Id: I42038c8f4a003ae5c274fe635ddb8c2a027ddce4
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-07 11:30:39 +01:00
Herman Rimm
fea8520627
gnu: qutebrowser: Update to 3.3.1.
* gnu/packages/web-browsers.scm (qutebrowser): Update to 3.3.1.

Change-Id: I4d346030ae40ddca7a1c4dc9468cfca13642f2e9
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-07 10:10:12 +01:00
Javier Olaechea
673b924ac1
gnu: Add emacs-cargo-el.
* gnu/packages/emacs-xyz.scm (emacs-cargo-el): New variable.

Modified-by: Hilton Chain <hako@ultrarare.space>
Change-Id: Ibb632da6a38d020c49897febf92c0506f9455d88
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-11-07 09:22:01 +08:00
Nicolas Graves
f0ac12fa1a
gnu: quagga: Fix build and hide CVE.
* gnu/packages/networking.scm (quagga)
[inputs]: Add libxcrypt.
[properties]: Add lint-hidden-cve property.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:09 +01:00
Nicolas Graves
72310bf973
gnu: openvswitch: Update to 3.4.0.
* gnu/packages/networking.scm (openvswitch): Update to 3.4.0.
[properties]: Add lint-hidden-cve property.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:09 +01:00
Nicolas Graves
392933e50c
gnu: sylpheed: Add release-monitoring-url property.
* gnu/packages/mail.scm (sylpheed)[properties]: Add
release-monitoring-url.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:08 +01:00
Nicolas Graves
3553c7f4fe
gnu: upx: Update to 4.2.4.
* gnu/packages/compression.scm (upx): Update to 4.2.4.
[properties]: Add lint-hidden-cve property.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:08 +01:00
Nicolas Graves
87e9647913
gnu: libgda: Rename patch for guix lint.
* gnu/packages/gnome.scm (libgda)[source]<origin>: Rename patch for
CVE to be ignored by guix lint.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:07 +01:00
Nicolas Graves
f2ada4d04e
gnu: gerbv: Add lint-hidden-cve property.
* gnu/packages/engineering.scm (gerbv)[properties]: Add
lint-hidden-cve property.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 22:18:07 +01:00
Suhail Singh
9c848c89ce
gnu: emacs-eldev: Update to 1.10.3.
* gnu/packages/emacs-xyz.scm (emacs-eldev): Update to 1.10.3 and update URLs.

Change-Id: I5bcf362dbe035cacff2b35b29ebb281a2a85318c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 17:56:47 +01:00
Ian Eure
280aa6b57d
gnu: librewolf: Update to 132.0-1 [security fixes].
New upstream version.  The 132.0-2-1 release switches to the firefox-l10n
repository, necessitating rework of locale handling.

131.0.3-1 fixes CVEs:

CVE-2024-9936: Undefined behavior in selection node cache

132.0-1 fixes CVEs:

CVE-2024-10458: Permission leak via embed or object elements
CVE-2024-10459: Use-after-free in layout with accessibility
CVE-2024-10460: Confusing display of origin for external protocol
                handler prompt
CVE-2024-10461: XSS due to Content-Disposition being ignored in
                multipart/x-mixed-replace response
CVE-2024-10462: Origin of permission prompt could be spoofed by long
                URL
CVE-2024-10463: Cross origin video frame leak
CVE-2024-10468: Race conditions in IndexedDB
CVE-2024-10464: History interface could have been used to cause a
                Denial of Service condition in the browser
CVE-2024-10465: Clipboard "paste" button persisted across tabs
CVE-2024-10466: DOM push subscription message could hang Firefox
CVE-2024-10467: Memory safety bugs fixed in Firefox 132, Thunderbird
                132, Firefox ESR 128.4, and Thunderbird 128.4

* gnu/packages/librewolf.scm (librewolf): Update to 132.0-1.

Change-Id: I4afbcb496a8b0a329254762259cd1598d574761e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 17:23:35 +01:00
Ian Eure
0ad0f8a1fa
gnu: nss-rapid: Update to 3.105.
* gnu/packages/nss.scm (nss-rapid): Update to 3.105.

Change-Id: I8b502be10f5d577a258033417cf7faddc41ca214
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-06 17:23:29 +01:00
Ludovic Courtès
544bdcbd4c
gnu: openmpix: Add dependency on zlib.
As noted in run-time warnings, lack of zlib support “may result in
longer-than-normal startup times and larger memory footprints”.

* gnu/packages/parallel.scm (openpmix)[inputs]: Add zlib.

Change-Id: I90fd7cc4c3c84f6447e7116b4c00dcb07b35460b
2024-11-06 16:56:04 +01:00
Zheng Junjie
ba9466481d
gnu: qcoro-qt5: Update to 0.11.0.
* gnu/packages/qt.scm (qcoro-qt5): Update to 0.11.0.

Change-Id: I3109fb71f04963ebd03570f4dbbcaabd663dfad1
2024-11-06 21:20:11 +08:00
Zheng Junjie
7a59abd262
gnu: mu: Update to 1.12.7.
* gnu/packages/mail.scm (mu): Update to 1.12.7.
[source]: Switch to git-fetch.

Change-Id: I377c49e3c1a83ae854f82e565660a1743ab0c2d7
2024-11-06 21:20:11 +08:00
Kai Jellinghaus
29fd0861ed
gnu: Add dpdk.
* gnu/packages/dpdk.scm (dpdk): New Variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Registe file.

Change-Id: Ib1486e7c9af77a88a90631f9dd775d54ba88ce9c
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-11-06 21:20:11 +08:00
Sughosha
9302f02234
gnu: kde-games: Add knights to propagated-inputs.
* gnu/packages/kde-games (kde-games)[propagated-inputs]: Add knights.

Change-Id: I36666852175ba76d69f800e195dc6679ec3d621b
2024-11-06 19:38:25 +08:00
Sughosha
37a5ef4095
gnu: Add knights.
* gnu/packages/kde-games.scm (knights): New variable.

Change-Id: I86346750c28fefd5b2a02cbda8dcc458907766fa
2024-11-06 19:38:25 +08:00
Sughosha via Guix-patches via
57fb43e17d
gnu: Rename knights with knightsgame.
Rename knights with knightsgame to package knights from KDE games module.

* gnu/packages/games.scm (knights): Rename with knightsgame.

Change-Id: I6eec8189fd29fe2ede67d98c26fdd9cafe4c2aef
2024-11-06 19:38:25 +08:00
Efraim Flashner
bd3d7c8587
gnu: xlsx2csv: Honor the #:tests? flag.
* gnu/packages/xml.scm (xlsx2csv)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.

Change-Id: I13809dd414bc0e27b5bf404c35dabf67bbc4c4f4
2024-11-06 12:49:40 +02:00
Efraim Flashner
683e3f4fab
gnu: tinyxml: Fix cross-compiling.
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom
'build-shared-library phase to use the correct compiler for the target.

Change-Id: I7db740fca974aa719e06fab4d67cee1a3e014312
2024-11-06 12:49:40 +02:00
Efraim Flashner
ff799a1a95
gnu: tinyxml: Honor the #:tests? flag.
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.

Change-Id: Id085358cc07572be3bcee887c825c826f1b00f58
2024-11-06 12:49:40 +02:00
Efraim Flashner
e6ec657c49
gnu: u-boot-tools: Honor the #:tests flag.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Adjust the
custom 'check and 'check-x86 phases to honor the #:tests? flag.

Change-Id: I663eba70df61569928e167ffe1af9411e405da80
2024-11-06 12:49:40 +02:00
Efraim Flashner
5a0e4b60d3
gnu: Add shepherd-run.
* gnu/packages/admin.scm (shepherd-run): New variable.

Change-Id: I4b08c84f83bcc588db7a11619321f4c8dee48257
2024-11-06 12:49:40 +02:00
Efraim Flashner
847374eb15
gnu: fuse-2: Don't force running the tests.
* gnu/packages/linux.scm (fuse-2)[arguments]: Remove the #:tests
keyword.

Change-Id: I5139f76471471f25cd2b165c2ebbbebf745eba33
2024-11-06 12:49:40 +02:00
Efraim Flashner
0647563266
gnu: rubber: Don't force running the tests.
* gnu/packages/tex.scm (rubber)[arguments]: Remove the #:tests keyword.

Change-Id: I09aeb82423fe226297cf1073b61266bd9a643b7e
2024-11-06 12:49:40 +02:00
Efraim Flashner
970c68fd58
gnu: libgrapheme: Don't force running the tests.
* gnu/packages/suckless.scm (libgrapheme)[arguments]: Remove the #:tests
keyword.

Change-Id: Idb954594bbaa2947859c667da8731753ca2b3c71
2024-11-06 12:49:40 +02:00