Compare commits

...

316 Commits

Author SHA1 Message Date
Ricardo Wurmus
4f04173708 gnu: r-mscoreutils: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-mscoreutils-0001-fix-non-API-call-to-R-SETLENGTH-by-using-lengthgets.patch: New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-mscoreutils)[source]: Register patch.

Change-Id: If288fed9c85d7a46d1938e7699e2a9bc57447a03
2026-04-27 16:00:44 +02:00
Ricardo Wurmus
9cc3ce1512 gnu: r-flowcore: Patch for compatibility with R 4.6.0.
* gnu/packages/bioconductor.scm (r-flowcore)[arguments]: Add phase
'R-4.6.0-compatibility.

Change-Id: Ic99953b3bf228928ab7ada1d36d2be2c1aae608b
2026-04-27 15:53:51 +02:00
Ricardo Wurmus
6bddc26a64 gnu: r-shortread: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-shortread-0001-ShortRead-1.69.3-Get-rid-of-non-API-calls-to-R.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-shortread)[source]: Register patch.

Change-Id: I9fd85076db6a86b25f4389d3226e0fde8a38a3b5
2026-04-27 15:00:18 +02:00
Ricardo Wurmus
d9e4b8cf08 gnu: r-h5mread: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-h5mread-0001-h5mread-1.3.2-Get-rid-of-non-API-calls-to-R.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-h5mread)[source]: Register patch.

Change-Id: Iecbf0eb41b554169b36c00b74072b1fca7a31943
2026-04-27 14:45:40 +02:00
Ricardo Wurmus
12a4c739cf gnu: r-rsamtools: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-rsamtools-r-4.6.0-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-rsamtools)[source]: Register patch.

Change-Id: I0c1eafe3c440f998d309174e4292061dbaf3eb34
2026-04-27 14:22:12 +02:00
Ricardo Wurmus
3fd3491e33 gnu: r-sparsearray: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-sparsearray-r-4.6.0-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-sparsearray)[source]: Register patch.

Change-Id: I569f7150d91393d8c7c9981ebe3db77c0cfa5356
2026-04-27 12:55:40 +02:00
Ricardo Wurmus
12872f4c6b gnu: r-snpstats: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-snpstats-0001-fixed-non-API-except-for-IS_S4_OBJECT.patch,
gnu/packages/patches/r-snpstats-0002-fixed-IS_S4_OBJECT.patch: New files.
* gnu/local.mk (dist_patch_DATA): Record them.
* gnu/packages/bioconductor.scm (r-snpstats)[source]: Register patches.

Change-Id: I911f5833199448a16a23f9e715903a8427b08233
2026-04-27 11:49:35 +02:00
John Dawson
e376019e6d gnu: r-htmltools: Propagate r-markdown.
The `includeMarkdown` function requires the `markdown` package.
See https://rstudio.github.io/htmltools/reference/include.html#note

* gnu/packages/cran.scm (r-htmltools)[propagated-inputs]: For htmltools::includeMarkdown, add r-markdown.

Change-Id: If0b7b9a19610177fcfc02357cf1462a8704592ab
2026-04-27 09:14:27 +02:00
Ricardo Wurmus
d43bade4d7 gnu: r-biostrings: Patch for compatibility with R 4.6.0.
* gnu/packages/patches/r-biostrings-r4.6.0-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Record it.
* gnu/packages/bioconductor.scm (r-biostrings)[source]: Register patch.

Change-Id: Id0ba9e4340245c456e25e631ca372c1a6edb2bba
2026-04-27 09:09:17 +02:00
Ricardo Wurmus
25331d83a6 gnu: r-s4vectors: Patch for R 4.6.0.
* gnu/packages/bioconductor.scm (r-s4vectors)[arguments]: Add phase
'R-4.6.0-compatibility.

Change-Id: I731250e9dcfc62cfb2cafbf88e2f1e2d6b932828
2026-04-27 09:09:17 +02:00
Ricardo Wurmus
fdee000c7c gnu: r-mlr3misc: Skip one test.
* gnu/packages/cran.scm (r-mlr3misc)[arguments]: Declare one skipped test.

Change-Id: I5d007a6b40dbb9c014a1ff6785815d14fcd37a3c
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
72690e2f36 gnu: r-mlr3mbo: Update to 1.1.1.
* gnu/packages/cran.scm (r-mlr3mbo): Update to 1.1.1.
[native-inputs]: Remove r-redux and r-rush.

Change-Id: Ibdac6ba5a45567f2e73884b092f45869056fea95
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
5e8e31299a gnu: r-harmony: Update to 2.0.2.
* gnu/packages/cran.scm (r-harmony): Update to 2.0.2.
[propagated-inputs]: Add r-cli.

Change-Id: If8e8d1df986836752cf2eca7934f7a3cd62a1c71
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
4820b89533 gnu: r-rush: Update to 1.1.0.
* gnu/packages/cran.scm (r-rush): Update to 1.1.0.

Change-Id: I5b5c462f1e00991004bdbd9f9b2593fa4da3b015
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
86ef62aa0b gnu: r-officer: Update to 0.7.4.
* gnu/packages/cran.scm (r-officer): Update to 0.7.4.

Change-Id: Ice4843e191ff9d1a4e286251c9ad8e071fa942ac
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
8ef8aa93b2 gnu: r-rcpp: Update to 1.1.1-1.1.
* gnu/packages/cran.scm (r-rcpp): Update to 1.1.1-1.1.
[native-inputs]: Add r-tinytest.

Change-Id: I5837d47ea13fdcc0559506fa48adf2fe0e6dbf34
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
263444756f gnu: r-with-tests, r-minimal: Update to 4.6.0.
* gnu/packages/statistics.scm (r-with-tests, r-minimal): Update to 4.6.0.

Change-Id: I790052e77690f3debbf0f8f2845b11754a358581
2026-04-27 09:09:16 +02:00
Ricardo Wurmus
8ba913cf66 gnu: r-mlr3filters: Update to 0.9.1.
* gnu/packages/cran.scm (r-mlr3filters): Update to 0.9.1.

Change-Id: If13b74e209d8af025b41427f52a91e3d8d02ea5a
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
77b77f275b gnu: r-directlabels: Update to 2026.4.23.
* gnu/packages/cran.scm (r-directlabels): Update to 2026.4.23.
[native-inputs]: Add r-ggplot2.

Change-Id: I34f188fc7e777385b60383b46087802e47342d37
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
58f6e33da8 gnu: r-irace: Update to 4.4.3.
* gnu/packages/cran.scm (r-irace): Update to 4.4.3.

Change-Id: I6065972a7ef46994933b70e45c79a9227f140f76
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
42632d83f2 gnu: r-statsexpressions: Update to 2.0.0.
* gnu/packages/cran.scm (r-statsexpressions): Update to 2.0.0.
[propagated-inputs]: Remove r-magrittr and r-zeallot.

Change-Id: Ib31f2c8b6510d1ba0e302d424665fa4db40afde7
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
c17f738efe gnu: r-ggstatsplot: Update to 1.0.0.
* gnu/packages/cran.scm (r-ggstatsplot): Update to 1.0.0.
[propagated-inputs]: Remove r-magrittr; add r-forcats.
[native-inputs]: Add r-lme4 and r-patrick.

Change-Id: I888d0c7a2a5b3da10b0784357841a498e972f66d
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
42aa872fdc gnu: r-tidymodels: Update to 1.5.0.
* gnu/packages/cran.scm (r-tidymodels): Update to 1.5.0.

Change-Id: Iccaeb84fa737ce94fad6544e04660b5998db6693
2026-04-27 09:09:15 +02:00
Ricardo Wurmus
12428187e2 gnu: r-nanotime: Update to 0.3.14.
* gnu/packages/cran.scm (r-nanotime): Update to 0.3.14.

Change-Id: I3e66db61984ddca8795adf8af5a46b0a79d4aa63
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
93e62fd3eb gnu: r-rferns: Update to 6.0.0.
* gnu/packages/cran.scm (r-rferns): Update to 6.0.0.

Change-Id: I47d543dbcd7b37db6bb70b82e8d3096d265fa58a
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
dde5723169 gnu: r-extradistr: Update to 1.10.0.3.
* gnu/packages/cran.scm (r-extradistr): Update to 1.10.0.3.
[native-inputs]: Add r-actuar, r-evd, r-laplacesdemon, r-mcmcpack, and r-vgam.

Change-Id: I93a7554a09633d23e48e1f0f0eff6a83930e6bdd
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
bcbdd6b569 gnu: r-s7: Update to 0.2.2.
* gnu/packages/cran.scm (r-s7): Update to 0.2.2.

Change-Id: I11a4924f63a6e94042dd8ed5445737dfb27c59f8
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
e3515e109c gnu: r-processx: Update to 3.9.0.
* gnu/packages/cran.scm (r-processx): Update to 3.9.0.

Change-Id: I61d8fe12cbd47f979f4983a5b64fce9391934b4e
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
838e8e550c gnu: r-rmpi: Update to 0.7-3.4.
* gnu/packages/cran.scm (r-rmpi): Update to 0.7-3.4.

Change-Id: I560a6a29db7f61c09661978bd6b114de9006ac43
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
3682177321 gnu: r-ggtangle: Update to 0.1.2.
* gnu/packages/cran.scm (r-ggtangle): Update to 0.1.2.

Change-Id: Id42ee31afad6095fc0c288894c0cef1b253f3ae3
2026-04-27 09:09:14 +02:00
Ricardo Wurmus
7cf4712689 gnu: r-fastdummies: Update to 1.7.6.
* gnu/packages/cran.scm (r-fastdummies): Update to 1.7.6.
[native-inputs]: Add r-dplyr.

Change-Id: I5bdb6d7745c7540e6526be2723630e70b5b6f793
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
490d880377 gnu: r-bit64: Update to 4.8.0.
* gnu/packages/cran.scm (r-bit64): Update to 4.8.0.
[arguments]: Disable tests.
[native-inputs]: Add r-withr.

Change-Id: Ide6944f6cf973333bb8aa1fabdb85a988a4d26db
2026-04-27 09:09:13 +02:00
Spencer King
c80b49c1bc gnu: Add r-ddpcr.
* gnu/packages/cran.scm (r-ddpcr): New variable.

Change-Id: Idf3d2d05f8db51ff1cf6866b4241c90eb30587b4
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
c1a1769671 gnu: r-qs2: Update to 0.2.0.
* gnu/packages/cran.scm (r-qs2): Update to 0.2.0.

Change-Id: I6eadd1c2170e7809264542055696b67c63896c2d
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
576924bca7 gnu: r-seurat: Update to 5.5.0.
* gnu/packages/cran.scm (r-seurat): Update to 5.5.0.

Change-Id: I36d53c2d9b2a52e63cc334c7a1d259647e9da52a
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
f4a8f5180f gnu: r-igraph: Update to 2.3.0.
* gnu/packages/cran.scm (r-igraph): Update to 2.3.0.

Change-Id: I9e51ac04d61a98e1206e9b563fda63eff5c6d090
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
9c1af74e08 gnu: r-tweedie: Update to 3.0.19.
* gnu/packages/cran.scm (r-tweedie): Update to 3.0.19.

Change-Id: Ie7e0d663d4ea12d4e30fe7b719e9f8765c001223
2026-04-27 09:09:13 +02:00
Ricardo Wurmus
57f7af07ca gnu: r-pkgload: Update to 1.5.2.
* gnu/packages/cran.scm (r-pkgload): Update to 1.5.2.

Change-Id: Id40f5db0981b34480b9ed74da5b5115155be3911
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
df20acc58b gnu: r-curl: Update to 7.1.0.
* gnu/packages/cran.scm (r-curl): Update to 7.1.0.

Change-Id: If5f59d82aec252a18f475dff7cbe4e28433db492
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
b2275e7428 gnu: r-jose: Update to 2.0.0.
* gnu/packages/cran.scm (r-jose): Update to 2.0.0.

Change-Id: Ife28bbdda55565d92ea7eacaae3841a0787ffa7c
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
d00f468d75 gnu: r-ggplot2: Update to 4.0.3.
* gnu/packages/cran.scm (r-ggplot2): Update to 4.0.3.

Change-Id: If2145292a83a924bfa56477a63ef5d80eb57ca7c
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
95b403e1f7 gnu: r-gviz: Skip one test on 32-bit systems.
* gnu/packages/bioconductor.scm (r-gviz)[arguments]: Conditionally skip a
test.

Change-Id: Ibd9a0e6b7f57474dba9158350f52a94f708cd442
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
f060901cf4 gnu: r-stringfish: Update to 0.19.0.
* gnu/packages/cran.scm (r-stringfish): Update to 0.19.0.
[arguments]: Enable tests; remove phase 'relax-gcc-14-strictness.
[native-inputs]: Remove r-dplyr, r-rlang, and r-stringr.

Change-Id: I61585d3136f6c833cf3e5ca8b07b58746865f95f
2026-04-27 09:09:12 +02:00
Ricardo Wurmus
9eeb0ecf33 gnu: r-htmltable: Update to 2.5.0.
* gnu/packages/cran.scm (r-htmltable): Update to 2.5.0.
[properties]: Record updater-ignored-native-inputs.
[arguments]: Use generated label for jquery origin.
[native-inputs]: Drop labels; add r-chron, r-glue, r-lubridate, r-tibble, and
r-tidyverse.

Change-Id: I0d33bc2f39caca65a42de6569a9927deaf889a76
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
66c2f1a405 gnu: r-rcpparmadillo: Skip one test on 32-bit systems.
One test in this file fails with an inaccurate comparison, but we cannot
disable just that one test, so we skip the whole file.

* gnu/packages/cran.scm (r-rcpparmadillo)[arguments]: Conditionally skip a
test file.

Change-Id: I29d9bd12fd63c87fd6bb232238418679d079138a
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
3153e7ebdc gnu: r-hrbrthemes: Update to 0.9.3.
* gnu/packages/cran.scm (r-hrbrthemes): Update to 0.9.3.
[propagated-inputs]: Remove r-extrafont and r-gdtools.
[native-inputs]: Add r-vdiffr.

Change-Id: I6bd2f6462f672b4e4f762c057dc4d7d39f82c6ab
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
9a5af89240 gnu: r-eulerr: Update to 7.1.0.
* gnu/packages/cran.scm (r-eulerr): Update to 7.1.0.

Change-Id: I0b10fa1a0c9311ea9781d836f5e023f542ced9af
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
806cc1b133 gnu: r-testit: Update to 0.18.
* gnu/packages/cran.scm (r-testit): Update to 0.18.

Change-Id: Ic8279260cfe7a6a7ad158b0c70c0b89bba9c41a9
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
48c0546556 gnu: r-nanoparquet: Update to 0.5.1.
* gnu/packages/cran.scm (r-nanoparquet): Update to 0.5.1.
[native-inputs]: Add r-blob.

Change-Id: I8cfdf27e5a001b45937a25a263f28b33fc8ff352
2026-04-27 09:09:11 +02:00
Ricardo Wurmus
95f08aab48 gnu: r-ps: Update to 1.9.3.
* gnu/packages/cran.scm (r-ps): Update to 1.9.3.

Change-Id: I143a8373efd9e27605a1b1ef36f29c40e6390f9c
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
87060f46fc gnu: r-v8: Update to 8.2.0.
* gnu/packages/cran.scm (r-v8): Update to 8.2.0.

Change-Id: Iefd27adab0e62241c06137355f2bd8d756dd520e
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
85fc653694 gnu: r-rcpparmadillo: Update to 15.2.6-1.
* gnu/packages/cran.scm (r-rcpparmadillo): Update to 15.2.6-1.
[native-inputs]: Add r-rcpp.

Change-Id: Ie65583b32261f6acf6cb93b985f96933f97f0b88
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
21d21cea44 gnu: r-patrick: Enable tests.
* gnu/packages/cran.scm (r-patrick)[arguments]: Enable all tests.

Change-Id: Icaf4bc4a28063e0261691d3010e5a713450ade33
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
50ab429624 gnu: r-gsva: Update to 2.4.9.
* gnu/packages/bioconductor.scm (r-gsva): Update to 2.4.9.

Change-Id: I1cde12b64f22c76813ecf41f7553e132807c5def
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
465a6bdab4 gnu: r-duckdb: Update to 1.5.2.
* gnu/packages/duckdb.scm (r-duckdb): Update to 1.5.2.

Change-Id: Ibfd11f9d37bde94e53c222fa4edb90e714692fcc
2026-04-27 09:09:10 +02:00
Ricardo Wurmus
4a6ff16e69 gnu: r-randomforestsrc: Update to 3.6.2.
* gnu/packages/cran.scm (r-randomforestsrc): Update to 3.6.2.

Change-Id: I7bd3269e88d7e58bf4d5563a085a391c20157f89
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
bae8654055 gnu: r-pdftools: Update to 3.8.0.
* gnu/packages/cran.scm (r-pdftools): Update to 3.8.0.

Change-Id: Ida05e42c4d93be13875f448d29096d37a72d40fd
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
3932a55a43 gnu: r-readods: Update to 2.3.5.
* gnu/packages/cran.scm (r-readods): Update to 2.3.5.
[propagated-inputs]: Add r-withr.
[native-inputs]: Remove r-withr.

Change-Id: Ib6a4facb563639d0f280c870a53c3515801a0f87
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
de3a338426 gnu: r-mlr3measures: Update to 1.3.0.
* gnu/packages/cran.scm (r-mlr3measures): Update to 1.3.0.

Change-Id: Iad5b8b73e6afcbb1143c2df1130e4a4cac5aa48c
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
c06d29dcac gnu: r-seuratobject: Update to 5.4.0.
* gnu/packages/cran.scm (r-seuratobject): Update to 5.4.0.

Change-Id: I801715aed3324218b8ae96f4d70aae1f6d7622d7
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
c1db193865 gnu: r-parsnip: Update to 1.5.0.
* gnu/packages/cran.scm (r-parsnip): Update to 1.5.0.
[propagated-inputs]: Remove r-withr.
[native-inputs]: Add r-withr.

Change-Id: I84d1f39c0505715a57a54cb4a5889c27aa37e0c5
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
a7d1010f65 gnu: r-tune: Update to 2.1.0.
* gnu/packages/cran.scm (r-tune): Update to 2.1.0.
[propagated-inputs]: Remove r-gpfit; add r-gaupro and r-lifecycle.

Change-Id: Ia7490b10f965715e3a387da7b91d40c9fc5b692d
2026-04-27 09:09:09 +02:00
Ricardo Wurmus
bdb672df4f gnu: r-dials: Update to 1.4.3.
* gnu/packages/cran.scm (r-dials): Update to 1.4.3.

Change-Id: Iab09779cf00f1c9d376ad7309271fbd51cfe89f5
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
3938c7003f gnu: r-rsconnect: Update to 1.8.0.
* gnu/packages/cran.scm (r-rsconnect): Update to 1.8.0.
[propagated-inputs]: Add r-httr2.

Change-Id: Ib5287d9ff877e403efe6a2b591817084fea39b17
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
9f2ff15b81 gnu: r-rockchalk: Update to 1.8.164.
* gnu/packages/cran.scm (r-rockchalk): Update to 1.8.164.
[propagated-inputs]: Add r-reformulas.

Change-Id: Ia097b3e5bfaa3b824438546ff456b68f999f6911
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
84fe701364 gnu: r-anytime: Update to 0.3.13.
* gnu/packages/cran.scm (r-anytime): Update to 0.3.13.
[native-inputs]: Add r-rcpp.

Change-Id: Ifae40fa0dadc44b932ec150ee8bdd5f59bb881a3
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
262705dbdc gnu: r-torch: Update to 0.17.0.
* gnu/packages/cran.scm (r-torch): Update to 0.17.0.

Change-Id: I230b20be791c177b70f6fe4ac0fcd0e3da0285a8
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
3183a5c627 gnu: r-leidenalg: Update to 1.1.7.
* gnu/packages/cran.scm (r-leidenalg): Update to 1.1.7.

Change-Id: I48fd2229a7351d98953cb3e76d84100bf1f15aef
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
d0bf05a799 gnu: r-rjava: Update to 1.0-18.
* gnu/packages/cran.scm (r-rjava): Update to 1.0-18.

Change-Id: I65e90d63119dfdf22d173fb1ca045bec00b12691
2026-04-27 09:09:08 +02:00
Ricardo Wurmus
30f3c8fb25 gnu: r-parallelly: Update to 1.47.0.
* gnu/packages/cran.scm (r-parallelly): Update to 1.47.0.

Change-Id: Ic956e194a4ba089b85af81bfd0cb8527a4d1a4cc
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
de9611da28 gnu: r-huge: Update to 1.6.
* gnu/packages/cran.scm (r-huge): Update to 1.6.

Change-Id: I74a0e76797522488974b876df628b1363bf86b03
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
129e3b617f gnu: r-epi: Update to 2.65.
* gnu/packages/cran.scm (r-epi): Update to 2.65.

Change-Id: I96100a94251d1ca49eac246f72e2afd2551cbef7
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
776aaa90bb gnu: r-arm: Update to 1.15-3.
* gnu/packages/cran.scm (r-arm): Update to 1.15-3.

Change-Id: Iafe768876a647e1dfcaa10cdca83bb3bcb7c1a4f
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
9047936b62 gnu: r-fs: Update to 2.1.0.
* gnu/packages/cran.scm (r-fs): Update to 2.1.0.

Change-Id: I2eff7e9b47e7461f2b3fe489cfec48885092f5b7
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
b1a9309a08 gnu: r-emmeans: Update to 2.0.3.
* gnu/packages/cran.scm (r-emmeans): Update to 2.0.3.

Change-Id: Ieeee9c867c656651d2402cebdd43c0ad23f33aff
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
027b9d3484 gnu: r-quickjsr: Update to 1.9.2.
* gnu/packages/cran.scm (r-quickjsr): Update to 1.9.2.

Change-Id: I7fa7ad3ba70f0f567e0f0ccc4ffe21f2595fc2e1
2026-04-27 09:09:07 +02:00
Ricardo Wurmus
a4e066d0e9 gnu: r-nleqslv: Update to 3.3.7.
* gnu/packages/cran.scm (r-nleqslv): Update to 3.3.7.
[native-inputs]: Add r-testthat.

Change-Id: Iebadee3e6e16a05da15f63389a270c8328a4a52e
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
b4dd27253e gnu: r-netrep: Update to 1.2.10.
* gnu/packages/cran.scm (r-netrep): Update to 1.2.10.

Change-Id: I5af1193d98c186ecc46a3f1cf14fa90a66c58a0d
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
fb09b10f3f gnu: r-insight: Update to 1.5.0.
* gnu/packages/cran.scm (r-insight): Update to 1.5.0.

Change-Id: I080bbdb1e66daa180d9c0897d735255cb5ea8090
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
bd2fc8a5d3 gnu: r-factominer: Update to 2.14.
* gnu/packages/cran.scm (r-factominer): Update to 2.14.

Change-Id: I7ba1aa2c042563479450cb86f9a935aeef295308
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
eae9492c5c gnu: r-ggsci: Update to 5.0.0.
* gnu/packages/cran.scm (r-ggsci): Update to 5.0.0.

Change-Id: I1b3fbb96f16e719718c9438481b2cb739b79a3a6
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
ce06a73141 gnu: r-reticulate: Update to 1.46.0.
* gnu/packages/cran.scm (r-reticulate): Update to 1.46.0.

Change-Id: I19baa0d170e7ac957d6215a727249f61fe85f2b2
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
4be0a82048 gnu: r-renv: Update to 1.2.2.
* gnu/packages/cran.scm (r-renv): Update to 1.2.2.

Change-Id: I2034a63a5e656f875cddd43e97ccbac6c447e0c9
2026-04-27 09:09:06 +02:00
Ricardo Wurmus
1685d421b7 gnu: r-adbcdrivermanager: Update to 0.23.0-1.
* gnu/packages/cran.scm (r-adbcdrivermanager): Update to 0.23.0-1.

Change-Id: If0c4562f7eaa8ec2f58e2d93a74017846da4efbc
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
022bb77ca2 gnu: r-nestedcv: Update to 0.8.2.
* gnu/packages/cran.scm (r-nestedcv): Update to 0.8.2.

Change-Id: I40da037fab723d8d9778e0bf03467ea39ba1abf2
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
8311d02f00 gnu: r-nanoparquet: Update to 0.5.0.
* gnu/packages/cran.scm (r-nanoparquet): Update to 0.5.0.

Change-Id: I1908304c8b3a77d322239abece7497378a5ca1a4
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
6e712bd7aa gnu: r-vctrs: Update to 0.7.3.
* gnu/packages/cran.scm (r-vctrs): Update to 0.7.3.

Change-Id: Ica88c39ef10d6a6ac2fc9ca17bf41846a1b2670c
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
0473e8977b gnu: r-cli: Update to 3.6.6.
* gnu/packages/cran.scm (r-cli): Update to 3.6.6.

Change-Id: I7cf3345a2fc807cdd589b79bb8b8393e79d75bf0
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
17b83a6caf gnu: r-dtw: Update to 1.23-2.
* gnu/packages/cran.scm (r-dtw): Update to 1.23-2.

Change-Id: I7a719f3a4e5955a19d0918d8b846ae615fa933d4
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
f34682d9dc gnu: r-performanceanalytics: Update to 2.1.0.
* gnu/packages/cran.scm (r-performanceanalytics): Update to 2.1.0.
[native-inputs]: Remove r-tinytest; add r-e1071, r-testthat, and r-vdiffr.

Change-Id: I23ab8c04708636a83b3f05f3abcab8bc0d7ab6bd
2026-04-27 09:09:05 +02:00
Ricardo Wurmus
b6a82b1882 gnu: r-rmysql: Update to 0.11.3.
* gnu/packages/cran.scm (r-rmysql): Update to 0.11.3.

Change-Id: I9d70f5168182e78843e1efd6183e350789e4becb
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
a34884d6a8 gnu: r-littler: Update to 0.3.23.
* gnu/packages/cran.scm (r-littler): Update to 0.3.23.

Change-Id: Ia74aafe3a91c74f19676f82c9ccdabf9081d957e
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
848bd20f1f gnu: r-getoptlong: Update to 1.1.1.
* gnu/packages/cran.scm (r-getoptlong): Update to 1.1.1.

Change-Id: Ibe629b9579fc03a22d2ceaca40db4b41104ed31c
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
e1a4daa759 gnu: r-globaloptions: Update to 0.1.4.
* gnu/packages/cran.scm (r-globaloptions): Update to 0.1.4.

Change-Id: Ieac2a7f703dffb6074c812020bcc96530d50f013
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
e03f756a7a gnu: r-glue: Update to 1.8.1.
* gnu/packages/cran.scm (r-glue): Update to 1.8.1.

Change-Id: Id9cabfd419f8f802ae36119ff84d9c2dfba4a261
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
6c48b7218e gnu: r-webfakes: Update to 1.4.1.
* gnu/packages/cran.scm (r-webfakes): Update to 1.4.1.

Change-Id: I60ce6d5564417a3fc1cf1d78f3632c5a15e11fe6
2026-04-27 09:09:04 +02:00
Ricardo Wurmus
b89727fb83 gnu: r-mvtnorm: Update to 1.3-7.
* gnu/packages/cran.scm (r-mvtnorm): Update to 1.3-7.

Change-Id: I2ee129f866fa020bcbbbd6a1ca1b5e4167688f53
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
cccbbfc1a4 gnu: r-sendmailr: Update to 1.4-1.
* gnu/packages/cran.scm (r-sendmailr): Update to 1.4-1.

Change-Id: I4be9813e4497939a102937987e5138fdede3eb85
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
877bcf67ee gnu: r-openssl: Update to 2.4.0.
* gnu/packages/cran.scm (r-openssl): Update to 2.4.0.

Change-Id: If0c740954f0b5629d479b1b8b66e4f5acdff2775
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
912cbdf059 gnu: r-zcompositions: Update to 1.6.1.
* gnu/packages/cran.scm (r-zcompositions): Update to 1.6.1.

Change-Id: I3aece7d38644752b7b33fa72350b90ac461c12ee
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
672aae121b gnu: r-v8: Update to 8.1.0.
* gnu/packages/cran.scm (r-v8): Update to 8.1.0.

Change-Id: I004126d4068de7785493b931c26cc69f529a9e21
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
e5c80457a4 gnu: r-purrr: Update to 1.2.2.
* gnu/packages/cran.scm (r-purrr): Update to 1.2.2.

Change-Id: I6dc49aa59af99ef3214cc107dc47a3f2ef29f84f
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
82fa519f5c gnu: r-pak: Update to 0.9.4.
* gnu/packages/cran.scm (r-pak): Update to 0.9.4.

Change-Id: I17bd495432b955538b1f4d66c2801fd82714044c
2026-04-27 09:09:03 +02:00
Ricardo Wurmus
09e0546ed0 gnu: r-epir: Update to 2.0.92.
* gnu/packages/cran.scm (r-epir): Update to 2.0.92.

Change-Id: I96aedd8013561241c6b6a2338d287a6a7c08a61c
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
809cfe568c gnu: r-devtools: Update to 2.5.1.
* gnu/packages/cran.scm (r-devtools): Update to 2.5.1.

Change-Id: Ie3aa9bccab125526599442686b2e8fc9f8ccd7df
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
de752a17f8 gnu: r-countrycode: Update to 1.8.0.
* gnu/packages/cran.scm (r-countrycode): Update to 1.8.0.

Change-Id: Ieffa36027985e51f0199a65e31bc0a9a0ea5299d
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
700229a32b gnu: r-colorramp2: Update to 0.1.1.
* gnu/packages/cran.scm (r-colorramp2): Update to 0.1.1.

Change-Id: I3a0c42c07c51204354ea9ec4e4c5b50069408381
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
fe83c90ccd gnu: r-box: Update to 1.2.2.
* gnu/packages/cran.scm (r-box): Update to 1.2.2.

Change-Id: I6788163ed22a02c24921eedaf510cd1abed028fb
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
b5e24eec9f gnu: r-ggpicrust2: Update to 2.5.12.
* gnu/packages/bioconductor.scm (r-ggpicrust2): Update to 2.5.12.

Change-Id: Ie625e6082c6e6ff615e5655ef4e99f92d968f574
2026-04-27 09:09:02 +02:00
Ricardo Wurmus
1b8c17de8d gnu: r-samr: Update to 3.0.1.
* gnu/packages/bioconductor.scm (r-samr): Update to 3.0.1.

Change-Id: Ia662ec72bbd8c9c28c954e5a57137b14d9627def
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
539fc61b30 gnu: Add r-gaupro.
* gnu/packages/cran.scm (r-gaupro): New variable.

Change-Id: I65995b68c25c12b58bc718d74d2d40f7fc7327f9
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
59e983e81c gnu: Add r-mixopt.
* gnu/packages/cran.scm (r-mixopt): New variable.

Change-Id: Ie9e8be903bfac9a1f8b0547b98a26d5e98445ed4
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
9044c48494 gnu: Add r-contourfunctions.
* gnu/packages/cran.scm (r-contourfunctions): New variable.

Change-Id: Ib05b992fcff568c1c9f16191784d8c76bea80502
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
2bced82fa9 gnu: Add r-xmlrpc2.
* gnu/packages/cran.scm (r-xmlrpc2): New variable.

Change-Id: Ifab09184f73ff1bb7dbfac11426a2b0126c095d7
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
deb51acc48 gnu: r-optparse: Update to 1.8.2.
* gnu/packages/cran.scm (r-optparse): Update to 1.8.2.
[properties]: Remove updater-extra-native-inputs.
[propagated-inputs]: Remove r-getopt.
[native-inputs]: Add r-rmarkdown.

Change-Id: I6da35779b7fcf10e25db70de0e422ced2dcb8b4f
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
ce5b1699af gnu: Add r-splitfngr.
* gnu/packages/cran.scm (r-splitfngr): New variable.

Change-Id: Ica529377b0db12028df20109c0832da878147865
2026-04-27 09:09:01 +02:00
Ricardo Wurmus
a459c1acbe gnu: Add r-lbfgs.
* gnu/packages/cran.scm (r-lbfgs): New variable.

Change-Id: Ibcb6730d72419673214c35c3d025b7934653f5b4
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
6a920ab00a gnu: Add r-testthatmulti.
* gnu/packages/cran.scm (r-testthatmulti): New variable.

Change-Id: Ie52b482dee3645f2c899968b022a8b4af5b5c7fe
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
878cf0e175 gnu: r-detectseparation: Update to 0.4.0.
* gnu/packages/cran.scm (r-detectseparation): Update to 0.4.0.
[propagated-inputs]: Add r-roi-plugin-alabama, r-roi-plugin-ecos,
r-roi-plugin-glpk, and r-roi-plugin-neos.
[native-inputs]: Add r-tinytest.

Change-Id: I163baa560b16103e5c7393e36e9d914e238a336f
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
566adfd7f5 gnu: Add r-roi-plugin-neos.
* gnu/packages/cran.scm (r-roi-plugin-neos): New variable.

Change-Id: Ic9dff65cf7a6fb0b8decc8f298cba03de5ed2a3f
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
17348b10bd gnu: Add r-roi-plugin-glpk.
* gnu/packages/cran.scm (r-roi-plugin-glpk): New variable.

Change-Id: I7494d76df73a9c367e8897362acea174bb1629b4
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
ba74459d0f gnu: Add r-roi-plugin-ecos.
* gnu/packages/cran.scm (r-roi-plugin-ecos): New variable.

Change-Id: Ie7830147d142873a526b495cc6b1d6b4362816e8
2026-04-27 09:09:00 +02:00
Ricardo Wurmus
3bb3f46cdc gnu: Add r-roi-plugin-alabama.
* gnu/packages/cran.scm (r-roi-plugin-alabama): New variable.

Change-Id: If92353f459bf8ec46a8c46895f8a15683cca6c41
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
1263379e42 gnu: openjdk25: Enable build of i686 variant.
* gnu/packages/java.scm (openjdk25)[arguments]: Conditionally add configure
flags to enable i686 port; conditionally replace 'install and 'install-libjvm
phases.

Change-Id: Ie436812341a4b02f61034c5142f396d16f3da17f
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
0816bc6f7a gnu: openjdk24: Enable build of i686 variant.
* gnu/packages/java.scm (openjdk24)[arguments]: Conditionally add configure
flag to enable i686 port.

Change-Id: Ib24d64d0dfb0e75ad6e1311a00cb8532d367b132
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
e1bae6343a gnu: openjdk10: Conditionally disable C2 compiler when importing certificates.
* gnu/packages/java.scm (openjdk10)[arguments]: Conditionally add phase
'disable-C2-compiler on 32-bit x86.

Change-Id: Id8a90deb686cb1354c53faac11b91af098e83f6e
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
4092b2cc21 gnu: ant-bootstrap: Add hack to build on i686.
* gnu/packages/java-bootstrap.scm (ant-bootstrap)[arguments]: Conditionally
patch isFile checks.

Change-Id: If09594e301dc4691f564e197499acc7d7af71706
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
be07998182 gnu: r-seurat: Conditionally skip a test on 32-bit platforms.
* gnu/packages/cran.scm (r-seurat)[arguments]: On 32-bit platforms skip a
test.

Change-Id: I9c5eb3faed4bd3695fe81200447f201aa8081228
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
402ddf8246 gnu: r-bpcells: Build with SSE2 for on x86 32-bit platforms.
* gnu/packages/bioinformatics.scm (r-bpcells)[arguments]: Conditionally add
phase 'require-sse2.

Change-Id: I4927d9701e47dc34cc435d24c64a3043ad984f0d
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
dfcd5d106d gnu: r-bpcells: Update to 0.3.1.
* gnu/packages/bioinformatics.scm (r-bpcells): Update to 0.3.1.
[arguments]: Do not patch r/configure.

Change-Id: Ia16297dc02bfecaf353de04452026df98ea5c826
2026-04-27 09:08:59 +02:00
Ricardo Wurmus
2c5b0918d3 gnu: r-actuar: Conditionally skip some tests on 32-bit platforms.
* gnu/packages/cran.scm (r-actuar)[arguments]: On 32-bit platforms skip some
tests.

Change-Id: Iad305e0819f919ace9ab9fe7d20357981e2a226a
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
0c3391b4ea gnu: r-expint: Conditionally skip test on 32-bit platforms.
* gnu/packages/cran.scm (r-expint)[arguments]: On 32-bit platforms skip one
test.

Change-Id: Ifa97d90cfcf65fbdb9c920515f32c383c61d1ae6
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
280796188d gnu: r-lme4: Conditionally skip test on 32-bit platforms.
This is really questionable.  The test suite freezes in several places on
i686-linux, and it's not clear why.  It would be preferable to identify the
cause and fix that for good, but perhaps we can revisit this once the state of
R on i686-linux has improved.

* gnu/packages/cran.scm (r-lme4)[arguments]: On 32-bit platforms skip several
tests.

Change-Id: I67e963ec29cb00f66c122817898f0c6db330307f
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
cd99044263 gnu: r-universalmotif: Conditionally skip test on 32-bit platforms.
* gnu/packages/bioconductor.scm (r-universalmotif)
[arguments]: On 32-bit platforms skip one test.

Change-Id: I66c046c20b0eefbaeb90c5fbf86233c175c096b4
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
24997b631f gnu: r-ballgown: Adjust for testthat compatibility.
* gnu/packages/bioconductor.scm (r-ballgown)[arguments]: Add phase
'testthat-compatibility.

Change-Id: Id8d931ee79b55b82e977eb3822537f80b55108bf
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
3e3840ed3b gnu: r-s2: Conditionally skip tests on 32-bit platforms.
* gnu/packages/cran.scm (r-s2)[arguments]: On 32-bit platforms skip some
tests.

Change-Id: Ie1ce57ad4def078c58f33ceec21338b3fb1176f7
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
7a90801fa7 gnu: r-collapse: Conditionally skip tests on 32-bit platforms.
* gnu/packages/cran.scm (r-collapse)[arguments]: On 32-bit platforms skip some
tests.

Change-Id: Idd64fe930fba5b4599324ac0757bad7b0cba695f
2026-04-27 09:08:58 +02:00
Ricardo Wurmus
4a97df1fc9 gnu: r-cards: Conditionally skip one test.
* gnu/packages/cran.scm (r-cards)[arguments]: On 32-bit platforms skip one
test.

Change-Id: I7f0ade42f51290a862412dd3e280b6c42a81f654
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
4cddf7f514 gnu: r-ggplot2: Conditionally skip one test.
* gnu/packages/cran.scm (r-ggplot2)[arguments]: On 32-bit platforms skip one
test.

Change-Id: Icc6d0d6046a18ed24e91e15294c49fb28b4cc12e
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
14049807cc gnu: r-biocstyle: Do not build self-contained reports on 32-bit platforms.
* gnu/packages/bioconductor.scm (r-biocstyle)[arguments]: Conditionally add
phase 'prevent-pandoc-segfault.

Change-Id: I84ea57c44ceedb21e03050b4c48c9c05beedc7d7
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
345419f585 gnu: proj-9.3: Fix build on 32-bit platforms.
* gnu/packages/geo.scm (proj-9.3)[arguments]: Conditionally add phase
'patch-tests to skip broken tests on 32-bit platforms.

Change-Id: I953489a7ac6a6c577d898e677df77d4acf4499c8
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
1ed9219a5f gnu: proj: Fix build on 32-bit platforms.
* gnu/packages/geo.scm (proj)[arguments]: Conditionally add phase
'patch-tests to skip broken tests on 32-bit platforms.

Change-Id: Idf6339181f9bad128b060c2178a07735abba1e0b
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
4a10d68e3c gnu: netcdf: Fix build on 32-bit platforms.
* gnu/packages/maths.scm (netcdf)[arguments]: Conditionally pass CFLAGS to
ignore incompatible pointer types; conditionally update 'fix-tests phase to
skip two broken tests on 32-bit platforms.

Change-Id: Id5d149038275c152bbb30f0b155a2c2f7e05a76e
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
91965e3372 gnu: geos: Conditionally skip tests.
* gnu/packages/geo.scm (geos)[arguments]: Conditionally add phase
'disable-broken-tests on 32-bit platforms.

Change-Id: I9367519716ef309cb6f33e7455d4472ff5293478
2026-04-27 09:08:57 +02:00
Ricardo Wurmus
6e8d89440f gnu: r-coro: Conditionally skip one test.
* gnu/packages/cran.scm (r-coro)[arguments]: On 32-bit platforms skip one
test.

Change-Id: I828ec4eae53df79ed476bd761905b78ae12e45ee
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
c84434a0d2 gnu: r-timechange: Conditionally skip one test.
* gnu/packages/cran.scm (r-timechange)[arguments]: On 32-bit platforms skip one
test.

Change-Id: Idb8298941382bc2447f780e17a125ed39fe889f5
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
6b1b5331a9 gnu: r-bit64: Conditionally skip two tests.
* gnu/packages/cran.scm (r-bit64)[arguments]: On 32-bit platforms skip two
tests.

Change-Id: Iac69d9b9ab479e3756977b6669e4a9f2802233a0
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
dd2351bc5a gnu: r-data-table: Fix a test on 32 bit machines.
* gnu/packages/cran.scm (r-data-table)[arguments]: Conditionally add phase
'fix-bad-test.

Change-Id: Iad9887debcb8a3e65e8495faae778266e42f1ead
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
3c7c41c70c gnu: r-bit64: Update home-page field.
The home page here was for the ff package, not bit64.

* gnu/packages/cran.scm (r-bit64)[home-page]: Update to CRAN project page.

Change-Id: Idcc1972bfe594185cdee29d8b4e4e0259941e784
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
f880a69781 gnu: r-accept: Update to 1.0.2.
* gnu/packages/cran.scm (r-accept): Update to 1.0.2.
[propagated-inputs]: Add r-hardhat, r-tibble, r-tidyselect, r-vctrs, and r-vetiver.
[native-inputs]: Add r-spelling and r-testthat.

Change-Id: I6b4782f8beb8e23f5e8987e1f00f34edec59c4b5
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
6c8c0cf678 gnu: Add r-vetiver.
* gnu/packages/cran.scm (r-vetiver): New variable.

Change-Id: Ia60cb1ca09daf342a2b8df826ed5306ea51a284f
2026-04-27 09:08:56 +02:00
Ricardo Wurmus
53eeb3ad31 gnu: Add r-rapidoc.
* gnu/packages/cran.scm (r-rapidoc): New variable.

Change-Id: Ia43f969774fbaf1bdff69767d872ab113583c5db
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
fc9522586c gnu: Add r-pins.
* gnu/packages/cran.scm (r-pins): New variable.

Change-Id: Ie69fde0b4252d7086a6dadab4645b7885b11f18f
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
4c5f6f06bd gnu: Add r-bundle.
* gnu/packages/cran.scm (r-bundle): New variable.

Change-Id: I7694f43e4aa4ebc421a0e946d5d3ddafd30aa3ef
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
677b924857 gnu: r-bbotk: Update to 1.10.0.
* gnu/packages/cran.scm (r-bbotk): Update to 1.10.0.
[native-inputs]: Remove r-processx, r-redux, and r-rush.

Change-Id: I3add7f5c00d752277dfae3199a9b37509869485c
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
3de959237a gnu: Add r-embed.
* gnu/packages/cran.scm (r-embed): New variable.

Change-Id: I33d35f8c58545f53c346cd656782c4ed526d17b4
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
f2318e31cc gnu: r-yardstick: Update to 1.4.0.
* gnu/packages/cran.scm (r-yardstick): Update to 1.4.0.
[properties]: Record updater-ignored-native-inputs.
[native-inputs]: Add r-epir, r-handtill2001, and r-orf.

Change-Id: I27ce3c780b776ff985df7eb72473011cbd5e93d3
2026-04-27 09:08:55 +02:00
Ricardo Wurmus
bda2ae796d gnu: Add r-orf.
* gnu/packages/cran.scm (r-orf): New variable.

Change-Id: I422f1fa4341b6835d2fd57057c1e1df49a0ec335
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
43b0843a21 gnu: Add r-epir.
* gnu/packages/cran.scm (r-epir): New variable.

Change-Id: Ic2eba444f2f3cdac8420bfa6b391e763f62c7b4d
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
0eba86a9ec gnu: Add r-handtill2001.
* gnu/packages/cran.scm (r-handtill2001): New variable.

Change-Id: I09e71b5286356b8c6d0cda0b6914e6af07074145
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
b0b7e4c3c1 gnu: Add r-cereal.
* gnu/packages/cran.scm (r-cereal): New variable.

Change-Id: I3b5c8854f49c732cc003529e8a82f4a37bd6c5bf
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
01b43ca524 gnu: r-s4vectors: Update to 0.48.1.
* gnu/packages/bioconductor.scm (r-s4vectors): Update to 0.48.1.

Change-Id: I8b856c0e0679262ec5be2a1ae655fd2aa9f6d263
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
876b4d6b8c gnu: r-biocviews: Update to 1.78.2.
* gnu/packages/bioconductor.scm (r-biocviews): Update to 1.78.2.

Change-Id: I3aa91454ea13045bb4f4ebe36700c5c36ee28816
2026-04-27 09:08:54 +02:00
Ricardo Wurmus
626cfbb718 gnu: r-wiggleplotr: Update to 1.34.1.
* gnu/packages/bioconductor.scm (r-wiggleplotr): Update to 1.34.1.

Change-Id: I3e9df308ff374a62d2ae41eed6df7297411ee665
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
1cf7f60434 gnu: r-enmix: Update to 1.46.2.
* gnu/packages/bioconductor.scm (r-enmix): Update to 1.46.2.

Change-Id: I04675d3351d71cf7132918f3840a236ba64ad2c0
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
999e5580ed gnu: r-delayedarray: Update to 0.36.1.
* gnu/packages/bioconductor.scm (r-delayedarray): Update to 0.36.1.

Change-Id: I36e6c48575213cbdac4c7351bfd5fc49d2ca1faf
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
c0f6315485 gnu: r-stars: Update to 0.7-2.
* gnu/packages/cran.scm (r-stars): Update to 0.7-2.

Change-Id: If5583378486a10f644dd7b9098c332f290d4a765
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
9f8fc773ea gnu: r-pbdmpi: Update to 0.5-5.
* gnu/packages/cran.scm (r-pbdmpi): Update to 0.5-5.

Change-Id: I34ade16a4af9530a59aaf0698c1baf82262a1a9f
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
97e3481dec gnu: r-mlr3: Update to 1.6.0.
* gnu/packages/cran.scm (r-mlr3): Update to 1.6.0.

Change-Id: I553b49832b9c56d43501edce7858abbd5c1062e7
2026-04-27 09:08:53 +02:00
Ricardo Wurmus
4fd6653a99 gnu: r-lobstr: Update to 1.2.1.
* gnu/packages/cran.scm (r-lobstr): Update to 1.2.1.

Change-Id: If088ac344520b04407c7b6f0e32fa4fb02a4cda8
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
5633d8e1c7 gnu: r-igraph: Update to 2.2.3.
* gnu/packages/cran.scm (r-igraph): Update to 2.2.3.

Change-Id: I23dfd5b2a7685014b7aa86cf46b0a999081cce3e
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
d2e466f447 gnu: r-cpp11: Update to 0.5.4.
* gnu/packages/cran.scm (r-cpp11): Update to 0.5.4.

Change-Id: Ib0f6d7898c26fa5b5a38a2da27161cd6e954f7cd
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
c17e227f9d gnu: r-spatstat: Update to 3.6-0.
* gnu/packages/cran.scm (r-spatstat): Update to 3.6-0.

Change-Id: I05e18e899f11b9ed3227fd0234d97274dfa8b291
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
b2390c3042 gnu: r-hardhat: Update to 1.4.3.
* gnu/packages/cran.scm (r-hardhat): Update to 1.4.3.

Change-Id: I92526d995ef4913a20ff879e99b079e27c7d0ef4
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
6085cd2a1e gnu: r-quanteda: Update to 4.4.
* gnu/packages/cran.scm (r-quanteda): Update to 4.4.

Change-Id: I72e65e0d8a40b9a46a3353a87663c85b2dc7e4fb
2026-04-27 09:08:52 +02:00
Ricardo Wurmus
1fe2e00a2e gnu: r-sccore: Update to 1.0.7.
* gnu/packages/cran.scm (r-sccore): Update to 1.0.7.
[propagated-inputs]: Remove r-seurat.

Change-Id: Ib8b66b4c26c2f06965d64f14ac561b319a422b2f
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
abd54577c6 gnu: r-spamm: Update to 4.6.65.
* gnu/packages/cran.scm (r-spamm): Update to 4.6.65.

Change-Id: Id033c8d33ca69a7f44a7b6dd9806e534778b4cd0
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
7d09095d9c gnu: r-rio: Update to 1.3.0.
* gnu/packages/cran.scm (r-rio): Update to 1.3.0.
[native-inputs]: Remove r-jpeg.

Change-Id: Ie60d8e73148286b9cb0f1f5f2405f76aa3d8d22b
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
105a252aa1 gnu: r-nanonext: Update to 1.8.2.
* gnu/packages/cran.scm (r-nanonext): Update to 1.8.2.

Change-Id: I2587c0be9c892de4379e9f8b50eb9ec33df97f2f
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
4190c0b485 gnu: r-ucminf: Update to 1.2.3.
* gnu/packages/cran.scm (r-ucminf): Update to 1.2.3.

Change-Id: I486976827be08ec03c45fef94b745befde3f6907
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
7af7bd4f53 gnu: r-statsexpressions: Update to 1.7.4.
* gnu/packages/cran.scm (r-statsexpressions): Update to 1.7.4.

Change-Id: I0b79a241393d26a8c026088b0e424b38e4472c9e
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
6f8ddeab57 gnu: r-recipes: Update to 1.3.2.
* gnu/packages/cran.scm (r-recipes): Update to 1.3.2.

Change-Id: Id2e16bce4db896983b3185c1c5b2e23196a793b5
2026-04-27 09:08:51 +02:00
Ricardo Wurmus
479eb5f782 gnu: r-cvxr: Update to 1.8.2.
* gnu/packages/cran.scm (r-cvxr): Update to 1.8.2.

Change-Id: I2e8bda89edb439a667eb199abf7ae15b593b3071
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
2ed6487259 gnu: r-circlize: Update to 0.4.18.
* gnu/packages/cran.scm (r-circlize): Update to 0.4.18.

Change-Id: I161c5eef8f7db52620ff87fc298ed5771cc914f8
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
8249bba4c0 gnu: r-geosphere: Update to 1.6-8.
* gnu/packages/cran.scm (r-geosphere): Update to 1.6-8.
[propagated-inputs]: Remove r-sp.

Change-Id: Ibb73b0b53cd78de120c604d75a0549820eb3200e
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
77fc1b7ad0 gnu: r-magrittr: Update to 2.0.5.
* gnu/packages/cran.scm (r-magrittr): Update to 2.0.5.
[native-inputs]: Add r-rlang.

Change-Id: Icd245b27401f4f0ba1c591ae1dd7a8e651201405
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
67eca71ea8 gnu: r-ellipsis: Update to 0.3.3.
* gnu/packages/cran.scm (r-ellipsis): Update to 0.3.3.

Change-Id: I098570b2c7e05c2a67c3a91e4be4e222cb7deb15
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
3683813e41 gnu: r-lazyeval: Update to 0.2.3.
* gnu/packages/cran.scm (r-lazyeval): Update to 0.2.3.
[propagated-inputs]: Add r-rlang.

Change-Id: I29e122307aa6b2e67258af2ca96cfc873fca973d
2026-04-27 09:08:50 +02:00
Ricardo Wurmus
1b191e1ce7 gnu: r-fpeek: Update to 0.2.1.
* gnu/packages/cran.scm (r-fpeek): Update to 0.2.1.

Change-Id: I65cec23ef7def6a4dd07b10345a33ed87465be90
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
9c143cd805 gnu: r-fingerprint: Update to 3.5.10.
* gnu/packages/cran.scm (r-fingerprint): Update to 3.5.10.

Change-Id: Id7412db399a6bf6254f2ee154e3150c78486acab
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
be4d624675 gnu: r-rush: Update to 1.0.1.
* gnu/packages/cran.scm (r-rush): Update to 1.0.1.

Change-Id: I8862fb80bbace1718d50a326220665519449d556
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
a67c1136d8 gnu: r-rlang: Update to 1.2.0.
* gnu/packages/cran.scm (r-rlang): Update to 1.2.0.

Change-Id: Ibc781c6de7a2e3c0bb0ca4e0b1242f6dd68ac590
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
188e088790 gnu: r-ggstatsplot: Update to 0.13.6.
* gnu/packages/cran.scm (r-ggstatsplot): Update to 0.13.6.

Change-Id: If4bf6c55a2bde9d629f7a9fc33456f256da8302d
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
05356ebdb6 gnu: r-dplyr: Update to 1.2.1.
* gnu/packages/cran.scm (r-dplyr): Update to 1.2.1.

Change-Id: I3821473e4964b0d367915ad85c5b47927e35ee48
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
96175dc3e9 gnu: r-cftime: Update to 1.7.3.
* gnu/packages/cran.scm (r-cftime): Update to 1.7.3.

Change-Id: I621d2a7cc6646369e963db137f089a0236b16199
2026-04-27 09:08:49 +02:00
Ricardo Wurmus
7f544e1a4c gnu: r-backports: Update to 1.5.1.
* gnu/packages/cran.scm (r-backports): Update to 1.5.1.

Change-Id: Ia363be468b5888a4d1b5d390a8a7c7eb07ea9cc1
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
82a35f1e84 gnu: r-ggplot2: Disable one failing test.
* gnu/packages/cran.scm (r-ggplot2)[arguments]: Disable a failing test.

Change-Id: I41c5ec8790148f7ffe1397d3b9694f1cd8e0c739
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
1f30133ad1 gnu: Add r-timereg.
* gnu/packages/cran.scm (r-timereg): New variable.

Change-Id: Ifb43c8f624ac79bb16361912ccf9cbdb623356ab
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
5d5a6831fb gnu: r-lava: Update to 1.9.0.
* gnu/packages/cran.scm (r-lava): Update to 1.9.0.
[native-inputs]: Add r-vdiffr.
[arguments]: Disable some failing tests.

Change-Id: I6025e511e46f8d7aa6b3864b411e5aacd86a06d0
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
14886a9f97 gnu: r-flames: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-flames)[arguments]: Remove
phase 'disable-some-tests; specify #:skipped-tests instead.

Change-Id: I75024c6b9c5316e1b4bef80c5e60d77699b71e9b
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
cc3eaf49a6 gnu: r-ncdfflow: Enable all tests.
* gnu/packages/bioconductor.scm (r-ncdfflow)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I5c4c64f992b33af1ecaa42b833a8f2cb3f2b47d6
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
b5cdb8c76f gnu: r-flowclust: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-flowclust)[arguments]: Remove
phase 'delete-bad-tests; specify #:skipped-tests instead; disable one more
test.

Change-Id: I18369d410ad9cff4db7afcb15fd5292b3c6c0177
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
b9909c80aa gnu: r-variantfiltering: Enable all tests.
* gnu/packages/bioconductor.scm (r-variantfiltering)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I76ef169743ecbd5c75fb115ab5adf8c46128d068
2026-04-27 09:08:48 +02:00
Ricardo Wurmus
a958093f4b gnu: r-beachmat: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-beachmat)[arguments]: Remove
phase 'delete-bad-tests; specify #:skipped-tests
instead.

Change-Id: I17f4999f3747f4e72015ae64872e2c877a157267
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
8b971bb8b2 gnu: r-rhdf5lib: Use G-expressions and fix test instead of disabling it.
* gnu/packages/bioconductor.scm (r-rhdf5lib)[arguments]: Use G-expressions;
fix library version check instead of disabling the test.

Change-Id: I78e8cfd9d2588517b0911dde5fc8aa53d4f67892
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
2658de2741 gnu: r-sgseq: Enable all tests.
* gnu/packages/bioconductor.scm (r-sgseq)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I25cfd6620b6573057c161200bd5fad99a19e2bdd
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
76a7ae3d03 gnu: r-metagenomeseq: Enable all tests.
* gnu/packages/bioconductor.scm (r-metagenomeseq)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I17d0d965b6d7702dfd6eb24eef288a51915aa3f6
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
8ae7a78bd4 gnu: r-graph: Enable tests.
* gnu/packages/bioconductor.scm (r-graph)[arguments]: Enable tests.

Change-Id: I9307f27a1e36e439b3d0c5680faa558981dc5d3a
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
04639276f7 gnu: r-summarizedexperiment: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-summarizedexperiment)[arguments]: Remove
phase 'delete-bad-tests; specify #:test-directory and #:skipped-tests
instead.

Change-Id: I6229ec548d21f30534f9d279b3aae8847e55a77e
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
d88e55ffa9 gnu: r-batchelor: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-batchelor)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: Icd8aaae97130eed2e3c1b1629ac1dd9d18287fee
2026-04-27 09:08:47 +02:00
Ricardo Wurmus
42a7cf7845 gnu: r-biocsingular: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-biocsingular)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: I8b8f91562233c9cca180eeda50f5d6dc4bc1cd37
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
135b32e248 gnu: r-glmgampoi: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-glmgampoi)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead; enable tests.

Change-Id: I5de95bf59482d706bf80bb6fc4cdcf6da89d2afd
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
17f9333b6e gnu: r-variantannotation: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-variantannotation)[arguments]: Remove phase
'delete-bad-tests; specify #:test-directory and #:skipped-tests instead.

Change-Id: I17532f8a6e23b52591f0593677e8cd88aacbfc23
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
0969c568fd gnu: r-rhdf5: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-rhdf5)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead; enable tests.

Change-Id: I2a440a41b6d527c5c91786345db49532fdca5b2c
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
c8313fcb45 gnu: r-regioner: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-regioner)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: Ic90c620653ffa6d2ad6eab4ded05e4bbfe62d279
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
c1f580299c gnu: r-msnbase: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-msnbase)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: Icb2170c300d80dc5f955b4ff1b97f1e33385a7c2
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
6755b7f807 gnu: r-genomicdatacommons: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-genomicdatacommons)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: I02a6f73db89104c90e6a4301240a1fd20e35a636
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
0988179a0d gnu: r-escape: Enable all tests.
* gnu/packages/bioconductor.scm (r-escape)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I6d0af6daaed7b5c142ccfdfc162ba57968d1ce17
2026-04-27 09:08:46 +02:00
Ricardo Wurmus
716794229f gnu: r-category: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-category)[arguments]: Remove phase
'delete-bad-tests; specify #:test-directory and #:skipped-tests instead.

Change-Id: If573e4ea497fdd1f3654433d2854f0a821455bd6
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
63c03c3d26 gnu: r-treeio: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-treeio)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead; enable more tests.

Change-Id: I55fccf144c233bfd4115b9201c1550e9d477e6a4
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
f1c11c6d8e gnu: r-derfinder: Enable all tests.
* gnu/packages/bioconductor.scm (r-derfinder)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: Ib4e5e8557209b5a46b48e77c52c6355676b3e577
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
dba094565a gnu: r-bumphunter: Disable tests instead of patching them.
After patching we didn't run any tests anyway.

* gnu/packages/bioconductor.scm (r-bumphunter)[arguments]: Remove phase
'delete-bad-tests; disable tests instead.

Change-Id: I6ba13013c6038b272204ae4191111714d835be05
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
255537bde7 gnu: r-txdbmaker: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-txdbmaker)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: I35e1fb2dce920cb0a59a063eb2b511b636e46546
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
b00a5ed37d gnu: r-scrapper: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-scrapper)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: I25b29604508732e64a7efb72b9635e7bc8685356
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
5c4ed81244 gnu: r-plyranges: Enable all tests.
* gnu/packages/bioconductor.scm (r-plyranges)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: I7539e3c6f8ed26a66bf9d4ef65ecb11bee74421d
2026-04-27 09:08:45 +02:00
Ricardo Wurmus
bf7cfab66f gnu: r-transcriptr: Enable all tests.
* gnu/packages/bioconductor.scm (r-transcriptr)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: Ic0781089808a2468797d03e968aa696553409801
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
3a315bf714 gnu: r-tcgautils: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-tcgautils)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: I29a788dc229c599207d89d7f4dbd49c3c9f06f1e
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
a93bff0539 gnu: r-screpertoire: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-screpertoire)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Ieac662ca919889a71861cb6b1f08febab2487f54
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
9eeb042f66 gnu: r-chippeakanno: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-chippeakanno)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Id7e7cd02d1b0b02f62022b9d55e69c867200e213
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
b82a8212a9 gnu: r-msnid: Enable all tests.
* gnu/packages/bioconductor.scm (r-msnid)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: Iaf459f89d1f6d82a486a0dcd860cff746ee140a0
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
b4ebd385cb gnu: r-mosdef: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-mosdef)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Iadf53cbebf8e30b1cd8a4a793a7853b01318de39
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
8bc19a783e gnu: r-h5mread: Enable all tests.
* gnu/packages/bioconductor.scm (r-h5mread)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: I8a20a311a4c8c2177c07ab5d0b59c8ea5e369c73
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
0885dcbd28 gnu: r-immapex: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-immapex)[arguments]: Remove phase
'skip-bad-tests; specify #:skipped-tests instead.

Change-Id: Icb90decad077e6e2b9f68b618a983b8251954791
2026-04-27 09:08:44 +02:00
Ricardo Wurmus
ce874aa2ec gnu: r-rcas: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-rcas)[arguments]: Remove phase
'skip-bad-tests; specify #:skipped-tests instead.

Change-Id: Ib4497fa70e0b61267b61d4fdf70e3e5abd0c1af9
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
a95926a0c6 gnu: r-karyoploter: Enable all tests.
* gnu/packages/bioconductor.scm (r-karyoploter)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: I3d5727327d1da4ba30bd8cd8d9251100329e4cac
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
6979e90a06 gnu: r-sanssouci: Update to 0.16.2-1.fcd60da.
* gnu/packages/bioconductor.scm (r-sanssouci): Update to 0.16.2-1.fcd60da.
[arguments]: Remove phase 'delete-bad-tests.
[propagated-inputs]: Remove r-rcpp and r-rcpparmadillo; add r-matrixtests and
r-rlang.
[native-inputs]: Remove r-ggplot2; add r-knitr.

Change-Id: I30fa708d0a1873d78fa2350e5933e807ccaae821
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
6a27c193e6 gnu: r-cicero-monocle3: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-cicero-monocle3)[arguments]: Remove phase
'skip-bad-tests; specify #:skipped-tests instead.

Change-Id: I3ab92000982c97e95e4b157dcf3cfe1d49f056f3
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
df58ecce45 gnu: r-mutationalpatterns: Enable all tests.
* gnu/packages/bioconductor.scm (r-mutationalpatterns)[arguments]: Remove
phase 'skip-bad-tests.

Change-Id: I51ee4d02fd12e34100a6823a8ba71e117bc618a1
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
dabf458672 gnu: r-bamsignals: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-bamsignals)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Ifbb26ef31debc2ad43eb1265c7916b24bfa140ae
2026-04-27 09:08:43 +02:00
Ricardo Wurmus
334b06c51b gnu: r-biomart: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-biomart)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: I98c167685c07453fd8fa8b8c7700c21591d043af
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
0e337d2ac8 gnu: r-biocset: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-biocset)[arguments]: Remove phase
'delete-bad-tests; specify #:skipped-tests instead.

Change-Id: Ibcdfdca6e35869e260a8f02deddacaa59002c7f1
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
485afefd34 gnu: r-zellkonverter: Enable tests by bypassing Conda.
* gnu/packages/bioconductor.scm (r-zellkonverter)[arguments]: Enable all tests
but one; add phase 'basilisk-configuration.
[inputs]: Add python-anndata, python-h5py, python-natsort, python-numpy,
python-pandas, python-scipy, and python-wrapper.

Change-Id: I4eb5e34ab540bdeea64f6b8629bb8f17d24c3663
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
2b11327ca1 gnu: r-hdf5array: Update comment.
* gnu/packages/bioconductor.scm (r-hdf5array)[arguments]: Update comment on
why we delete a test.

Change-Id: Ibefbe960a12969337a63329d511d6c0891895c94
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
91b7e40c48 gnu: r-basilisk: Patch to bypass Conda.
* gnu/packages/bioconductor.scm (r-basilisk)[arguments]: Add phase
'patch-for-guix.

Change-Id: I8bcfd78da0818235a3ab1c00aae8dafdc8aa57aa
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
9384694ed8 gnu: r-decoupler: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-decoupler)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: I40e3ba1539ee4dc5d471c547a5208317f2a7600e
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
876e740955 gnu: r-cner: Remove custom phases, enable all tests.
* gnu/packages/bioconductor.scm (r-cner)[arguments]: Remove phases
'disable-bad-tests and 'fix-gcc-14-strictness.

Change-Id: I116538acce4dacad5550727dba14bb72bb8905f4
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
a54c1cce04 gnu: r-chromvar: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-chromvar)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Ia5419e9be986c9600372de103c0ee5353a194346
2026-04-27 09:08:42 +02:00
Ricardo Wurmus
db4ac307d3 gnu: r-mscoreutils: Enable all tests.
* gnu/packages/bioconductor.scm (r-mscoreutils)[arguments]: Remove phase
'disable-bad-tests.

Change-Id: I6fa331a8110d3923f7f1394023cfa81aa2a1b837
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
61d6237d50 gnu: r-abn: Enable all tests.
* gnu/packages/bioconductor.scm (r-abn)[arguments]: Remove phase
'delete-bad-tests.

Change-Id: I78978dfc6e606c90d24c6ef6b4cf0ed5f1af3492
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
fcf0a97470 gnu: r-posterior: Update to 1.7.0.
* gnu/packages/cran.scm (r-posterior): Update to 1.7.0.

Change-Id: I7053e29e54d42cbb82a45d19831accc849df796a
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
ce69ef9d5c gnu: r-processx: Update to 3.8.7.
* gnu/packages/cran.scm (r-processx): Update to 3.8.7.

Change-Id: I69d8e6a7d8627f851b066b00e4e74340767facfb
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
1feeb06aff gnu: r-pkgload: Update to 1.5.1.
* gnu/packages/cran.scm (r-pkgload): Update to 1.5.1.

Change-Id: Ib774f4e6a77be5d7358673485337248e47388700
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
5dc762a7ca gnu: r-ps: Update to 1.9.2.
* gnu/packages/cran.scm (r-ps): Update to 1.9.2.

Change-Id: I44542f83ac5880a79f940ab6702805812d3414e1
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
a05f8cc7b0 gnu: r-conos: Update to 1.5.3.
* gnu/packages/bioconductor.scm (r-conos): Update to 1.5.3.

Change-Id: I1f2b0773ab03051dd4c82f991196c0c7ac77063f
2026-04-27 09:08:41 +02:00
Ricardo Wurmus
dce3a53259 gnu: r-barcodetrackr: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-barcodetrackr)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: Ibe719fb6a2395c31c67788255d7df95988962b4c
2026-04-27 09:08:40 +02:00
Ricardo Wurmus
366a7fa3bb gnu: r-basics: Replace custom phase with SKIPPED-TESTS argument.
* gnu/packages/bioconductor.scm (r-basics)[arguments]: Remove phase
'disable-bad-tests; specify #:skipped-tests instead.

Change-Id: I2948991cebaab753c496ec272a9f82c5f359ca2d
2026-04-27 09:08:40 +02:00
Efraim Flashner
c2b3c7a00b gnu: vim-full: Don't overwrite configure flags.
* gnu/packages/vim.scm (vim-full)[arguments]: Adjust the inherited
configure-flags instead of prepending configure-flags to the inherited
arguments.

Fixes: guix/guix#8116
Change-Id: I522b03620ffe6668876843b30bb90f44e521484d
2026-04-27 08:54:42 +03:00
jgart
0c1d342191 gnu: trealla: Update to 2.94.4.
* gnu/packages/prolog.scm (trealla): Update to 2.94.4.

Change-Id: I1e3fd231fa11ac47ce89eeb986b2c2d0969ae7cf
2026-04-26 21:59:16 -04:00
Maxim Cournoyer
ae50b34096 .guix-authorizations: Register Noé's key.
* .guix-authorizations (baleine): Register Noé's key.

Voucher: Liliana Marie Prikler <liliana.prikler@gmail.com>
Voucher: Maxim Cournoyer <maxim@guixotic.coop>
Voucher: Andreas Enge <andreas@enge.fr>
Change-Id: Iaa262f753d73f5ecd15ecd883b7e905de647b476
2026-04-27 09:35:25 +09:00
moksh
f90adbd63b gnu: syncthing: Update to 2.0.16.
* gnu/packages/syncthing.scm (syncthing): Update to 2.0.16.

Merges: https://codeberg.org/guix/guix/pulls/8160
Change-Id: I3272857ea3d73b0a206ff878333e6339a2e815ca
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 22:45:13 +01:00
Sharlatan Hellseher
0791717950 gnu: go-github-com-openzipkin-zipkin-go: Enable build and tests.
* gnu/packages/golang-web.scm (go-github-com-openzipkin-zipkin-go):
[arguments] <skip-build?, tests?>: Enable.
[propagated-inputs]: Add go-github-com-ibm-sarama and
go-github-com-rabbitmq-amqp091-go.
[description]: Provide URL with short explanation of what Zipkin is.

Change-Id: Ia3945e598b2868ab28b40ee7a4ff7937dc169558
2026-04-26 22:35:23 +01:00
Sharlatan Hellseher
ab69b44f78 gnu: Add go-github-com-rabbitmq-amqp091-go.
* gnu/packages/golang-web.scm (go-github-com-rabbitmq-amqp091-go): New variable.

Change-Id: I5f66448cc50ba88f84f1afdb571eb1e2d630451b
2026-04-26 22:27:38 +01:00
Sharlatan Hellseher
d19d23ceba gnu: Add go-github-com-ibm-sarama.
* gnu/packages/golang-web.scm (go-github-com-ibm-sarama, sarama-tools):
New variables.

Change-Id: I0022a5a435f5bb5001eba62b2ed59e45a0f4b0b0
2026-04-26 22:22:53 +01:00
Sharlatan Hellseher
db8a17feea gnu: Add go-github-com-eapache-go-resiliency.
* gnu/packages/golang-xyz.scm (go-github-com-eapache-go-resiliency): New variable.

Change-Id: I7b8c36c7c955c899e4212cb9248e7d9f86ce05b4
2026-04-26 22:22:53 +01:00
Danny Milosavljevic
a1a82d2525 gnu: codex: Update to 0.124.0.
* gnu/packages/patches/rust-codex-0.124.0-code-mode-stub-toolname.patch: New file.
* gnu/packages/patches/rust-codex-0.124.0-remove-patch-sections.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add references to them.
* gnu/packages/codex.scm (codex): Update to 0.124.0.
* gnu/packages/rust-crates.scm: Update.
* gnu/packages/rust-sources.scm (rust-codex-0.124.0): New variable.

Change-Id: I90570206d39c533edfc6d70e229ee3f7eda9dcf2
2026-04-26 22:47:11 +02:00
Tobias Geerinckx-Rice
ecda809fd4 doc: Further elucidate(?) the bcachefs situation.
This follows up on commit cd2d52bce2.

Said support is <https://codeberg.org/guix/guix/pulls/1917>, but linking
to PRs in the documentation is a bit much.  The git log is much better.

* doc/guix.texi (Keyboard Layout and Networking and Partitioning): One
cannot, in fact, load the bcachefs module on an unpatched Guix System.

Change-Id: Ib04cc97cf7cffc1e7d130d4dd43e422afaef55ee
2026-04-19 02:00:00 +02:00
Tobias Geerinckx-Rice
6565cb39a9 gnu: psi-plus: Tweak description.
* gnu/packages/messaging.scm (psi-plus)[description]: Prioritise.

Change-Id: Ica1695748628ba2ea7d06e2ebdaa871bf7cf09c1
2026-04-19 02:00:00 +02:00
Tobias Geerinckx-Rice
d93269e925 gnu: psi-plus: Update to 1.5.2115.
* gnu/packages/messaging.scm (psi-plus): Update to 1.5.2115.
[inputs]: Add libomemo-c.

Change-Id: Idc1ec0510a28420c659122f72ac832818be8e9b8
2026-04-19 02:00:00 +02:00
Tobias Geerinckx-Rice
223b983c4f gnu: psi-plus: Update home page.
* gnu/packages/messaging.scm (psi-plus)[home-page]: Update.

Change-Id: I27a0ef532455e1a352b19936a860ab0490217447
2026-04-19 02:00:00 +02:00
Tobias Geerinckx-Rice
65d5abecf4 gnu: psi-plus: Simplify wrapping phase.
* gnu/packages/messaging.scm (psi-plus)[arguments]: Rename the 'wrap-env phase
to 'wrap-executable and remove the single-element FOR-EACH complication.

Change-Id: Iabda6634f6f83cd8cd21bd26c2107b139030c575
2026-04-19 02:00:00 +02:00
Sharlatan Hellseher
dd2c600e8f gnu: go-github-com-sigstore-rekor-tiles-v2: Add more missing inputs.
* gnu/packages/golang-web.scm (go-github-com-sigstore-rekor-tiles-v2):
[arguments] <test-flags>: Run more tests.
[propagated-inputs]: Add go-cloud-google-com-go-spanner,
go-github-com-chainguard-dev-clog, and
go-github-com-transparency-dev-tessera.

Change-Id: I25d364114e8f4bc38a8aa3234f4952c5f6c58da9
2026-04-26 12:59:22 +01:00
Patrick Norton
2a3492b086 gnu: Add go-github-com-alingse-asasalint.
* gnu/packages/golang-check.scm (go-github-com-alingse-asasalint): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: Ia17d862ae911c00dac08256c0c2be61cbb422a8e
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
850300f874 gnu: Add go-github-com-alexkohler-prealloc.
* gnu/packages/golang-check.scm (go-github-com-alexkohler-prealloc): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: Ib7fffc1dbc1a026606dbd619b3db50b4c639eb8b
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
0c05c14a1c gnu: Add go-github-com-akutz-memconn.
* gnu/packages/golang-web.scm (go-github-com-akutz-memconn): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I4983368885e32dbe8eb048ad40c2b4b244d5a691
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
f340255ac3 gnu: Add go-fyne-io-systray.
* gnu/packages/golang-xyz.scm (go-fyne-io-systray): New variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I026a0fc3045af9c3d6733973f88c8184d78596f6
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Patrick Norton
c60385e7f3 gnu: Add go-codeberg-org-chavacava-garif.
* gnu/packages/golang-xyz.scm (go-codeberg-org-chavacava-garif): New
variable.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I701c4e3d7a55b7af146f6362d2ec1ff9060e54c5
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
11c071147e gnu: Add go-github-com-transparency-dev-tessera.
* gnu/packages/golang-web.scm (go-github-com-transparency-dev-tessera): New variable.

Change-Id: I4424fb0e10dfd17b34e1c122f7aec78c1a83de67
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
505d54e113 gnu: Add go-go-opentelemetry-io-contrib-detectors-aws-ecs.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-contrib-detectors-aws-ecs): New variable.

Change-Id: I81e34bde1c85014bff5b3010dbb66453ba9d9f08
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
adb6bc8174 gnu: Add go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2): New variable.

Change-Id: I7dee3d4de6ef305e6ed8bafbedbba9754f008d17
2026-04-26 12:59:21 +01:00
Sharlatan Hellseher
9572ef816c gnu: Add go-github-com-brunoscheufler-aws-ecs-metadata-go.
* gnu/packages/golang-web.scm (go-github-com-brunoscheufler-aws-ecs-metadata-go): New variable.

Change-Id: I2862a77b66b0b78286dc4c3d0c799746e8e0978c
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
3141f98eab gnu: Add go-github-com-bitfield-script.
* gnu/packages/golang-xyz.scm (go-github-com-bitfield-script): New variable.

Change-Id: I732c56dff8d4af296998b0f9946ff7d90cf23199
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
e45b76740c gnu: Add go-github-com-chainguard-dev-clog.
* gnu/packages/golang-xyz.scm (go-github-com-chainguard-dev-clog): New variable.

Change-Id: Ia187d4153d24e982f85747565ffcdc33c26fe237
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
7d3faf9adb gnu: Add go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace):
New variable.

Change-Id: I2df3bb8acb7986a06ba2827253c83332a1123829
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
d157829459 gnu: Add go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock): New variable.

Change-Id: I58b9ce7873b77744ddb2c4812708ce9eb9a6268b
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
deb1281afd gnu: Add go-cloud-google-com-go-logging.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-logging): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "logging" directory.

Change-Id: I74650b7120356f780b2344b75e71734977b0f5e7
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
eb3dbd7e8d gnu: Add go-cloud-google-com-go-trace.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-trace): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "trace" directory.

Change-Id: Id2965aaa5107ef59d78023dc313525482a6e0e13
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
becde8b26b gnu: Add go-cloud-google-com-go-spanner.
* gnu/packages/golang-web.scm (go-cloud-google-com-go-spanner): New variable.
(go-cloud-google-com-go)[source] <snippet>: Remove "spanner" dirrectory.
[arguments] <test-flags>: Remove "spanner/spansql" from the scope.

Change-Id: If6da09f19d8b2c9e2937da7256d468693b7c0508
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
05ed48dba4 gnu: Add go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp.
* gnu/packages/golang-web.scm (go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp): New variable.

Change-Id: Ia4b5bcceaadb7c9e46822be5451101c8aaab55be
2026-04-26 12:59:20 +01:00
Sharlatan Hellseher
f826fb50e2 gnu: Add go-github-com-robinus2-golang-moving-average.
* gnu/packages/golang-maths.scm (go-github-com-robinus2-golang-moving-average): New variable.

Change-Id: Icf77b13b7a07a83e81ef81be2e1d39ac3be91ec2
2026-04-26 12:59:19 +01:00
Patrick Norton
cd1459572c gnu: go-github-com-google-go-tpm: Update to 0.9.4.
* gnu/packages/golang-crypto.scm (go-github-com-google-go-tpm): Update to 0.9.4.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I23189ffe8e8f3932271aa70be77cd03e97a35767
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:19 +01:00
Patrick Norton
0b24f42085 gnu: go-gvisor-dev-gvisor: Update to 0.0.0-1.9414b50.
* gnu/packages/golang-xyz.scm (go-gvisor-dev-gvisor): Update to
9414b50a5633100fd7299a5a7998742575dcb669 commit.

Relates-to: https://codeberg.org/guix/guix/pulls/5417
Change-Id: I223906664b92768cca076243ee007abad5981283
Reviewed-by: Johannes Christ <jc@jchri.st>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
56b8d8f33e gnu: go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc: Update to 1.43.0.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc): Update to 1.43.0.
[argumens] <skip-build?, tests?>: Enable.
[propagated-inputs]: Remove go-go-uber-org-goleak; add
go-go-opentelemetry-io-otel,
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace,
go-go-opentelemetry-io-otel-metric,
go-go-opentelemetry-io-otel-metric-x, go-go-opentelemetry-io-otel-sdk,
go-go-opentelemetry-io-otel-sdk-metric, and
go-go-opentelemetry-io-otel-trace.
[native-inputs]: Add go-go-uber-org-goleak.

Change-Id: Ida9f5d87f6c69507a0a7cb88dca1b24e9a512be1
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
f33ca72f00 gnu: Add go-go-opentelemetry-io-otel-metric-x.
* gnu/packages/golang-web.scm (go-go-opentelemetry-io-otel-metric-x): New variable.

Change-Id: I0d16b6f5c1a96c09b9a94e0fd89e13029e108bde
2026-04-26 12:59:19 +01:00
Sharlatan Hellseher
3e32fce5aa gnu: go-github-com-files-com-files-sdk-go-v3: Update to 3.3.95.
* gnu/packages/golang-web.scm (go-github-com-files-com-files-sdk-go-v3): Update to 3.3.95.
[propagated-inputs]: Remove go-github-com-bradfitz-iter; add go-golang-org-x-sync.

Relates-to: https://codeberg.org/guix/guix/issues/8118
Change-Id: I2f3975a4e984010ed602a73310c67da9cdddf2e6
2026-04-26 12:59:17 +01:00
Cayetano Santos
e978b77e9b gnu: emacs-calibredb: Update to 2.14.0.
* gnu/packages/emacs-xyz.scm (emacs-calibredb): Update to 2.14.0.
[propagated-inputs]: Add emacs-request.
[arguments]<#:tests?>: Disable.
<#:include>: Add .py files.
<#:phases>: Update ’patch-paths.

Change-Id: Ic0b8bf581fca242ff3e91ce510826e46c189aa18
2026-04-26 12:34:01 +02:00
Nguyễn Gia Phong
3e937950aa gnu: fnc: Indent.
* gnu/packages/version-control.scm (fnc): Indent.

Change-Id: I04a155e6084ee9d6f5b15db62f920c9bf5c6ba53
Merges: https://codeberg.org/guix/guix/pulls/7962
2026-04-26 17:37:16 +09:00
Nguyễn Gia Phong
b22ed7e361 gnu: fnc: Update to 0.19-0.c158d7ac217.
* gnu/packages/version-control.scm (fnc): Update to 0.19-0.c158d7ac217.
  [arguments]<#:make-flags>: Add LDFLAGS for libfossil and sqlite3.
  <#:phases>: Move 'don-t-use-install-s from here...
  [source]: ...to a snippet here together with the unbundling
  of SQLite and libfossil.  Switch to fossil-fetch.
  [inputs]: Add libfossil.  Remove zlib.
  [home-page]: Update to the new URL.

Change-Id: Ib9ee71665b23c363fdfc88ddd9a2380561e16351
Reviewed-by: Thanos Apollo <public@thanosapollo.org>
2026-04-26 17:37:03 +09:00
Nguyễn Gia Phong
f27a394eb7 gnu: libfossil: Dedent.
* gnu/packages/version-control.scm (libfossil): Dedent.

Change-Id: I90ed0a5e1d61ac50b125807b561d7f221284bd84
2026-04-26 17:37:01 +09:00
Nguyễn Gia Phong
a97d78ba76 gnu: libfossil: Update to 0.6.0.
* gnu/packages/patches/libfossil-skip-amalgamation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
* gnu/packages/version-control.scm (libfossil)[source]: Remove patch.
  Update to 0.6.0.

Change-Id: I3e75eea767c582325fa4a6b62d093a40964cfaeb
Reviewed-by: Thanos Apollo <public@thanosapollo.org>
2026-04-26 17:36:21 +09:00
Anderson Torres
229d0cb49f gnu: e3: Update to 2.82.1.
The original upstream website is no longer available.

* gnu/packages/text-editors.scm (e3): Update to 2.82.1.
  [source]: Use git-fetch.
  [arguments]: Use gexps.
  [supported-systems]: Reorder field.
  [home-page]: Update to fork at Museoa.

Change-Id: I908317793035971e84efc67b8970a18594bb3234
Merges: https://codeberg.org/guix/guix/pulls/8117
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-04-26 17:13:32 +09:00
Cayetano Santos
78e603ce22 gnu: emacs-mastodon: Add tests.
* gnu/packages/emacs-xyz.scm (emacs-mastodon)[native-inputs]: Add
emacs-el-mock.
[arguments]<#:test-command>: Add.
<#:tests?>: Delete.
<#:phases>: Indent; add ’skip-failing-tests and ’fix-tests.

Change-Id: Id7f9c07a9d54c7f91dfc498aa4859ddd56c17a40
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-04-26 07:53:08 +02:00
Vinicius Monego
83dfde3eb6 gnu: highs: Update to 1.14.0.
* gnu/packages/maths.scm (highs): Update to 1.14.0.
[description]: End with a period.

Change-Id: Ibb20b6bfa553be855c96a4960c36fd2c42f462e0
2026-04-25 22:01:20 -03:00
jgart
06cd989c0f gnu: sbcl-stumpwm-wpctl: Use modern style.
* gnu/packages/wm.scm (sbcl-stumpwm-wpctl)[arguments]: Use modern style.
[inputs]: Format the code.
[description]: Add period to sentence.

Change-Id: I285ea307e0f0a58e456870f8d5314cd464da2f49
2026-04-25 19:00:13 -04:00
Junker
ddc6ea22ca gnu: Add sbcl-stumpwm-wpctl.
* gnu/packages/wm.scm (sbcl-stumpwm-wpctl): New variable.

Change-Id: I2a73a72c1437e0a27b4ca9d047c6c153f5389dcf
Signed-off-by: jgart <jgart@dismail.de>
2026-04-25 18:55:38 -04:00
jgart
64e4b79de6 gnu: sbcl-stumpwm-acpi-backlight: Use modern style.
* gnu/packages/wm.scm (sbcl-stumpwm-acpi-backlight)[arguments]: Use modern
style.
[source]: Format the code.

Change-Id: I65c608d30aeefd54166d136115c81c7a4e6c7320
2026-04-25 18:54:57 -04:00
jgart
cbeee0326f gnu:sbcl-stumpwm-bluetooth: Use modern style.
* gnu/packages/wm.scm (sbcl-stumpwm-bluetooth)[arguments]: Use modern style.

Change-Id: I0038d52948f48c8a489b69a5ad9ae9ec9d6e32aa
2026-04-25 18:49:54 -04:00
Junker
165bc107d4 gnu: Add sbcl-stumpwm-bluetooth.
* gnu/packages/wm.scm (sbcl-stumpwm-bluetooth): New variable.

Change-Id: Iaa54c27cbfc8a429fe3af87a9a56cfec8c2923af
Signed-off-by: jgart <jgart@dismail.de>
2026-04-25 16:24:45 -04:00
jgart
c039b2da23 gnu: sbcl-stumpwm-acpi-backlight: Add comment on missing tests.
* gnu/packages/wm.scm (sbcl-stumpwm-acpi-backlight)[arguments]: Add comment
regarding missing tests.

Change-Id: Id86f679b7df58582b15be7e2dfa6d597276956a6
2026-04-25 16:24:03 -04:00
Junker
d02b10be15 gnu: Add sbcl-stumpwm-acpi-backlight.
* gnu/packages/wm.scm (sbcl-stumpwm-acpi-backlight): New variable.

Change-Id: I4db3c6f75c77d9c4e2c22b633a36cf68f6e47971
Signed-off-by: jgart <jgart@dismail.de>
2026-04-25 16:24:03 -04:00
Ian Eure
e5e2aaaf55 gnu: librewolf: Update to 150.0-1. [security-updates]
Contains fixes for:
CVE-2026-6746: Use-after-free in the DOM: Core & HTML component
CVE-2026-6747: Use-after-free in the WebRTC component
CVE-2026-6748: Uninitialized memory in the Audio/Video: Web Codecs
               component
CVE-2026-6749: Information disclosure due to uninitialized memory in
               the Graphics: Canvas2D component
CVE-2026-6750: Privilege escalation in the Graphics: WebRender
               component
CVE-2026-6751: Uninitialized memory in the Audio/Video: Web Codecs
               component
CVE-2026-6752: Incorrect boundary conditions in the WebRTC component
CVE-2026-6753: Incorrect boundary conditions in the WebRTC component
CVE-2026-6754: Use-after-free in the JavaScript Engine component
CVE-2026-6755: Mitigation bypass in the DOM: postMessage component
CVE-2026-6756: Mitigation bypass in Firefox for Android
CVE-2026-6757: Invalid pointer in the JavaScript: WebAssembly
               component
CVE-2026-6758: Use-after-free in the JavaScript: WebAssembly component
CVE-2026-6759: Use-after-free in the Widget: Cocoa component
CVE-2026-6760: Mitigation bypass in the Networking: Cookies component
CVE-2026-6761: Privilege escalation in the Networking component
CVE-2026-6762: Spoofing issue in the DOM: Core & HTML component
CVE-2026-6763: Mitigation bypass in the File Handling component
CVE-2026-6764: Incorrect boundary conditions in the DOM: Device
               Interfaces component
CVE-2026-6765: Information disclosure in the Form Autofill component
CVE-2026-6766: Incorrect boundary conditions in the Libraries
               component in NSS
CVE-2026-6767: Other issue in the Libraries component in NSS
CVE-2026-6768: Mitigation bypass in the Networking: Cookies component
CVE-2026-6769: Privilege escalation in the Debugger component
CVE-2026-6770: Other issue in the Storage: IndexedDB component
CVE-2026-6771: Mitigation bypass in the DOM: Security component
CVE-2026-6772: Incorrect boundary conditions in the Libraries
               component in NSS
CVE-2026-6773: Denial-of-service due to integer overflow in the
               Graphics: WebGPU component
CVE-2026-6774: Mitigation bypass in the DOM: Security component
CVE-2026-6775: Incorrect boundary conditions in the WebRTC component
CVE-2026-6776: Incorrect boundary conditions in the WebRTC: Networking
               component
CVE-2026-6777: Other issue in the Networking: DNS component
CVE-2026-6778: Invalid pointer in the Audio/Video: Playback component
CVE-2026-6779: Other issue in the JavaScript Engine component
CVE-2026-6780: Denial-of-service in the Audio/Video: Playback
               component
CVE-2026-6781: Denial-of-service in the Audio/Video: Playback
               component
CVE-2026-6782: Information disclosure in the IP Protection component
CVE-2026-6783: Incorrect boundary conditions, integer overflow in the
               Audio/Video: Playback component
CVE-2026-6784: Memory safety bugs fixed in Firefox 150 and Thunderbird
               150
CVE-2026-6785: Memory safety bugs fixed in Firefox ESR 115.35, Firefox
               ESR 140.10, Thunderbird ESR 140.10, Firefox 150 and
               Thunderbird 150
CVE-2026-6786: Memory safety bugs fixed in Firefox ESR 140.10,
               Thunderbird ESR 140.10, Firefox 150 and Thunderbird 150

* gnu/packages/patches/librewolf-150.0-encoding_rs-rust-fix.patch: New file.
* gnu/local.mk: Add new patch to dist_patch_DATA.
* gnu/packages/librewolf.scm (make-librewolf-source): Apply new patch.
* gnu/packages/librewolf.scm (librewolf): Update to 150.0-1.
[arguments #:phases use-mozzarella]: Update Mozzarella URLs.  Fixes #1923.

Change-Id: I7696abc0ac44d689190d9ef1e12704905c11d431
2026-04-25 09:50:42 -07:00
Ian Eure
5d73106227 gnu: nss-rapid: Update to 3.123.
* gnu/packages/nss.scm (nss-rapid): Update to 3.123.

Change-Id: I9a8d96da253bb0dca207d2bd7a6bb83b821880ee
2026-04-25 09:50:42 -07:00
Nguyễn Gia Phong
ce09216dce gnu: Add fead.
* gnu/packages/syndication.scm (fead): New variable.

Change-Id: Ic43d5fe1cc32697c6382bd6585c73cdef647e92b
Merges: https://codeberg.org/guix/guix/pulls/7979
Reviewed-by: Anderson Torres <anderson.torres.8519@gmail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-04-25 21:35:10 +09:00
Danylo Kondratiev
cb1f7b8948 gnu: gkrellm: Migrate from (gnu packages gkrellm) to (gnu packages monitoring).
* gnu/packages/monitoring.scm (gkrellm): Move to here...
* gnu/packages/gkrellm.scm (gkrellm): ...from here.
  Define instead as a deprecated public alias.

Change-Id: I5fb902429dc128e349406655d0aa8b7a658212b6
Merges: https://codeberg.org/guix/guix/pulls/7928
Reviewed-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-04-25 21:31:58 +09:00
Junker
f78630e302 gnu: sbcl-stumpwm-tomato: Update to 0.2.0.
* gnu/packages/wm.scm (sbcl-stumpwm-tomato): Update to 0.2.0.

Change-Id: Iedc27803a0267e02fd62b9551953ae0f6c073b90
Signed-off-by: jgart <jgart@dismail.de>
2026-04-25 08:01:28 -04:00
Sergio Pastor Pérez
9e4f181122 gnu: Add emacs-ben.
* gnu/packages/emacs-xyz.scm (emacs-ben): New variable.

Change-Id: I67659ea638185b48d4c6a41ffa531fc89ed80852
Signed-off-by: jgart <jgart@dismail.de>
2026-04-25 07:53:24 -04:00
jgart
4362b0c608 gnu: trealla: Update to 2.94.2.
* gnu/packages/prolog.scm (trealla): Update to 2.94.2.

Change-Id: I5a6d67a0f20e8384e769d33bf17959d5317c78e4
2026-04-25 07:50:49 -04:00
45 changed files with 7555 additions and 1353 deletions

View File

@@ -16,6 +16,8 @@
( ;; primary: "D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F"
"01FD 85F4 1A7B 7F82 0583 06A5 935E BE07 36DC 857E"
(name "avp"))
("5D54 CF25 57B2 38E8 8DC1 80A2 2D22 3241 0AB7 4043"
(name "baleine"))
( ;; primary: "34FF 38BC D151 25A6 E340 A0B5 3453 2F9F AFCA 8B8E"
"A3A4 B419 0074 087C A7DE 5698 BC45 CA67 E2F8 D007"
(name "bavier"))

View File

@@ -2658,12 +2658,13 @@ bootloaders.
Once you are done partitioning the target hard disk drive, you have to
create a file system on the relevant partition(s)@footnote{Currently
Guix System supports only ext4, btrfs, bcachefs, JFS, F2FS, and XFS
file systems. In particular, code that reads file system UUIDs and
labels works only for these file system types. For bcachefs, also add
the @code{bcachefs-linux-module} to your @code{operating-system}'s
@code{initrd-modules}.}. For the ESP, if you have one and assuming it is
@file{/dev/sda1}, run:
Guix System can mount only ext4, btrfs, JFS, F2FS, and XFS file systems
at boot time. In particular, code that reads file system UUIDs and
labels works only for these file system types. The code for bcachefs is
in place, but support for loading out-of-tree kernel modules in the
initrd is not.}.
For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:
@example
mkfs.fat -F32 /dev/sda1

View File

@@ -1699,7 +1699,6 @@ dist_patch_DATA = \
%D%/packages/patches/libcss-check-format.patch \
%D%/packages/patches/libeb-gcc-14.patch \
%D%/packages/patches/libextractor-tidy-support.patch \
%D%/packages/patches/libfossil-skip-amalgamation.patch \
%D%/packages/patches/libftdi-fix-paths-when-FTDIPP-set.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.1.1.patch \
%D%/packages/patches/libgeotiff-fix-tests-with-proj-9.3.0.patch \
@@ -1714,6 +1713,7 @@ dist_patch_DATA = \
%D%/packages/patches/libretro-dolphin-emu-libusb-assert.patch \
%D%/packages/patches/libretro-dolphin-emu-vulkan-headers.patch \
%D%/packages/patches/libretranslate-use-flasgger.patch \
%D%/packages/patches/librewolf-150.0-encoding_rs-rust-fix.patch \
%D%/packages/patches/librewolf-add-store-to-rdd-allowlist.patch \
%D%/packages/patches/librewolf-compare-paths.patch \
%D%/packages/patches/librewolf-neuter-locale-download.patch \
@@ -2349,8 +2349,16 @@ dist_patch_DATA = \
%D%/packages/patches/renpy-fix-integer-slots.patch \
%D%/packages/patches/reposurgeon-add-missing-docbook-files.patch \
%D%/packages/patches/rdkit-unbundle-external-dependencies.patch \
%D%/packages/patches/r-biostrings-r4.6.0-compat.patch \
%D%/packages/patches/r-h5mread-0001-h5mread-1.3.2-Get-rid-of-non-API-calls-to-R.patch \
%D%/packages/patches/r-httpuv-1.6.6-unvendor-libuv.patch \
%D%/packages/patches/r-mscoreutils-0001-fix-non-API-call-to-R-SETLENGTH-by-using-lengthgets.patch \
%D%/packages/patches/r-rsamtools-r-4.6.0-compat.patch \
%D%/packages/patches/r-snpstats-0001-fixed-non-API-except-for-IS_S4_OBJECT.patch \
%D%/packages/patches/r-snpstats-0002-fixed-IS_S4_OBJECT.patch \
%D%/packages/patches/r-sapa-lapack.patch \
%D%/packages/patches/r-shortread-0001-ShortRead-1.69.3-Get-rid-of-non-API-calls-to-R.patch \
%D%/packages/patches/r-sparsearray-r-4.6.0-compat.patch \
%D%/packages/patches/ripperx-missing-file.patch \
%D%/packages/patches/rpcbind-CVE-2017-8779.patch \
%D%/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch \
@@ -2400,6 +2408,8 @@ dist_patch_DATA = \
%D%/packages/patches/rust-codex-0.120.0-connectors-cache-test-race.patch \
%D%/packages/patches/rust-codex-0.120.0-remove-libwebrtc.patch \
%D%/packages/patches/rust-codex-0.120.0-test-timeout.patch \
%D%/packages/patches/rust-codex-0.124.0-code-mode-stub-toolname.patch \
%D%/packages/patches/rust-codex-0.124.0-remove-patch-sections.patch \
%D%/packages/patches/rust-ring-0.17-ring-core.patch \
%D%/packages/patches/rw-igraph-0.10.patch \
%D%/packages/patches/rxvt-unicode-fix-cursor-position.patch \

File diff suppressed because it is too large Load Diff

View File

@@ -913,7 +913,7 @@ suite native in R.")
(define-public r-bpcells
(package
(name "r-bpcells")
(version "0.3.0")
(version "0.3.1")
(source
(origin
(method git-fetch)
@@ -922,7 +922,7 @@ suite native in R.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "12h1di45fg06nhsliii7v0h1z567pkpis1xm4ar1qr8ns1n8iljw"))
(base32 "0yqgcajq83g25mznwcngaw7pi6vcqxqdnynpgb95yci57k3wrp6j"))
(modules '((guix build utils)))
(snippet
'(delete-file-recursively "r/src/vendor/highway"))))
@@ -931,13 +931,15 @@ suite native in R.")
(arguments
(list
#:phases
'(modify-phases %standard-phases
`(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(substitute* "r/configure"
(("tools/hwy-test.cpp" m)
(string-append m " $HWY_LIBS $HWY_CFLAGS")))
(chdir "r"))))))
(lambda _ (chdir "r")))
,@(if (target-x86-32?)
'((add-after 'chdir 'require-sse2
;; This avoids falling back to the scalar backend in
;; highway, which fails to build.
(lambda _ (setenv "CFLAGS" "-msse2"))))
'()))))
(propagated-inputs
(list r-dplyr
r-ggplot2

View File

@@ -18,10 +18,10 @@
;;; This module is separate from (gnu packages rust-apps) to avoid a
;;; circular module dependency: (gnu packages rust-sources), which
;;; defines rust-codex-0.120.0, transitively loads (gnu packages
;;; defines rust-codex-0.124.0, transitively loads (gnu packages
;;; rust-apps) through its #:use-module chain. If the codex package
;;; lived in rust-apps.scm, loading rust-sources would trigger loading
;;; rust-apps before rust-codex-0.120.0 is defined, causing an unbound
;;; rust-apps before rust-codex-0.124.0 is defined, causing an unbound
;;; variable error.
(define-module (gnu packages codex)
@@ -54,14 +54,14 @@
(define-public codex
(package
(name "codex")
(version (package-version rust-codex-0.120.0))
(version (package-version rust-codex-0.124.0))
(source
(origin
(inherit (package-source rust-codex-0.120.0))
(inherit (package-source rust-codex-0.124.0))
(patches (search-patches
"codex-acp-0.11.1-disable-code-mode.patch"
"rust-codex-0.117.0-remove-patch-sections.patch"
"rust-codex-0.120.0-connectors-cache-test-race.patch"
"rust-codex-0.124.0-code-mode-stub-toolname.patch"
"rust-codex-0.124.0-remove-patch-sections.patch"
"rust-codex-0.120.0-remove-libwebrtc.patch"
"rust-codex-0.98.0-test-shebangs.patch"
"rust-codex-0.120.0-test-timeout.patch"))))
@@ -69,7 +69,12 @@
(arguments
(list
#:install-source? #f
#:cargo-install-paths '(list "cli" "exec" "exec-server"
;; exec-server is library-only in 0.124 (no [[bin]] in
;; exec-server/Cargo.toml); cargo install --path exec-server fails
;; with "no packages found with binaries or examples". Drop it
;; from the install paths -- the library is consumed via the
;; workspace by other binaries here, not installed standalone.
#:cargo-install-paths '(list "cli" "exec"
"linux-sandbox" "mcp-server"
"app-server" "tui")
;; schema_fixtures_match_generated (upstream fixture is stale:
@@ -317,7 +322,164 @@
;; (chatgpt.com, api.github.com) wait
;; for TCP timeout instead of failing
;; instantly at TLS, eating the budget.
"--skip" "mcp_server_status_list_tools_and_auth_only_skips_slow_inventory_calls")
"--skip" "mcp_server_status_list_tools_and_auth_only_skips_slow_inventory_calls"
;;; BEGIN Stack overflow in 'current_thread'
;;; tokio runtime. The sibling tests in
;;; tracing_tests.rs use the local helper
;;; run_current_thread_test_with_stack
;;; (4 MiB) but this one uses bare
;;; #[tokio::test] on the 2 MiB default
;;; test-thread stack, and TurnStart's
;;; future graph exceeds it. With
;;; RUST_MIN_STACK raised the overflow is
;;; gone but the test then deterministically
;;; times out waiting for a span tagged
;;; codex.op = "user_input" on the remote
;;; trace that upstream never emits on that
;;; trace in our environment.
"--skip" "turn_start_jsonrpc_span_parents_core_turn_spans"
;;; END tracing test stack/timeout
;;; BEGIN The upstream loader resolves the
;;; MCP OAuth credentials store mode by
;;; calling
;;; resolve_mcp_oauth_credentials_store_mode
;;; with env!("CARGO_PKG_VERSION") -- which
;;; in the released 0.124.0 tarball is
;;; "0.124.0". These fixture tests
;;; construct the expected Config by
;;; passing the LOCAL_DEV_BUILD_VERSION
;;; constant ("0.0.0") to the same
;;; resolver, and the resolver only returns
;;; File for "0.0.0" -- Auto otherwise.
;;; Upstream CI builds from a checkout
;;; still carrying version = "0.0.0" so the
;;; tests pass there; they cannot pass
;;; against a released tag.
"--skip" "test_precedence_fixture_with_gpt3_profile"
"--skip" "test_precedence_fixture_with_gpt5_profile"
"--skip" "test_precedence_fixture_with_o3_profile"
"--skip" "test_precedence_fixture_with_zdr_profile"
;;; END LOCAL_DEV_BUILD_VERSION fixture mismatch
;;; BEGIN Verifies that Codex's user-shell
;;; spawn produces a child where
;;; CODEX_SANDBOX_NETWORK_DISABLED is unset
;;; (asserts stdout == "not-set"). We
;;; deliberately set that env var at the
;;; check phase to trigger upstream's
;;; skip_if_no_network! guards; the var then
;;; leaks into the spawned shell and the
;;; assertion fails. The guix skip is a
;;; direct cost of the network-gate fix --
;;; trading one broken test for two that
;;; now skip cleanly.
"--skip" "user_shell_command_does_not_set_network_sandbox_env_var"
;;; END CODEX_SANDBOX_NETWORK_DISABLED leak
;;; BEGIN The exec-server/tests/file_system
;;; integration tests invoke the real
;;; system bwrap, which tries to execvp the
;;; test binary at the cargo target path
;;; under the build dir. Same root cause
;;; as the existing
;;; sandbox_reenables_writable_subpaths_under_unreadable_parents
;;; skip: guix builds live under /tmp but
;;; bwrap's mount namespace excludes /tmp,
;;; making the binary invisible inside the
;;; namespace.
"--skip" "file_system_copy_preserves_symlink_source"
"--skip" "file_system_copy_rejects_symlink_escape_destination"
"--skip" "file_system_copy_rejects_symlink_escape_source"
"--skip" "file_system_create_directory_rejects_symlink_escape"
"--skip" "file_system_read_directory_rejects_symlink_escape"
"--skip" "file_system_remove_rejects_symlink_escape"
"--skip" "file_system_remove_removes_symlink_not_target"
"--skip" "file_system_sandboxed_read_allows_readable_root"
"--skip" "file_system_sandboxed_read_rejects_symlink_escape"
"--skip" "file_system_sandboxed_read_rejects_symlink_parent_dotdot_escape"
"--skip" "file_system_sandboxed_write_allows_additional_write_root"
"--skip" "file_system_sandboxed_write_rejects_symlink_escape"
"--skip" "file_system_sandboxed_write_rejects_unwritable_path"
;;; END bwrap-cant-see-/tmp file_system tests
;;; BEGIN Landlock is unavailable on Guix,
;;; so the sandbox cannot deny network
;;; syscalls. These tests expect
;;; SandboxErr::Denied for the nc, ping,
;;; ssh, getent, and dev_tcp_redirection
;;; commands but those commands instead
;;; block on connect() until the test's 2s
;;; timeout fires (Timeout, exit 124).
;;; Same root cause as the Landlock skips
;;; at the top of this list; new test names
;;; in 0.124.
"--skip" "sandbox_blocks_nc"
"--skip" "sandbox_blocks_ping"
"--skip" "sandbox_blocks_dev_tcp_redirection"
"--skip" "sandbox_blocks_getent"
"--skip" "sandbox_blocks_ssh"
;;; END Landlock network block
;;; BEGIN Requires github.com network access.
;;; With no "extraKnownMarketplaces" entry
;;; in settings.json,
;;; collect_marketplace_import_sources
;;; inserts a fallback entry for the
;;; "claude-plugins-official" marketplace
;;; pointing at the github shorthand
;;; "anthropics/claude-plugins-official".
;;; add_marketplace -> parse_marketplace_source
;;; expands that to a github.com/.git URL
;;; and clone_git_source runs 'git clone'.
;;; The Guix build sandbox has no network,
;;; so the clone fails and the marketplace
;;; lands in failed_marketplaces. No mock
;;; cloner is injected via
;;; ExternalAgentConfigService::new_for_test,
;;; so there is no in-tree way to satisfy
;;; the test offline.
"--skip" "import_plugins_infers_claude_official_marketplace_when_missing_from_settings"
;;; END github.com network access
;;; BEGIN Async race between the rollout
;;; writer task and a direct SQLite read.
;;; The test calls
;;; update_memory_settings_with_app_server,
;;; which routes through the in-memory
;;; thread path on the app-server's
;;; ThreadMemoryModeSet handler ->
;;; Session::set_thread_memory_mode ->
;;; persist_thread_memory_mode_update,
;;; which writes a RolloutItem::SessionMeta
;;; with the new mode to the rollout file
;;; via recorder.record_items + flush. The
;;; rollout writer task then asynchronously
;;; calls sync_thread_state_after_write,
;;; which calls state_db::apply_rollout_items
;;; to mirror the SessionMeta into SQLite.
;;; flush() only awaits the rollout-file
;;; write, not the subsequent SQLite sync.
;;; The test opens a fresh StateRuntime and
;;; reads get_thread_memory_mode
;;; immediately, so it observes the creation
;;; default of "enabled" written by
;;; upsert_thread_with_creation_memory_mode
;;; instead of the new "disabled". Upstream
;;; CI wins this race; we lose.
"--skip" "update_memory_settings_updates_current_thread_memory_mode"
;;; END memory-mode rollout/sqlite race
;;; BEGIN The Stopwatch::new constructor in
;;; codex_shell_escalation anchors
;;; T0 = Instant::now() at construction;
;;; the spawned cancellation task fires at
;;; T0 + limit. The test captures
;;; start = Instant::now() at T1 > T0 (after
;;; cancellation_token() returns) and
;;; asserts start.elapsed() >= limit,
;;; i.e. (T0 + limit) - T1 >= limit, which
;;; is always false by the offset T1 - T0.
;;; The test only passes when scheduler
;;; jitter on the sleep wakeup happens to
;;; exceed that offset. Upstream wins the
;;; race; we don't always.
"--skip" "cancellation_receiver_fires_after_limit"
;;; END Stopwatch construction/start offset race
)
#:cargo-package-crates
''(;;; Tier 0: No internal deps.
"codex-ansi-escape"
@@ -358,22 +520,31 @@
"codex-debug-client"
"codex-analytics"
"codex-rollout"
"codex-rollout-trace"
"codex-terminal-detection"
"codex-utils-approval-presets"
"codex-utils-cli"
"codex-uds"
"codex-install-context"
"codex-device-key"
;;; Tier 2.
"codex-app-server-protocol"
"codex-rmcp-client"
"codex-otel"
"codex-thread-store"
"codex-state"
"codex-features"
"codex-model-provider"
"codex-config"
"codex-agent-identity"
"codex-aws-auth"
"codex-hooks"
"codex-instructions"
"codex-code-mode"
"codex-feedback"
"codex-skills"
"codex-test-binary-support"
"codex-core"
"codex-core-plugins"
"codex-utils-sandbox-summary"
"codex-linux-sandbox"
"codex-sandboxing"
@@ -425,7 +596,7 @@
;; Update them to match the actual package version.
(let ((snap-files (find-files "." "\\.snap$")))
(substitute* snap-files
(("\\(v0\\.0\\.0\\) ") "(v0.120.0) ")))))
(("\\(v0\\.0\\.0\\) ") "(v0.124.0) ")))))
(add-after 'chdir-to-workspace 'patch-git-deps-to-vendor
(lambda _
;; Replace git dependencies with version references so cargo
@@ -436,32 +607,55 @@
(("runfiles = \\{ git = [^}]+\\}")
"runfiles = \"0.1.0\""))
;; Remove workspace members that have unbuildable deps
;; (libwebrtc requires git fetch, v8-poc requires V8).
;; (v8-poc requires V8). code-mode stays a workspace member
;; so its codex-protocol resolves to the same local copy as
;; the rest of the build; disabling its default features
;; (below) avoids pulling in V8.
(substitute* "Cargo.toml"
(("\"v8-poc\",") "")
(("\"code-mode\",") ""))
;; Disable V8 runtime in codex-code-mode: remove path
;; so cargo resolves it from the vendor (where it has
;; optional = true on v8) and disable default features.
(("\"v8-poc\",") ""))
;; Disable V8 runtime in codex-code-mode by turning off
;; default features. Keep path= so code-mode is resolved
;; from the local source tree and shares codex-protocol
;; (and other workspace crates) with the rest of the build;
;; resolving it from the vendor instead introduces a
;; duplicate codex-protocol and causes E0308 type
;; mismatches in codex-tools.
(substitute* "Cargo.toml"
(("codex-code-mode = \\{ path = \"code-mode\" \\}")
"codex-code-mode = { version = \"0.120.0\", default-features = false }"))))
"codex-code-mode = { path = \"code-mode\", default-features = false }"))
;; cargo build at workspace root ignores per-dep
;; default-features=false and builds code-mode with its
;; own default features, which include v8-runtime and
;; would pull in V8. Make the default feature empty.
(substitute* "code-mode/Cargo.toml"
(("^default = \\[\"v8-runtime\"\\]") "default = []"))))
(add-after 'patch-git-deps-to-vendor 'add-version-to-workspace-deps
(lambda _
;; cargo package requires all dependencies to have versions.
;; cargo package requires all dependencies to have versions.
;; Add version = "0.120.0" to internal path dependencies.
;; Add version = "0.124.0" to internal path dependencies.
(let ((cargo-files (find-files "." "^Cargo\\.toml$")))
(substitute* cargo-files
;; Handle inline deps: name = { path = "..." }
(("(codex-[a-z0-9-]+) = \\{ path = " all name)
(string-append name " = { version = \"0.120.0\", path = "))
(string-append name " = { version = \"0.124.0\", path = "))
;; Handle inline deps with package: name = { package = "...", path = "..." }
(("(codex-[a-z0-9-]+) = \\{ package = " all name)
(string-append name " = { version = \"0.120.0\", package = "))
(string-append name " = { version = \"0.124.0\", package = "))
;; Handle section deps: [dependencies.X] with path = "..."
(("^(path = \"\\.\\./[^\"]*\")" all path-line)
(string-append path-line "\nversion = \"0.120.0\""))))))
(string-append path-line "\nversion = \"0.124.0\""))))))
(add-after 'chdir-to-workspace 'use-gnu-store-in-sandbox
(lambda _
;; LINUX_PLATFORM_DEFAULT_READ_ROOTS in linux-sandbox/src/
;; bwrap.rs is the read-only baseline that codex's bwrap
;; sandbox bind-mounts so commands can read /usr/bin/ls,
;; libc, etc. Upstream lists "/nix/store" for NixOS;
;; Guix's equivalent is "/gnu/store". Without this swap,
;; the codex sandbox cannot locate any binaries on a Guix
;; system because every "system" path resolves into
;; /gnu/store/<hash>-pkg/bin/...
(substitute* "linux-sandbox/src/bwrap.rs"
(("\"/nix/store\"") "\"/gnu/store\""))))
(add-after 'chdir-to-workspace 'patch-hardcoded-paths
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash-bin (string-append
@@ -561,10 +755,12 @@
;; double quotes.
(substitute*
(list "core/src/plugins/startup_sync_tests.rs"
"core/src/tools/runtimes/shell/unix_escalation_tests.rs"
"core/tests/suite/client.rs"
"core/tests/suite/js_repl.rs"
"core/tests/suite/skill_approval.rs"
"core/tests/suite/user_notification.rs"
"exec-server/tests/file_system.rs"
"login/src/auth/auth_tests.rs"
"models-manager/src/manager_tests.rs"
"sandboxing/src/bwrap_tests.rs")
@@ -613,7 +809,17 @@
;; ~/... and 30 snapshot tests fail.
(setenv "HOME" "/tmp/guix-home")
(mkdir-p "/tmp/guix-home")
(setenv "USER" "nixbld"))))))
(setenv "USER" "nixbld")
;; Default libtest thread stack is 2 MiB, which is not
;; enough for tokio current_thread tests that drive
;; codex-core's full turn pipeline. Upstream gates such
;; tests through run_current_thread_test_with_stack (4 MiB)
;; in app-server/src/message_processor/tracing_tests.rs;
;; raise the global default so future additions that
;; forget the wrapper still pass.
(setenv "RUST_MIN_STACK" "8388608")
;; Disable network access.
(setenv "CODEX_SANDBOX_NETWORK_DISABLED" "1"))))))
(native-inputs `(("bubblewrap" ,bubblewrap) ;tests need bwrap on PATH
("clang" ,clang)
("cmake-minimal" ,cmake-minimal)

File diff suppressed because it is too large Load Diff

View File

@@ -148,13 +148,13 @@ system.")
(define-public r-duckdb
(package
(name "r-duckdb")
(version "1.5.1")
(version "1.5.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "duckdb" version))
(sha256
(base32 "177621m08whqqk4yhj3zrr08l3d9hhlqh3gm9jzhi5cplg47cksq"))
(base32 "1dldlfwvc33czvlxfmwaj4p9y6sjjj5iqy98yda47a8kclrqmyam"))
;; This package bundles the duckdb sources and builds a custom variant
;; of duckdb. I'd be happy to link it with our duckdb library instead,
;; but it does not seem possible to do that.

View File

@@ -781,6 +781,54 @@ balance windows (keeping them roughly the same size) whenever the window
configuration changes, e.g. after splitting or deleting a window.")
(license license:bsd-3))))
(define-public emacs-ben
(package
(name "emacs-ben")
(version "0.12.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/pastor/ben.el")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0iqrk87dl567vwpwm8rmplrpva475a04s6c34rm24xfy2m7wrwk6"))))
(build-system emacs-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-environment
(lambda _
;; Since the testsuite uses `direnv', the build needs a home
;; directory so `direnv' can allow the contents of the `.envrc`
;; files generated for the different tests.
(setenv "HOME" "/tmp")
(setenv "OFFLINE" "1") ;Enable offline tests.
(emacs-substitute-variables "ben.el"
("ben-direnv-executable"
#$(file-append (this-package-input "direnv")
"/bin/direnv"))))))))
(inputs (list direnv))
(propagated-inputs (list emacs-inheritenv))
(home-page "https://codeberg.org/pastor/ben.el")
(synopsis "Asynchronous buffer-local environments via @command{direnv}")
(description
"This package allows you to load environments buffer locally. The
package is named @command{ben}, which stands for Buffer ENvironments.
The project relies on @uref{https://direnv.net, direnv} which allows setting
per-directory environments through @file{.envrc} files.
The main improvement of @command{ben} over @command{envrc} is the asynchronous
processing of environments, which prevents Emacs from freezing. This is
especially useful while loading computationally heavy environments, such when
loading @file{.envrc} files that rely on Guix. In these cases, computations
can take hours to complete. This package aims to facilitate loading such
environments in the background.")
(license license:gpl3+)))
(define-public emacs-bookmark-plus
(package
(name "emacs-bookmark-plus")
@@ -39862,7 +39910,7 @@ user interfaces for various built-in modes.")
(define-public emacs-calibredb
(package
(name "emacs-calibredb")
(version "2.13.0")
(version "2.14.0")
(source
(origin
(method git-fetch)
@@ -39871,31 +39919,40 @@ user interfaces for various built-in modes.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1a4gyc3gcq18j29pw2i296d70nvx5fbzlw9fdmqwzncciqz5as6m"))))
(base32 "1g0jg6a6fgvxd5bsydckbqwf899d2d9732laz4k1k476mbws5dqy"))))
(build-system emacs-build-system)
(arguments
(list
#:include #~(cons "\\.py$" %default-include)
#:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(make-file-writable "calibredb-core.el")
(let ((calibredb (search-input-file inputs "/bin/calibredb"))
(fetch-ebook-metadata
(search-input-file inputs "/bin/fetch-ebook-metadata"))
(ebook-convert
(search-input-file inputs "/bin/ebook-convert"))
(calibre-debug
(search-input-file inputs "/bin/calibre-debug")))
(search-input-file inputs "/bin/calibre-debug"))
(ebook-meta
(search-input-file inputs "/bin/ebook-meta"))
(folder-program
(string-append #$output
"/share/emacs/site-lisp/calibredb-"
#$version "/calibredb-folder.py")))
(emacs-substitute-variables "calibredb-core.el"
("calibredb-fetch-metadata-program" fetch-ebook-metadata)
("calibredb-program" calibredb)
("calibredb-convert-program" ebook-convert)
("calibredb-debug-program" calibre-debug))))))))
("calibredb-debug-program" calibre-debug)
("calibredb-ebook-meta-program" ebook-meta)
("calibredb-folder-program" folder-program))))))))
(inputs
(list calibre))
(propagated-inputs
(list emacs-dash emacs-esxml emacs-s))
(list emacs-dash emacs-esxml emacs-request emacs-s))
(home-page "https://github.com/chenyanming/calibredb.el")
(synopsis "Yet another calibre client for Emacs")
(description "This package integrates calibre into Emacs.
@@ -41493,17 +41550,65 @@ time.")
(build-system emacs-build-system)
(arguments
(list
#:tests? #f ; requires cask
#:phases #~(modify-phases %standard-phases
;; Move the source files to the top level, which is
;; included in the EMACSLOADPATH.
(add-after 'unpack 'move-source-files
(lambda _
(let ((el-files (find-files "./lisp" ".*\\.el$")))
(for-each (lambda (f)
(rename-file f
(basename f)))
el-files)))))))
#:test-command #~(list "make" "tests")
#:phases
#~(modify-phases %standard-phases
;; Move the source files to the top level, which is
;; included in the EMACSLOADPATH.
(add-after 'unpack 'move-source-files
(lambda _
(let ((el-files (find-files "./lisp" ".*\\.el$")))
(for-each (lambda (f)
(rename-file f
(basename f)))
el-files))))
(add-before 'check 'fix-tests
(lambda _
(substitute* "Makefile"
(("cask") ""))
(substitute* "test/ert-helper.el"
(("lisp\\/") ""))))
(add-before 'check 'skip-failing-tests
(lambda _
(let-syntax
((disable-tests
(syntax-rules ()
((_ file ())
(syntax-error "test names list must not be empty"))
((_ file (test-name ...))
(substitute* file
(((string-append
"^\\(ert-deftest " test-name ".*") all)
(string-append all "(skip-unless nil)\n")) ...)))))
(disable-tests
"test/mastodon-profile-tests.el"
("mastodon-profile--add-author-bylines"
"mastodon-profile--make-author-buffer"))
(disable-tests
"test/mastodon-auth-tests.el"
("mastodon-auth--handle-token-response--good"
"mastodon-auth-plstore-token-check"))
(disable-tests
"test/mastodon-client-tests.el"
("mastodon-client--make-user-active"
"mastodon-client--store"
"mastodon-client--store-access-token"))
(disable-tests
"test/mastodon-tl-tests.el"
("mastodon-tl--byline-timestamp-has-relative-display"
"mastodon-tl--next-tab-item--no-spaces-at-ends"
"mastodon-tl--next-tab-item--with-spaces-at-ends"))
(disable-tests
"test/mastodon-media-tests.el"
("mastodon-media--get-avatar-rendering"
"mastodon-media--inline-images"
"mastodon-media--load-image-from-url-avatar-with-imagemagic"
"mastodon-media--load-image-from-url-avatar-without-imagemagic"
"mastodon-media--load-image-from-url-media-link-with-imagemagic"
"mastodon-media--load-image-from-url-media-link-without-imagemagic"
"mastodon-media--load-image-from-url-url-fetching-fails"
"mastodon-media--process-image-response"))))))))
(native-inputs (list emacs-el-mock))
(propagated-inputs
(list emacs-persist emacs-tp))
(home-page "https://codeberg.org/martianh/mastodon.el")

View File

@@ -425,14 +425,29 @@ hierarchical hexagonal geospatial indexing system")
(base32
"00qdk9a4048pzfj2rhzkfw3lvm642znf6kr4x29i3d94494pxsnn"))))
(build-system cmake-build-system)
(arguments `(#:phases
(modify-phases %standard-phases
(add-after
'unpack 'patch-test-shebangs
(lambda _
(substitute* '("tests/xmltester/testrunner.sh"
"tests/xmltester/safe_to_xml.sh")
(("/bin/sh") (which "sh"))))))))
(arguments
`(#:phases
(modify-phases %standard-phases
,@(if (or (target-x86-32?) (target-arm32?))
'((add-after 'unpack 'disable-broken-tests
(lambda _
;; This test fails due to limited accuracy.
(delete-file "tests/xmltester/tests/general/TestCentroid.xml")
(with-directory-excursion "tests/unit"
;; These also fail due to limited accuracy.
(delete-file "algorithm/MinimumAreaRectangleTest.cpp")
(delete-file "capi/GEOSMinimumRotatedRectangleTest.cpp")
;; It is unclear why these fail, but I'm guessing:
;; limited accuracy.
(delete-file "linearref/LengthIndexedLineTest.cpp")
(delete-file "math/DDTest.cpp")))))
'())
(add-after
'unpack 'patch-test-shebangs
(lambda _
(substitute* '("tests/xmltester/testrunner.sh"
"tests/xmltester/safe_to_xml.sh")
(("/bin/sh") (which "sh"))))))))
(inputs
(list glib))
(home-page "https://libgeos.org/")
@@ -955,6 +970,29 @@ hydrology and waste deposition.")
(base32
"03r6mspfv22fs4x4jcgv25v9gsj5k6zy8incvyf94qf50g47s2bc"))))
(build-system cmake-build-system)
(arguments
(if (target-32bit?)
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda _
;; These regression tests fail due to accuracy problems.
(substitute* "test/unit/test_factory.cpp"
(("^TEST\\(factory, AuthorityFactory_createUnitOfMeasure_linear_us_survey_foot\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
(substitute* "test/unit/test_grids.cpp"
(("^TEST_F\\(GridTest, VerticalShiftGridSet_gtx\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
(substitute* "test/unit/test_defmodel.cpp"
(("^TEST\\(defmodel, evaluator_horizontal_unit_metre\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
;; These regression tests fail due to accuracy problems.
(substitute* "test/CMakeLists.txt"
(("proj_add_gie_test\\(\"4D-API-cs2cs-style\".+") "")
(("proj_add_gie_test\\(\"Builtins\".+") "")
(("proj_add_gie_test\\(\"peirce_q\".+") ""))))))
'()))
(native-inputs (list googletest pkg-config))
(propagated-inputs (list curl libtiff sqlite)) ;required by proj.pc
(home-page "https://proj.org/")
@@ -984,7 +1022,34 @@ lets developers use the functionality of Proj in their own software.")
version ".tar.gz"))
(sha256
(base32
"1g0hkpiablvhsmw0kn5frwgdir3q7avc45p6lc1zhhhzkv5ikydh"))))))
"1g0hkpiablvhsmw0kn5frwgdir3q7avc45p6lc1zhhhzkv5ikydh"))))
(arguments
(if (target-32bit?)
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda _
;; These regression tests fail due to accuracy problems.
(substitute* "test/unit/test_factory.cpp"
(("^TEST\\(factory, AuthorityFactory_createUnitOfMeasure_linear_us_survey_foot\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
(substitute* "test/unit/test_grids.cpp"
(("^TEST_F\\(GridTest, VerticalShiftGridSet_gtx\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
(substitute* "test/unit/test_defmodel.cpp"
(("^TEST\\(defmodel, evaluator_horizontal_unit_metre\\) \\{" m)
(string-append m "\nGTEST_SKIP();\n")))
;; These regression tests fail due to accuracy problems.
(substitute* "test/CMakeLists.txt"
(("proj_add_gie_test\\(\"4D-API-cs2cs-style\".+") "")
(("proj_add_gie_test\\(\"Builtins\".+") "")
(("proj_add_gie_test\\(\"peirce_q\".+") "")
(("proj_add_gie_test\\(\"adams_ws2\".+") ""))
(substitute* "test/cli/CMakeLists.txt"
(("proj_add_test_script_sh\\(\"testvarious\" CS2CS_BIN\\)") ""))))))
'()))))
(define-public python-obspy
(package

View File

@@ -1,7 +1,4 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,44 +16,8 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages gkrellm)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
#:use-module (gnu packages monitoring)
#:use-module (guix deprecation))
(define-public gkrellm
(package
(name "gkrellm")
(version "2.5.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://gkrellm.srcbox.net/releases/gkrellm-"
version ".tar.bz2"))
(sha256
(base32 "0qvy2xmwmfy5f0g09yn9lr262shnx82ba04r5il2wj4qscg3r7h8"))))
(build-system gnu-build-system)
(inputs (list gtk+-2 libsm))
(native-inputs (list gettext-minimal pkg-config))
(arguments
(list
#:tests? #f ;there is no check target
#:phases
#~(modify-phases %standard-phases
(delete 'configure)) ;no configure script
#:make-flags
#~(list (string-append "INSTALLROOT=" #$output)
(string-append "CC=" #$(cc-for-target)))))
(home-page "https://gkrellm.srcbox.net/")
(synopsis "System monitors")
(description
"GKrellM is a single process stack of system monitors which supports
applying themes to match its appearance to your window manager, Gtk, or any
other theme.")
(license license:gpl3+)))
(define-deprecated/public-alias gkrellm
(@ (guix packages monitoring) gkrellm))

View File

@@ -245,6 +245,55 @@ go-fuzz-headers.")
@end itemize")
(license license:expat)))
(define-public go-github-com-alexkohler-prealloc
(package
(name "go-github-com-alexkohler-prealloc")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alexkohler/prealloc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "011i8yqzyjgwj17k44xvvg4bxfv8z20s0416r2d3yf4s3wqqygpq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alexkohler/prealloc"))
(home-page "https://github.com/alexkohler/prealloc")
(synopsis "Find slice declarations that could be preallocated")
(description
"This package is a Go static analysis tool to find slice declarations
that could potentially be preallocated.")
(license license:expat)))
(define-public go-github-com-alingse-asasalint
(package
(name "go-github-com-alingse-asasalint")
(version "0.0.11")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alingse/asasalint")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1avz33cx3gcpps26rxijv7ic0njfmsdkbcp2mqg5yxhdcpq57s0q"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/alingse/asasalint"))
(propagated-inputs
(list go-golang-org-x-tools))
(home-page "https://github.com/alingse/asasalint")
(synopsis "Lint pass any slice as any in variadic function")
(description
"Golang linter, lint that pass any slice as any in variadic function.")
(license license:expat)))
(define-public go-github-com-andreyvit-diff
(package
(name "go-github-com-andreyvit-diff")

View File

@@ -1600,7 +1600,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(define-public go-github-com-google-go-tpm
(package
(name "go-github-com-google-go-tpm")
(version "0.9.1")
(version "0.9.4")
(source
(origin
(method git-fetch)
@@ -1609,7 +1609,7 @@ RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1c5j5cvwl45ka93nknmv454ivd7kp9n8yql19gr6z01z0s1ph7sg"))))
(base32 "1sp1mbr6vz36zy9w36iksirbsj5p2jslsl8zs1cdj8s4ig4lkd9d"))))
(build-system go-build-system)
(arguments
(list

View File

@@ -456,6 +456,29 @@ penalization.")
FFT (Schonhage-Strassen method for multiplying integers).")
(license license:bsd-3)))
(define-public go-github-com-robinus2-golang-moving-average
(package
(name "go-github-com-robinus2-golang-moving-average")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/RobinUS2/golang-moving-average")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02z3ad29653fz7whxkjjpq820ig9j8m68xj4kay14jyazkr5in1f"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/RobinUS2/golang-moving-average"))
(home-page "https://github.com/RobinUS2/golang-moving-average")
(synopsis "Moving average implementation for Go")
(description
"This package provides a moving average implementation for Go.")
(license license:asl2.0)))
(define-public go-github-com-shopspring-decimal
(package
(name "go-github-com-shopspring-decimal")

View File

@@ -386,19 +386,25 @@ devices.")
;; - cloud.google.com/go/compute/metadata
;; - cloud.google.com/go/iam
;; - cloud.google.com/go/kms
;; - cloud.google.com/go/logging
;; - cloud.google.com/go/longrunning
;; - cloud.google.com/go/monitoring
;; - cloud.google.com/go/security
;; - cloud.google.com/go/spanner
;; - cloud.google.com/go/storage
;; - cloud.google.com/go/trace
(for-each delete-file-recursively
(list "auth"
"compute/metadata"
"iam"
"kms"
"logging"
"longrunning"
"monitoring"
"security"
"storage"))))))
"spanner"
"storage"
"trace"))))))
(build-system go-build-system)
(arguments
(list
@@ -440,7 +446,6 @@ devices.")
"pubsub/v2/internal/scheduler"
"pubsub/v2/internal/testutil"
"rpcreplay"
"spanner/spansql"
"translate")))
(propagated-inputs
(list ;; go-cloud-google-com-go-storage
@@ -695,6 +700,65 @@ Service (KMS) API.")
see: @url{https://cloud.google.com/iam, IAM specification} for more details.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-logging
(package
(name "go-cloud-google-com-go-logging")
(version "1.16.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "logging"))))
(file-name (git-file-name name version))
(sha256
(base32 "14khzbcymknsz4p40ibc8v1zsy33b33yn7fcvkfp4rkzw69wv356"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "logging")))))
(build-system go-build-system)
(arguments
(list
#:import-path "cloud.google.com/go/logging"
#:unpack-path "cloud.google.com/go"))
(native-inputs
;; XXX: Remove when cycle is fixed.
(list go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go
go-cloud-google-com-go-compute-metadata
go-cloud-google-com-go-iam
go-cloud-google-com-go-longrunning
go-cloud-google-com-go-storage
go-github-com-google-go-cmp
go-github-com-googleapis-gax-go-v2
go-go-opencensus-io
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Cloud Logging API")
(description
"Package logging contains a Cloud Logging client suitable for writing
logs. For reading logs, and working with sinks, metrics and monitored
resources, see package cloud.google.com/go/logging/logadmin.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-longrunning
(package
(name "go-cloud-google-com-go-longrunning")
@@ -832,6 +896,78 @@ its service definition.")
"This package provides a Go Client Library for Certificate Authority API.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-spanner
(package
(name "go-cloud-google-com-go-spanner")
(version "1.91.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "spanner"))))
(file-name (git-file-name name version))
(sha256
(base32 "05jgalbqb9n1whlpdkj40rvyk8lg39q5w4l463ycsj2301pmr90h"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "spanner")))))
(build-system go-build-system)
(arguments
(list
#:import-path "cloud.google.com/go/spanner"
#:unpack-path "cloud.google.com/go"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-benchmarks
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "benchmarks")))))))
(native-inputs
(list go-github-com-google-go-cmp
;; XXX: Remove when cycle is fixed.
go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go
go-cloud-google-com-go-iam
go-cloud-google-com-go-longrunning
go-cloud-google-com-go-monitoring
go-github-com-google-uuid
go-github-com-googleapis-gax-go-v2
go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp
go-go-opencensus-io
go-go-opentelemetry-io-contrib-detectors-gcp
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-golang-org-x-sync
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Cloud Spanner databases Go client")
(description
"Package spanner provides a client for reading and writing to Cloud
Spanner databases. See
@url{https://cloud.google.com/spanner/docs/getting-started/go/} for an
introduction to Cloud Spanner and additional help on using this API.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-storage
(package
(name "go-cloud-google-com-go-storage")
@@ -897,6 +1033,59 @@ Google Cloud Storage stores data in named objects, which are grouped into
buckets.")
(license license:asl2.0)))
(define-public go-cloud-google-com-go-trace
(package
(name "go-cloud-google-com-go-trace")
(version "1.14.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/googleapis/google-cloud-go")
(commit (go-version->git-ref version #:subdir "trace"))))
(file-name (git-file-name name version))
(sha256
(base32 "14khzbcymknsz4p40ibc8v1zsy33b33yn7fcvkfp4rkzw69wv356"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "trace")))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "cloud.google.com/go/trace"
#:unpack-path "cloud.google.com/go"))
(propagated-inputs
(list go-github-com-googleapis-gax-go-v2
go-google-golang-org-api
go-google-golang-org-genproto
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://cloud.google.com/go")
(synopsis "Go Client Library for Cloud Trace API")
(description
"This package implements the @url{https://cloud.google.com/stackdriver,
Stackdriver} Trace API in Golang. Stackdriver Trace is a distributed tracing
system that collects latency data from your applications and displays it in
the Google Cloud Platform Console.
It sends application trace data to Stackdriver Trace for viewing. Trace data
is collected for all App Engine applications by default. Trace data from
other applications can be provided using this API. This library is used to
interact with the Trace API directly.")
(license license:asl2.0)))
(define-public go-code-gitea-io-sdk-gitea
(package
(name "go-code-gitea-io-sdk-gitea")
@@ -1406,6 +1595,39 @@ AWS Lambda and API Gateway or ALB without changing the existing HTTP
handlers.")
(license license:asl2.0)))
(define-public go-github-com-akutz-memconn
(package
(name "go-github-com-akutz-memconn")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/akutz/memconn")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1mhghzcx2zxr4bpyf4wx3j7ph9srw38wxg78svwbjh930r2kzssq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/akutz/memconn"
#:test-flags
#~(list "-skip" (string-join
;; Tests fail with insecure algorithm
(list "TestTLS_Memu"
"TestTLS_Memb"
"TestTLS_TCP"
"TestTLS_UNIX"
"TestTLS_HTTP_Memu"
"TestTLS_HTTP_Memb")
"|"))))
(home-page "https://github.com/akutz/memconn")
(synopsis "In-memory network stack for Go")
(description
"This package provides named, in-memory network connections for Go.")
(license license:asl2.0)))
(define-public go-github-com-alexliesenfeld-health
(package
(name "go-github-com-alexliesenfeld-health")
@@ -3595,6 +3817,33 @@ differentiate between installs of Mozilla software in @code{installs.ini} and
"TestStructToDateTime")
"|"))))))
(define-public go-github-com-brunoscheufler-aws-ecs-metadata-go
(package
(name "go-github-com-brunoscheufler-aws-ecs-metadata-go")
(version "0.0.0-20221221133751-67e37ae746cd")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/BrunoScheufler/aws-ecs-metadata-go")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "1x9kn49sl6793zqq4nrbsyfhqh7i3xr25syck2ybpcqkd3mmb8k6"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/brunoscheufler/aws-ecs-metadata-go"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://github.com/brunoscheufler/aws-ecs-metadata-go")
(synopsis "Retrieve AWS ECS Task metadata")
(description
"This package provides a minimal wrapper library to fetch
@acronym{Elastic Container Service, ECS} Task metadata from any Go service
running in container provisioned by AWS Fargate.")
(license license:expat)))
(define-public go-github-com-buger-jsonparser
(package
(name "go-github-com-buger-jsonparser")
@@ -6166,7 +6415,7 @@ application's http.Handlers.")
(define-public go-github-com-files-com-files-sdk-go-v3
(package
(name "go-github-com-files-com-files-sdk-go-v3")
(version "3.3.7")
(version "3.3.95")
(source
(origin
(method git-fetch)
@@ -6175,7 +6424,7 @@ application's http.Handlers.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1syx75vbamwrx5x5glf4542ml8myj9kqqkig8hmy97lhzq4d4n7a"))))
(base32 "19mxsybv9lyq57nf5xvll41g7f6z90lq9hrdx1p4w20mj0f51wyj"))))
(build-system go-build-system)
(arguments
(list
@@ -6191,7 +6440,6 @@ application's http.Handlers.")
go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-appscode-go-querystring
go-github-com-bradfitz-iter
go-github-com-chilts-sid
go-github-com-dustin-go-humanize
go-github-com-hashicorp-go-retryablehttp
@@ -6201,6 +6449,7 @@ application's http.Handlers.")
go-github-com-sabhiram-go-gitignore
go-github-com-samber-lo
go-github-com-winfsp-cgofuse
go-golang-org-x-sync
go-golang-org-x-sys
go-golang-org-x-text
go-moul-io-http2curl-v2))
@@ -8245,6 +8494,51 @@ Terraform by using the enterprise certificates feature.")
for clients and servers based on @code{gRPC} and Google API conventions.")
(license license:bsd-3)))
(define-public go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp
(package
(name "go-github-com-googlecloudplatform-grpc-gcp-go-grpcgcp")
(version "1.6.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/grpc-gcp-go")
(commit (go-version->git-ref version #:subdir "grpcgcp"))))
(file-name (git-file-name name version))
(sha256
(base32 "0p7zwbi6gg99mzi7albscf7jn63qxs714h6vars735an13bbvl12"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.25
#:import-path "github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp"
#:unpack-path "github.com/GoogleCloudPlatform/grpc-gcp-go"
;; gcp_multiendpoint_test.go:441: endpoint wanted "localhost:50051", got
;; "127.0.0.3:50051"
#:test-flags #~(list "-skip" "TestGCPMultiEndpoint")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
;; See: <https://go.dev/blog/synctest>.
(setenv "GOEXPERIMENT" "synctest")
(setenv "GODEBUG" "asynctimerchan=0"))))))
(native-inputs
(list go-github-com-golang-mock
go-github-com-google-go-cmp))
(propagated-inputs
(list go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk-metric
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/grpc-gcp-go")
(synopsis "Grpc supports for Google Cloud APIs")
(description
"Package grpcgcp provides gRPC supports for Google Cloud APIs. For now
it provides connection management with affinity support.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp
(package
(name
@@ -8334,6 +8628,110 @@ testing of the detection functions in real GCP environments.")
send collected metrics to Google Cloud.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace")
(version "1.32.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(commit (go-version->git-ref version #:subdir "exporter/trace"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nizaaydcvvi718g5v4pgx8in6d546mmkrf7h3sxhz2yyyygvms3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "exporter" "trace")
(delete-all-but "." "exporter")))))
(build-system go-build-system)
(arguments
(list
#:import-path
(string-append "github.com/GoogleCloudPlatform/"
"opentelemetry-operations-go/exporter/trace")
#:unpack-path
"github.com/GoogleCloudPlatform/opentelemetry-operations-go"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-cloud-google-com-go-trace
go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock
go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-golang-org-x-oauth2
go-google-golang-org-api
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(synopsis "OpenTelemetry Google Cloud Trace Exporter")
(description
"@code{OpenTelemetry} Google Cloud Trace Exporter allows the user to send
collected traces and spans to Google Cloud.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-cloudmock")
(version "0.56.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(commit (go-version->git-ref version
#:subdir "internal/cloudmock"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nizaaydcvvi718g5v4pgx8in6d546mmkrf7h3sxhz2yyyygvms3"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "internal" "cloudmock")
(delete-all-but "." "internal")))))
(build-system go-build-system)
(arguments
(list
#:import-path
(string-append "github.com/GoogleCloudPlatform/"
"opentelemetry-operations-go/internal/cloudmock")
#:unpack-path
"github.com/GoogleCloudPlatform/opentelemetry-operations-go"))
(propagated-inputs
(list go-cloud-google-com-go-logging
go-cloud-google-com-go-monitoring
go-cloud-google-com-go-trace
go-google-golang-org-genproto-googleapis-api
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
(synopsis "OpenTelemetry Google Cloud mock library")
;; XXX: There is not any documentation for this package upstrream.
(description
"This package provides OpenTelemetry Google Cloud mock Go library.")
(license license:asl2.0)))
(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping
(package
(name "go-github-com-googlecloudplatform-opentelemetry-operations-go-internal-resourcemapping")
@@ -9803,6 +10201,55 @@ protocol) - used to discover UPnP services on a network
by the IBM Cloud @code{OpenAPI} SDK Generator (openapi-sdkgen).")
(license license:asl2.0)))
(define-public go-github-com-ibm-sarama
(package
(name "go-github-com-ibm-sarama")
(version "1.48.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/IBM/sarama")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ak07aqb9hznvhbnkw34vak30pzbwvh2aff22lww8gcba4c9qdn7"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/IBM/sarama"
#:unpack-path "github.com/IBM/sarama"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
(lambda* (#:key tests? unpack-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" unpack-path)
(delete-file-recursively "examples")))))))
(native-inputs
(list go-github-com-stretchr-testify
go-github-com-davecgh-go-spew
go-go-uber-org-goleak))
(propagated-inputs
(list go-github-com-eapache-go-resiliency
go-github-com-eapache-queue
go-github-com-jcmturner-gofork
go-github-com-jcmturner-gokrb5-v8
go-github-com-klauspost-compress
go-github-com-pierrec-lz4-v4
go-github-com-rcrowley-go-metrics
go-golang-org-x-net
go-golang-org-x-sync
go-golang-org-x-sys))
(home-page "https://github.com/IBM/sarama")
(synopsis "Go library for Apache Kafka")
(description
"Package sarama is a pure Go client library for dealing with Apache Kafka
(versions 0.8 and later). It includes a high-level API for easily producing
and consuming messages, and a low-level API for controlling bytes on the wire
when the high-level API is insufficient. Usage examples for the high-level
APIs are provided inline with their full documentation.")
(license license:expat)))
(define-public go-github-com-igungor-gofakes3
(package
(name "go-github-com-igungor-gofakes3")
@@ -13629,24 +14076,24 @@ standard library.")
(build-system go-build-system)
(arguments
(list
;; TODO: Enable tests and build when all missing inputs are packages, use
;; as source only package for Kubo.
#:skip-build? #t
#:tests? #f
#:import-path "github.com/openzipkin/zipkin-go"))
#:import-path "github.com/openzipkin/zipkin-go"
;; span_test.go:56: expected valid endpoint, got error: host lookup
;; failure: lookup www.google.com on [::1]:53: read udp
;; [::1]:56302->[::1]:53: read: connection refused
#:test-flags #~(list "-skip" "TestRemoteEndpoint|TestHTTPClient")))
(native-inputs
(list go-github-com-onsi-ginkgo-v2
go-github-com-onsi-gomega))
(propagated-inputs
(list ;; go-github-com-ibm-sarama
;; go-github-com-rabbitmq-amqp091-go
(list go-github-com-ibm-sarama
go-github-com-rabbitmq-amqp091-go
go-google-golang-org-grpc
go-google-golang-org-protobuf))
(home-page "https://github.com/openzipkin/zipkin-go")
(synopsis "Zipkin Library for Go")
(description
"Package zipkin implements a native Zipkin instrumentation library for
Go.")
Go. @url{https://zipkin.io/, Zipkin} is a distributed tracing system.")
(license license:asl2.0)))
(define-public go-github-com-oracle-oci-go-sdk-v65
@@ -15574,6 +16021,38 @@ currently implements
of the specification.")
(license license:expat)))
(define-public go-github-com-rabbitmq-amqp091-go
(package
(name "go-github-com-rabbitmq-amqp091-go")
(version "1.11.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rabbitmq/amqp091-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1xn0ykx08l8gg66qk6jhz2md4as8n9fqm0smzcbislyqp4d3gpr8"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/rabbitmq/amqp091-go"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "_examples")))))))
(native-inputs
(list go-go-uber-org-goleak))
(home-page "https://github.com/rabbitmq/amqp091-go")
(synopsis "Go RabbitMQ Client Library")
(description
"Package amqp091 is an @acronym{Advanced Message Queuing Protocol, AMQP}
0.9.1 client with @code{RabbitMQ} extensions.")
(license license:bsd-2)))
(define-public go-github-com-rasky-go-xdr
(package
(name "go-github-com-rasky-go-xdr")
@@ -16233,6 +16712,7 @@ and consumers to transparently record signed metadata to a ledger.")
#:test-subdirs
#~(list "internal/algorithmregistry"
"internal/safeint"
"pkg/client/read"
"pkg/client/write"
"pkg/types/dsse"
"pkg/types/hashedrekord"
@@ -16247,7 +16727,8 @@ and consumers to transparently record signed metadata to a ledger.")
go-github-com-stretchr-testify
go-sigs-k8s-io-release-utils))
(propagated-inputs
(list go-cloud-google-com-go-storage
(list go-cloud-google-com-go-spanner
go-cloud-google-com-go-storage
go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-credentials
@@ -16264,12 +16745,14 @@ and consumers to transparently record signed metadata to a ledger.")
go-github-com-sigstore-sigstore
;; go-github-com-sigstore-sigstore-go ;cycles
go-github-com-sigstore-sigstore-pkg-signature-kms-aws
go-github-com-chainguard-dev-clog
go-github-com-sigstore-sigstore-pkg-signature-kms-gcp
go-github-com-tink-crypto-tink-go-awskms-v2
go-github-com-tink-crypto-tink-go-gcpkms-v2
go-github-com-tink-crypto-tink-go-v2
go-github-com-transparency-dev-formats
go-github-com-transparency-dev-merkle
go-github-com-transparency-dev-tessera
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-prometheus
go-go-opentelemetry-io-otel-sdk-metric
@@ -16283,9 +16766,6 @@ and consumers to transparently record signed metadata to a ledger.")
go-k8s-io-klog-v2
;; TODO: Complete packaging.
;; go-cloud-google-com-go-spanner
;; go-github-com-chainguard-dev-clog
;; go-github-com-transparency-dev-tessera
#;go-go-step-sm-crypto))
(home-page "https://github.com/sigstore/rekor-tiles")
(synopsis "Tile-based transparency log for Sigstore")
@@ -17917,7 +18397,95 @@ caching protocol. It provides support to programmatically store and retrieve
build caches, instead of relying on the standard actions/cache YAML step.")
(license license:expat)))
(define-public go-github-com-transparency-dev-tessera
(package
(name "go-github-com-transparency-dev-tessera")
(version "1.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/transparency-dev/tessera")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "101y83j67g7r1bqk49qj8mwxgys88wkxz5lf7pvjp4c6b10w5gck"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/transparency-dev/tessera"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-access-to-state-tree-state
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(make-file-writable "testdata/log/.state/treeState.lock"))))
(add-after 'check 'remove-testdata
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "testdata")))))))
(native-inputs
(list strace
;; XXX: Remove when cycle is fixed.
go-github-com-envoyproxy-go-control-plane))
(propagated-inputs
(list go-cloud-google-com-go-spanner
go-cloud-google-com-go-storage
go-github-com-avast-retry-go-v4
go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-credentials
go-github-com-aws-aws-sdk-go-v2-service-s3
go-github-com-aws-smithy-go
go-github-com-bitfield-script
go-github-com-cenkalti-backoff-v5
go-github-com-charmbracelet-bubbletea
go-github-com-charmbracelet-lipgloss
go-github-com-dgraph-io-badger-v4
go-github-com-dustin-go-humanize
go-github-com-gdamore-tcell-v2
go-github-com-go-sql-driver-mysql
go-github-com-google-go-cmp
go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-metric
go-github-com-googlecloudplatform-opentelemetry-operations-go-exporter-trace
go-github-com-hashicorp-golang-lru-v2
go-github-com-muesli-termenv
go-github-com-rivo-tview
go-github-com-robinus2-golang-moving-average
go-github-com-transparency-dev-formats
go-github-com-transparency-dev-merkle
go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2
go-go-opentelemetry-io-contrib-detectors-aws-ecs
go-go-opentelemetry-io-contrib-detectors-gcp
go-go-opentelemetry-io-contrib-propagators-aws
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-otlp-otlpmetric-otlpmetricgrpc
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-golang-org-x-crypto
go-golang-org-x-exp
go-golang-org-x-mod
go-golang-org-x-net
go-golang-org-x-sync
go-golang-org-x-time
go-google-golang-org-api
go-google-golang-org-grpc
go-k8s-io-klog-v2))
(home-page "https://github.com/transparency-dev/tessera")
(synopsis "Go library for building tile-based transparency logs (tlogs)")
(description
"Tessera is a Go library for building tile-based transparency logs (tlogs).
It is the logical successor to the approach
@url{https://github.com/google/trillian, Trillian v1} takes in building and
operating logs. The implementation and its APIs bake-in current
best-practices based on the lessons learned over the past decade of building
and operating transparency logs in production environments and at scale.")
(license license:asl2.0)))
(define-public go-github-com-tv42-httpunix
(let ((commit "2ba4b9c3382c77e7b9ea89d00746e6111d142a22")
(revision "0"))
(package
@@ -19686,6 +20254,101 @@ lists)
"Package sdk provides an auto-instrumentable @code{OpenTelemetry} SDK.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2
(package
(name "go-go-opentelemetry-io-contrib-detectors-aws-ec2-v2")
(version "2.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go-contrib")
(commit (go-version->git-ref version
#:subdir "detectors/aws/ec2"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nh7g1zxr3drqcbhsnnkqaz2hn1rnawg8jalixng23c9hwfgqaly"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "detectors/aws" "ec2")
(delete-all-but "detectors" "aws")
(delete-all-but "." "detectors")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/contrib/detectors/aws/ec2/v2"
#:unpack-path "go.opentelemetry.io/contrib"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-aws-aws-sdk-go-v2
go-github-com-aws-aws-sdk-go-v2-config
go-github-com-aws-aws-sdk-go-v2-feature-ec2-imds
go-github-com-aws-smithy-go
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk))
(home-page "https://github.com/open-telemetry/opentelemetry-go-contrib")
(synopsis "Resource detector for EC2 instances")
(description
"Package ec2 provides a resource detector for @acronym{Amazon Elastic
Compute Cloud, EC2} instances using @code{aws-sdk-go-v2}.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-aws-ecs
(package
(name "go-go-opentelemetry-io-contrib-detectors-aws-ecs")
(version "1.43.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go-contrib")
(commit (go-version->git-ref version
#:subdir "detectors/aws/ecs"))))
(file-name (git-file-name name version))
(sha256
(base32 "0nh7g1zxr3drqcbhsnnkqaz2hn1rnawg8jalixng23c9hwfgqaly"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "detectors/aws" "ecs")
(delete-all-but "detectors" "aws")
(delete-all-but "." "detectors")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/contrib/detectors/aws/ecs"
#:unpack-path "go.opentelemetry.io/contrib"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-brunoscheufler-aws-ecs-metadata-go
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-sdk))
(home-page "https://go.opentelemetry.io/contrib")
(synopsis "OTLP resource detector for AWS ECS instances")
(description
"Package ecs provides a resource detector for AWS @acronym{Elastic
Container Service, ECS} instances.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-contrib-detectors-gcp
(package
(name "go-go-opentelemetry-io-contrib-detectors-gcp")
@@ -20289,7 +20952,7 @@ protobuf payloads.")
(define-public go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
(package
(name "go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc")
(version "1.36.0")
(version "1.43.0")
(source
(origin
(method git-fetch)
@@ -20299,15 +20962,12 @@ protobuf payloads.")
#:subdir "exporters/otlp/otlptrace/otlptracegrpc"))))
(file-name (git-file-name name version))
(sha256
(base32 "1kvfbqc56p1h9rh9cvgn37ya6k10613r0f2rhjiwrrkgs2mszk30"))
(base32 "0583dw99k25k07pnq8hhhb45kwqhsx30lbk9yxsh4m50ji65wl8h"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
;; XXX: 'delete-all-but' is copied from the turbovnc package.
;; Consider implementing it as a reusable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
@@ -20315,23 +20975,27 @@ protobuf payloads.")
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "exporters/otlp/otlptrace" "otlptracegrpc")
(delete-all-but "exporters/otlp" "otlptrace")
(delete-all-but "." "exporters")))))
(build-system go-build-system)
(arguments
(list
;; TODO: Enable when all missing inputs are available, use as source
;; only package for Boxo.
#:skip-build? #t
#:tests? #f
#:import-path
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
#:unpack-path "go.opentelemetry.io/otel"))
(native-inputs
(list go-github-com-stretchr-testify))
(list go-github-com-stretchr-testify
go-go-uber-org-goleak))
(propagated-inputs
(list go-github-com-cenkalti-backoff-v5
go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-exporters-otlp-otlptrace
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-metric-x
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-sdk-metric
go-go-opentelemetry-io-otel-trace
go-go-opentelemetry-io-proto-otlp
go-go-uber-org-goleak
go-google-golang-org-genproto-googleapis-rpc
go-google-golang-org-grpc
go-google-golang-org-protobuf))
@@ -20646,6 +21310,50 @@ logging library. Instead, install one of the bridges listed in the
"Package metric provides an implementation of the metric part of the
OpenTelemetry API.")))
(define-public go-go-opentelemetry-io-otel-metric-x
(package
(name "go-go-opentelemetry-io-otel-metric-x")
(version "0.0.0-20260424084752-468c62dac625")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/open-telemetry/opentelemetry-go")
(commit (go-version->git-ref version #:subdir "metric/x"))))
(file-name (git-file-name name version))
(sha256
(base32 "16x0aw116dadi73vzh8bcwasy79sblvh6k1q7yfx8n841x48ry8r"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "metric" "x")
(delete-all-but "." "metric")))))
(build-system go-build-system)
(arguments
(list
#:import-path "go.opentelemetry.io/otel/metric/x"
#:unpack-path "go.opentelemetry.io/otel"))
(propagated-inputs
(list go-go-opentelemetry-io-otel
go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-trace))
(home-page "https://github.com/open-telemetry/opentelemetry-go")
(synopsis "Experimental Metric Options")
(description
"This package contains experimental options for the OpenTelemetry metric
package. These options are currently under development and not part of the
stable API. They may be changed in backwards-incompatible ways, or removed
entirely.")
(license license:asl2.0)))
(define-public go-go-opentelemetry-io-otel-sdk
(package
(name "go-go-opentelemetry-io-otel-sdk")
@@ -22770,6 +23478,34 @@ carries no encryption keys and cannot decode the traffic that it proxies.")))
(propagated-inputs '())
(inputs '())))
(define-public sarama-tools
(package/inherit go-github-com-ibm-sarama
(name "sarama-tools")
(arguments
(substitute-keyword-arguments arguments
((#:install-source? _ #t) #f)
((#:skip-build? _ #t) #f)
((#:tests? _ #t) #f)
((#:import-path _) "github.com/IBM/sarama/tools/...")))
(native-inputs (package-propagated-inputs go-github-com-ibm-sarama))
(propagated-inputs '())
(inputs '())
(description
"This package contains applications that are useful for exploration of
Kafka cluster, or instrumentation. Some of these tools mirror tools that ship
with Kafka, but these tools won't require installing the JVM to function.
@itemize
@item @command{kafka-console-producer}: a command line tool to produce a
single message to your Kafka custer.
@item @command{kafka-console-partitionconsumer}: a command line
tool to consume a single partition of a topic on your Kafka cluster.
@item @command{kafka-console-consumer}: a command line tool to consume
arbitrary partitions of a topic on your Kafka cluster.
@item @command{kafka-producer-performance}: a command line tool to performance
test producers (sync and async) on your Kafka cluster.
@end itemize")))
(define-public snowflake-proxy
(package/inherit
go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-snowflake-v2

View File

@@ -525,6 +525,35 @@ file along with an index.html file.")
"Package tcell provides a gruid Driver for making terminal apps.")
(license license:isc)))
(define-public go-codeberg-org-chavacava-garif
(package
(name "go-codeberg-org-chavacava-garif")
(version "0.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/chavacava/garif.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0cz037yb9gnk9fd61pni6m0n9cbrwmlxxija5vm91mplyxlih05h"))))
(build-system go-build-system)
(arguments
(list
#:import-path "codeberg.org/chavacava/garif"))
(native-inputs
(list go-github-com-stretchr-testify))
(home-page "https://codeberg.org/chavacava/garif")
(synopsis "Create and manipulate SARIF logs")
(description
"This package defines all the Go structures required to model a log file.
SARIF, from Static Analysis Results Interchange Format, is a standard
JSON-based format for the output of static analysis tools defined and promoted
by @url{https://www.oasis-open.org/, OASIS}.")
(license license:expat)))
(define-public go-codeberg-org-emersion-go-scfg
(package
(name "go-codeberg-org-emersion-go-scfg")
@@ -613,6 +642,33 @@ recursively any exported one. It also won't merge structs inside
maps (because they are not addressable using Go reflection).")
(license license:bsd-3)))
(define-public go-fyne-io-systray
(package
(name "go-fyne-io-systray")
(version "1.11.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fyne-io/systray")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0yrd4f3n8wrqcqradmqq9w0b31hd5hali876xkynfhm3nhaz4j1i"))))
(build-system go-build-system)
(arguments
(list
#:import-path "fyne.io/systray"))
(propagated-inputs
(list go-github-com-godbus-dbus-v5
go-golang-org-x-sys))
(home-page "https://fyne.io/systray/")
(synopsis "Place an icon and menu in the notification area")
(description
"This package is a cross-platform Go library to place an icon and menu in
the notification area.")
(license license:asl2.0)))
(define-public go-git-sr-ht-rjarry-go-opt
(package
(name "go-git-sr-ht-rjarry-go-opt")
@@ -2981,6 +3037,38 @@ input from the terminal while not echoing the input back (similar to
and is therefore compatible with cross-compiling.")
(license license:expat)))
(define-public go-github-com-bitfield-script
(package
(name "go-github-com-bitfield-script")
(version "0.24.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bitfield/script")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pzmz7n39sh9sprclzd0m0l0flf626286fh51m065yjhkqzrjw89"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/bitfield/script"
#:test-flags #~(list "-vet=off")))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs
(list go-github-com-itchyny-gojq
go-github-com-rogpeppe-go-internal
go-mvdan-cc-sh-v3))
(home-page "https://github.com/bitfield/script")
(synopsis "Making it easy to write shell-like scripts in Go")
(description
"Package script aims to make it easy to write shell-type scripts in Go,
for general system administration purposes: reading files, counting lines,
matching strings, and so on.")
(license license:expat)))
(define-public go-github-com-bitly-go-hostpool
(package
(name "go-github-com-bitly-go-hostpool")
@@ -4433,6 +4521,34 @@ over strings.")
@code{https://en.wikipedia.org/wiki/WebP, WebP} images.")
(license license:bsd-3)))
(define-public go-github-com-chainguard-dev-clog
(package
(name "go-github-com-chainguard-dev-clog")
(version "1.8.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/chainguard-dev/clog")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0b95vw8czs2r9lscyi85vppbyqj672zm6z2n9siy1s9yv6fkys62"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/chainguard-dev/clog"))
(home-page "https://github.com/chainguard-dev/clog")
(synopsis "Context aware slog")
(description
"This package provides a context-aware Go std lib
@url{https://pkg.go.dev/log/slog, @code{slog}}. The context Logger can be
used to use Loggers from the context. This is sometimes preferred over the
@url{https://github.com/chainguard-dev/clog#context-handler, Context Handler},
since this can make it easier to use different loggers in different
contexts (e.g. testing).")
(license license:asl2.0)))
(define-public go-github-com-charlievieth-fastwalk
(package
(name "go-github-com-charlievieth-fastwalk")
@@ -8967,6 +9083,41 @@ sub-interfaces are also provided for cases where the full Channel interface
cannot be met (for example, @code{InChannel} for write-only channels).")
(license license:expat)))
(define-public go-github-com-eapache-go-resiliency
(package
(name "go-github-com-eapache-go-resiliency")
(version "1.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/eapache/go-resiliency")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07a1r3c2spd37k3riy4fxz8v8ibxiprf8a3vw788whz4mlp6gm40"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/eapache/go-resiliency"))
(home-page "https://github.com/eapache/go-resiliency")
(synopsis "Resiliency patterns for golang")
(description
"Resiliency patterns for golang. Based in part on
@url{https://github.com/Netflix/Hystrix, Hystrix},
@@url{https://github.com/Shopify/semian, Semian}, and others.
Currently implemented patterns include:
@itemize
@item circuit-breaker
@item semaphore
@item deadline/timeout
@item batching
@item retriable
@end itemize")
(license license:expat)))
(define-public go-github-com-eapache-queue
(package
(name "go-github-com-eapache-queue")
@@ -30438,8 +30589,8 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
;; to build NNCP and remove vendor) dependency for Golang. Full build depends
;; on Bazel <https://bazel.build/>.
(define-public go-gvisor-dev-gvisor
(let ((commit "634ce95eed8d5b8e6b3e2ea30542c34cb30af148")
(revision "0"))
(let ((commit "9414b50a5633100fd7299a5a7998742575dcb669")
(revision "1"))
(package
(name "go-gvisor-dev-gvisor")
(version (git-version "0.0.0" revision commit))
@@ -30451,7 +30602,7 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1l3si6qlchwgsvaq6lxyvj8iq8n8pqxlayb1hbdf3pynxi52hfkw"))))
(base32 "0vqaclb2ignkcs7n463bj349m0xybdsv71i6afhzh8r05hdywzax"))))
(build-system go-build-system)
(arguments
(list

View File

@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2014-2019, 2021, 2026 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021, 2026 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2022 Marius Bakke <marius@gnu.org>
@@ -226,6 +226,18 @@ JNI.")
(setenv "JAVACMD" (search-input-file inputs "/bin/jamvm"))
(setenv "JAVAC" (search-input-file inputs "/bin/jikes"))
(setenv "CLASSPATH" (search-input-file inputs "/lib/rt.jar"))))
,@(if (target-x86-32?)
;; XXX: On i686 isFile() always seems to return true. Patching
;; this here is very ugly, but the effects are limited. None
;; of these changes remain by the time we've built Icedtea and
;; the other JDKs.
'((add-after 'unpack 'disable-isFile-checks
(lambda _
(substitute* "src/main/org/apache/tools/ant/util/ResourceUtils.java"
(("destFile = \\(\\(FileProvider\\).*") ""))
(substitute* "src/main/org/apache/tools/ant/taskdefs/Mkdir.java"
(("dir.isFile\\(\\)") "false")))))
'())
(replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Ant complains if this file doesn't exist.

View File

@@ -1285,7 +1285,13 @@ new Date();"))))
;; It looks like the "--disable-warnings-as-errors" option of
;; the 'configure' phase is not working.
(substitute* "make/autoconf/generated-configure.sh"
(("-Werror") ""))))))
(("-Werror") ""))))
#$@(if (target-x86-32?)
;; On i686 the C2 compiler sometimes crashes when importing
;; certificates.
#~((add-before 'install-keystore 'disable-C2-compiler
(lambda _ (setenv "_JAVA_OPTIONS" "-XX:TieredStopAtLevel=1"))))
#~())))
((#:disallowed-references refs '())
(cons* (this-package-native-input "openjdk")
(gexp-input (this-package-native-input "openjdk") "jdk")
@@ -1844,12 +1850,50 @@ blacklisted.certs.pem"
(define-public openjdk24
(make-openjdk
openjdk23 "24.0.1"
"0h6sbzbjyqg85iml41pswdh2z3d7h2hhb0sd5yll37r1mj5lsxmx"))
"0h6sbzbjyqg85iml41pswdh2z3d7h2hhb0sd5yll37r1mj5lsxmx"
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:configure-flags flags #~(list))
(if (target-x86-32?)
#~(cons* "--enable-deprecated-ports=yes" #$flags)
flags))))))
(define-public openjdk25
(make-openjdk
openjdk24 "25.0.2"
"03aa34lscr3qbdl6qz3gqyp0nzkqfj02362mzmpkiq3y2g5xdnrj"))
"03aa34lscr3qbdl6qz3gqyp0nzkqfj02362mzmpkiq3y2g5xdnrj"
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:configure-flags flags #~(list))
(if (target-x86-32?)
;; Full builds on 32-bit x86 architectures are not supported as of
;; this version. Best we can do is to build with the "zero" variant.
#~(cons* "--with-jvm-variants=zero"
"--disable-precompiled-headers"
#$flags)
flags))
((#:phases phases #~%standard-phases)
(if (target-x86-32?)
#~(modify-phases #$phases
(replace 'install
(lambda _
(let ((images (car (find-files "build" "-zero-release"
#:directories? #t))))
(copy-recursively (string-append images "/images/jdk")
#$output:jdk)
(copy-recursively (string-append images "/images/jre")
#$output)
(copy-recursively (string-append images "/images/docs")
#$output:doc))))
(replace 'install-libjvm
(lambda _
(let ((lib-out (string-append #$output "/lib"))
(lib-jdk (string-append #$output:jdk "/lib")))
(symlink (string-append lib-jdk "/zero/libjvm.so")
(string-append lib-jdk "/libjvm.so"))
(symlink (string-append lib-out "/zero/libjvm.so")
(string-append lib-out "/libjvm.so"))))))
phases))))))
;;; Convenience alias to point to the latest version of OpenJDK.
(define-public openjdk openjdk25)

View File

@@ -125,14 +125,14 @@
;; ex:
;; tar xf /gnu/store/...-firefox-123.4.source.tar.xz -O \
;; firefox-123.4/browser/locales/l10n-changesets.json | grep revision
(let ((commit "0245ffb160688061f0e0c67ea488bcdfdacbeca4"))
(let ((commit "fefe280d909d0eee8d60edd2a6db7d969df56c5b"))
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mozilla-l10n/firefox-l10n.git")
(commit commit)))
(file-name (git-file-name "firefox-l10n" commit))
(sha256 (base32 "0y8xdxql04yys0wj685v4yp3kmx1ivnndg6z11vam8vszh0j7ak6")))))
(sha256 (base32 "0z1ksvspbn4bbzxdl2w4x7bg36j4rwhaby8g37apg4393frh558i")))))
(define* (make-librewolf-source #:key version firefox-hash librewolf-hash l10n)
(let* ((ff-src (firefox-source-origin
@@ -205,7 +205,8 @@
(search-patches
"librewolf-compare-paths.patch"
"librewolf-use-system-wide-dir.patch"
"librewolf-add-store-to-rdd-allowlist.patch"))
"librewolf-add-store-to-rdd-allowlist.patch"
"librewolf-150.0-encoding_rs-rust-fix.patch"))
;; Slim down the tarball by removing unbundled libraries and 75 Mo (800+
;; Mo uncompressed) of unused tests.
;; TODO: Unbundle security/nss and media/libpng.
@@ -244,17 +245,17 @@
;; It's used for cache validation and therefore can lead to strange bugs.
;; ex: date '+%Y%m%d%H%M%S'
;; or: (format-time-string "%Y%m%d%H%M%S")
(define %librewolf-build-id "20260409162101")
(define %librewolf-build-id "20260421153818")
(define-public librewolf
(package
(name "librewolf")
(version "149.0.2-2")
(version "150.0-1")
(source
(make-librewolf-source
#:version version
#:firefox-hash "1kkhg3lgyakinn5ankxrlxbf39wi61mqbhwrj1l4q5l7y0n1m4va"
#:librewolf-hash "1bai8g2kc9snck2f724al29q6r57vkj3d7v58rf0mgzpqzvwnw5f"
#:firefox-hash "151rxzl80dm8jsxl6fwzgbirwq4zpms5adwwnbjcwdd1r3s3vr7v"
#:librewolf-hash "0iw9v3zc1fxc93yyhldqarxaypgmbndh2ylsy330kcbpb6p1gnmr"
#:l10n firefox-l10n))
(build-system gnu-build-system)
(arguments
@@ -352,18 +353,18 @@
(cdr pref)))
`(("extensions.getAddons.search.browseURL"
,(string-append
"https://gnuzilla.gnu.org/mozzarella/"
"https://gnuzilla.gnu.org/"
"search.php?q=%TERMS%"))
("extensions.getAddons.get.url" .
"https://gnuzilla.gnu.org/mozzarella")
"https://gnuzilla.gnu.org")
("extensions.getAddons.link.url" .
"https://gnuzilla.gnu.org/mozzarella")
"https://gnuzilla.gnu.org")
("extensions.getAddons.discovery.api_url" .
"https://gnuzilla.gnu.org/mozzarella")
"https://gnuzilla.gnu.org")
("extensions.getAddons.langpacks.url" .
"https://gnuzilla.gnu.org/mozzarella")
"https://gnuzilla.gnu.org")
("lightweightThemes.getMoreURL" .
"https://gnuzilla.gnu.org/mozzarella")))))))
"https://gnuzilla.gnu.org")))))))
(add-after 'patch-source-shebangs 'patch-cargo-checksums
(lambda _
(use-modules (guix build cargo-utils))

View File

@@ -2475,6 +2475,9 @@ similar to MATLAB, GNU Octave or SciPy.")
;; "--enable-doxygen"
"--enable-dot"
"--enable-netcdf-4"
#$@(if (or (target-x86-32?) (target-arm32?))
'("CFLAGS=-Wno-error=incompatible-pointer-types")
'())
(string-append "--with-plugin-dir=" #$output "/lib/hdf5-plugins"))
#:phases
#~(modify-phases %standard-phases
@@ -2486,7 +2489,15 @@ similar to MATLAB, GNU Octave or SciPy.")
(("testurl.sh") ""))
(substitute* "nczarr_test/Makefile.in"
(("/bin/bash")
(search-input-file inputs "bin/bash")))))
(search-input-file inputs "bin/bash")))
;; This test fails on 32 bit platforms.
#$@(if (or (target-x86-32?) (target-arm32?))
'((substitute* '("ncdump/tst_netcdf4_4.sh"
"ncdump/tst_nccopy4.sh")
(("#!/bin/sh" m) (string-append m "\nexit 0\n")))
(substitute* "ncdump/Makefile.in"
(("tst_netcdf4_4.log") "")))
'())))
(add-before 'configure 'fix-source-date
(lambda _
;; As we ${SOURCE_DATE_EPOCH} evaluates to "1" in the build
@@ -11458,7 +11469,7 @@ expression parsing and evaluation.")
(define-public highs
(package
(name "highs")
(version "1.10.0")
(version "1.14.0")
(source
(origin
(method git-fetch)
@@ -11467,14 +11478,14 @@ expression parsing and evaluation.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "19q99nkk6r6k91gxp8a5rjil1399qyfgfc6jqlg2gd82vpcw8c8b"))))
(base32 "16y664rzvxd8785195k0srz0842zvl0zdkf6qi103p503pj81afh"))))
(build-system cmake-build-system)
(home-page "https://highs.dev")
(synopsis "High performance software for linear optimization")
(description
"HiGHS provides serial and parallel solvers for large-scale sparse
linear programming (LP), mixed-integer programming (MIP), and quadratic
programming (QP) models")
programming (QP) models.")
(license license:expat)))
(define-public trilinos-zoltan

View File

@@ -2839,7 +2839,7 @@ implementation of an MQTT version client class.")
(define-public psi-plus
(package
(name "psi-plus")
(version "1.5.1484")
(version "1.5.2115")
(source
(origin
(method git-fetch)
@@ -2853,7 +2853,7 @@ implementation of an MQTT version client class.")
`(begin
(delete-file-recursively "3rdparty")))
(sha256
(base32 "1jsm39nzzbqkp3zc0xqx7jid6p4q1ra28xad38wjr2l1jb8qjn24"))))
(base32 "14za9rh7nszv5px5a2w43ysi9977zws8a5mxsh7wc8ksr693faz2"))))
(build-system qt-build-system)
(arguments
`(#:tests? #f ; No target
@@ -2910,19 +2910,13 @@ implementation of an MQTT version client class.")
"qite/qiteaudio.h")
(("qiteaudiorecorder.h")
"qite/qiteaudiorecorder.h"))))
(add-after 'install 'wrap-env
(add-after 'install 'wrap-executable
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(for-each
(lambda (name)
(let ((file (string-append out "/bin/" name))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program file
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
'("psi-plus")))))
(add-after 'wrap-env 'glib-or-gtk-compile-schemas
(wrap-program (string-append out "/bin/psi-plus")
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,(getenv "GST_PLUGIN_SYSTEM_PATH")))
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))))))
(add-after 'wrap-executable 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
@@ -2945,6 +2939,7 @@ implementation of an MQTT version client class.")
libgcrypt
libgpg-error
libidn
libomemo-c
libotr
libsignal-protocol-c
tidy-html
@@ -2964,11 +2959,11 @@ implementation of an MQTT version client class.")
libxcb
libxscrnsaver
zlib))
(home-page "https://psi-plus.com/")
(home-page "https://psi-im.com/")
(synopsis "Qt-based XMPP Client")
(description
"Psi+ is a spin-off of Psi XMPP client. It is a powerful XMPP client
designed for experienced users.")
"Psi+ is a powerful XMPP client designed for experienced users.
It's a spin-off of the Psi XMPP client.")
(license license:gpl2+)))
(define-deprecated-package psi

View File

@@ -1,11 +1,16 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2021, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016, 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
;;; Copyright © 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
;;; Copyright © 2018-2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018, 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019, 2023 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
@@ -19,9 +24,6 @@
;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2025 Giacomo Leidi <therewasa@fishinthecalculator.me>
;;; Copyright © 2025 Christian Birk Sørensen <chrbirks@gmail.com>
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019, 2023 Vasile Dumitrascu <va511e@yahoo.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -70,6 +72,7 @@
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
@@ -411,6 +414,37 @@ system statistics (CPU, disk, and memory usage, etc.) and more on the
desktop.")
(license license:gpl3+)))
(define-public gkrellm
(package
(name "gkrellm")
(version "2.5.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://gkrellm.srcbox.net/releases/gkrellm-"
version ".tar.bz2"))
(sha256
(base32 "0qvy2xmwmfy5f0g09yn9lr262shnx82ba04r5il2wj4qscg3r7h8"))))
(build-system gnu-build-system)
(inputs (list gtk+-2 libsm))
(native-inputs (list gettext-minimal pkg-config))
(arguments
(list
#:tests? #f ;there is no check target
#:phases
#~(modify-phases %standard-phases
(delete 'configure)) ;no configure script
#:make-flags
#~(list (string-append "INSTALLROOT=" #$output)
(string-append "CC=" #$(cc-for-target)))))
(home-page "https://gkrellm.srcbox.net/")
(synopsis "System monitors")
(description
"GKrellM is a single process stack of system monitors which supports
applying themes to match its appearance to your window manager, Gtk, or any
other theme.")
(license license:gpl3+)))
(define-public glances
(package
(name "glances")

View File

@@ -286,7 +286,7 @@ This package tracks the Extended Support Release (ESR) channel.")
(package
(inherit nss)
(name "nss-rapid")
(version "3.121")
(version "3.123")
(source
(origin
(inherit (package-source nss))
@@ -297,7 +297,7 @@ This package tracks the Extended Support Release (ESR) channel.")
"releases/NSS_" version-with-underscores "_RTM/src/"
"nss-" version ".tar.gz")))
(sha256
(base32 "0bk3lxmj364vlf4x2q01pf0li3mm5ixgnfnxirxqp9xyh63qyfnb"))
(base32 "0jafdl18q9j36bwk73i462qkc24070b5llchffd7fsd2k0ri2i91"))
(patches
(search-patches "nss-3.56-pkgconfig.patch"
"nss-getcwd-nonnull.patch"

View File

@@ -1,43 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -265,15 +265,11 @@
amal.flags = -nc
amal.run = TOPDIR="$(DIR.top)" $(SHELL.bash) $(bin.make-amal) --quiet
libfossil.c: $(amal.deps)
$(amal.run) $(amal.flags)
-libfossil.h: libfossil.c
-all: libfossil.c
@if ENABLE_CXX
-libfossil.hpp: libfossil.c
-libfossil.c++: libfossil.c
amal.flags += -c++
@endif
.PHONY: amal
amal: libfossil.c
@@ -287,19 +283,16 @@
fossil uv sync
@endif
@endif
install: install-headers
-install-headers: libfossil.h $(install-dir.include)
- $(INSTALL.noexec) libfossil.h $(install-dir.include)
+install-headers: include/libfossil.h $(install-dir.include)
+ $(INSTALL.noexec) $< $(install-dir.include)
@if ENABLE_CXX
-libfossil++.hpp: libfossil.h
-libfossil++.cpp: libfossil++.hpp
-all: libfossil++.cpp
install-headers: install-headers++
-install-headers++: libfossil++.hpp $(install-dir.include)
- $(INSTALL.noexec) libfossil++.hpp $(install-dir.include)
+install-headers++: include/libfossil.hpp $(install-dir.include)
+ $(INSTALL.noexec) $< $(install-dir.include)
@endif # ENABLE_CXX
clean: clean-amalgamation
clean-amalgamation:
rm -f libfossil.c libfossil.h libfossil++.cpp libfossil++.hpp
rm -f libfossil-config.h libfossil-amalgamation.zip VERSION.h

View File

@@ -0,0 +1,260 @@
From d8702527f4f1f67f765330f5018bfcb182946c45 Mon Sep 17 00:00:00 2001
From: Henri Sivonen <hsivonen@hsivonen.fi>
Date: Tue, 21 Apr 2026 07:09:20 +0000
Subject: [PATCH] Bug 2033279 - Make --enable-rust-simd work with Rust 1.95.
r=firefox-build-system-reviewers,supply-chain-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D295287
---
.cargo/config.toml.in | 5 ++
Cargo.lock | 4 +-
Cargo.toml | 2 +
supply-chain/audits.toml | 6 ++
supply-chain/config.toml | 4 ++
.../rust/encoding_rs/.cargo-checksum.json | 2 +-
.../rust/encoding_rs/.cargo_vcs_info.json | 6 --
third_party/rust/encoding_rs/Cargo.toml | 60 ++++++++++---------
third_party/rust/encoding_rs/Cargo.toml.orig | 45 --------------
.../rust/encoding_rs/src/x_user_defined.rs | 2 +
10 files changed, 54 insertions(+), 82 deletions(-)
delete mode 100644 third_party/rust/encoding_rs/.cargo_vcs_info.json
delete mode 100644 third_party/rust/encoding_rs/Cargo.toml.orig
diff --git a/.cargo/config.toml.in b/.cargo/config.toml.in
index 8013ae5435dab..cabdee463415f 100644
--- a/.cargo/config.toml.in
+++ b/.cargo/config.toml.in
@@ -55,6 +55,11 @@ git = "https://github.com/hsivonen/any_all_workaround"
rev = "7fb1b7034c9f172aade21ee1c8554e8d8a48af80"
replace-with = "vendored-sources"
+[source."git+https://github.com/hsivonen/encoding_rs?rev=1236d1bc423e6ba35a06485f74a6304db2d703b5"]
+git = "https://github.com/hsivonen/encoding_rs"
+rev = "1236d1bc423e6ba35a06485f74a6304db2d703b5"
+replace-with = "vendored-sources"
+
[source."git+https://github.com/hsivonen/rust-harfbuzz?rev=9d58a23a98772a197291d04af93f7041b7093d95"]
git = "https://github.com/hsivonen/rust-harfbuzz"
rev = "9d58a23a98772a197291d04af93f7041b7093d95"
diff --git a/Cargo.lock b/Cargo.lock
index fea2f95fbb438..63b1f818d7971 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1914,11 +1914,11 @@ dependencies = [
[[package]]
name = "encoding_rs"
version = "0.8.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
+source = "git+https://github.com/hsivonen/encoding_rs?rev=1236d1bc423e6ba35a06485f74a6304db2d703b5#1236d1bc423e6ba35a06485f74a6304db2d703b5"
dependencies = [
"any_all_workaround",
"cfg-if",
+ "rustversion",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 49c695809f302..2648c32ae57e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -287,6 +287,8 @@ harfbuzz-sys = { git = "https://github.com/hsivonen/rust-harfbuzz", rev = "9d58a
harfbuzz = { git = "https://github.com/hsivonen/rust-harfbuzz", rev = "9d58a23a98772a197291d04af93f7041b7093d95" }
# Also vendor `harfbuzz-traits` to keep cargo-vendor happy.
harfbuzz-traits = { git = "https://github.com/hsivonen/rust-harfbuzz", rev = "9d58a23a98772a197291d04af93f7041b7093d95" }
+# Make --enable-rust-simd compatible with Rust 1.95
+encoding_rs = { git = "https://github.com/hsivonen/encoding_rs", rev = "1236d1bc423e6ba35a06485f74a6304db2d703b5" }
# objc 0.2.7 + fa7ca43b862861dd1cd000d7ad01e6e0266cda13
objc = { git = "https://github.com/glandium/rust-objc", rev = "4de89f5aa9851ceca4d40e7ac1e2759410c04324" }
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index 85b4037e03bdb..f4567ea6b6f94 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -2385,6 +2385,12 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
criteria = "safe-to-deploy"
delta = "0.8.31 -> 0.8.32"
+[[audits.encoding_rs]]
+who = "Henri Sivonen <hsivonen@hsivonen.fi>"
+criteria = "safe-to-deploy"
+delta = "0.8.35 -> 0.8.35@git:1236d1bc423e6ba35a06485f74a6304db2d703b5"
+importable = false
+
[[audits.enum-map]]
who = "Kershaw Chang <kershaw@mozilla.com>"
criteria = "safe-to-deploy"
diff --git a/supply-chain/config.toml b/supply-chain/config.toml
index 4cfd83dc2d608..15deefbec0574 100644
--- a/supply-chain/config.toml
+++ b/supply-chain/config.toml
@@ -39,6 +39,10 @@ notes = "This is the upstream code not yet released"
audit-as-crates-io = true
notes = "This is upstream plus a warning fix from bug 1823866."
+[policy.encoding_rs]
+audit-as-crates-io = true
+notes = "This is upstream plus a build fix for bug 2033279."
+
[policy.firefox-on-glean]
audit-as-crates-io = false
notes = "The crates.io version of this is just a placeholder to allow public crates to depend on firefox-on-glean."
diff --git a/third_party/rust/encoding_rs/.cargo_vcs_info.json b/third_party/rust/encoding_rs/.cargo_vcs_info.json
deleted file mode 100644
index 6e5d699759e43..0000000000000
--- a/third_party/rust/encoding_rs/.cargo_vcs_info.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "git": {
- "sha1": "2fa58aecf537cc76ff52c0eb3d5e9f8fda466844"
- },
- "path_in_vcs": ""
-}
\ No newline at end of file
diff --git a/third_party/rust/encoding_rs/Cargo.toml b/third_party/rust/encoding_rs/Cargo.toml
index 2adac351c2edf..0239315bab180 100644
--- a/third_party/rust/encoding_rs/Cargo.toml
+++ b/third_party/rust/encoding_rs/Cargo.toml
@@ -16,6 +16,7 @@ name = "encoding_rs"
version = "0.8.35"
authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"]
build = false
+autolib = false
autobins = false
autoexamples = false
autotests = false
@@ -39,33 +40,6 @@ categories = [
license = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
repository = "https://github.com/hsivonen/encoding_rs"
-[profile.release]
-lto = true
-
-[lib]
-name = "encoding_rs"
-path = "src/lib.rs"
-
-[dependencies.any_all_workaround]
-version = "0.1.0"
-optional = true
-
-[dependencies.cfg-if]
-version = "1.0"
-
-[dependencies.serde]
-version = "1.0"
-optional = true
-
-[dev-dependencies.bincode]
-version = "1.0"
-
-[dev-dependencies.serde_derive]
-version = "1.0"
-
-[dev-dependencies.serde_json]
-version = "1.0"
-
[features]
alloc = []
default = ["alloc"]
@@ -84,4 +58,34 @@ fast-legacy-encode = [
less-slow-big5-hanzi-encode = []
less-slow-gb-hanzi-encode = []
less-slow-kanji-encode = []
-simd-accel = ["any_all_workaround"]
+simd-accel = [
+ "any_all_workaround",
+ "rustversion",
+]
+
+[lib]
+name = "encoding_rs"
+path = "src/lib.rs"
+
+[dependencies]
+cfg-if = "1.0"
+
+[dependencies.any_all_workaround]
+version = "0.1.0"
+optional = true
+
+[dependencies.rustversion]
+version = "1.0.19"
+optional = true
+
+[dependencies.serde]
+version = "1.0"
+optional = true
+
+[dev-dependencies]
+bincode = "1.0"
+serde_derive = "1.0"
+serde_json = "1.0"
+
+[profile.release]
+lto = true
diff --git a/third_party/rust/encoding_rs/Cargo.toml.orig b/third_party/rust/encoding_rs/Cargo.toml.orig
deleted file mode 100644
index 0f7639d5f879b..0000000000000
--- a/third_party/rust/encoding_rs/Cargo.toml.orig
+++ /dev/null
@@ -1,45 +0,0 @@
-[package]
-name = "encoding_rs"
-description = "A Gecko-oriented implementation of the Encoding Standard"
-version = "0.8.35"
-edition = '2018'
-authors = ["Henri Sivonen <hsivonen@hsivonen.fi>"]
-license = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
-readme = "README.md"
-documentation = "https://docs.rs/encoding_rs/"
-homepage = "https://docs.rs/encoding_rs/"
-repository = "https://github.com/hsivonen/encoding_rs"
-keywords = ["encoding", "web", "unicode", "charset"]
-categories = ["text-processing", "encoding", "web-programming", "internationalization"]
-rust-version = "1.36"
-
-[features]
-default = ["alloc"]
-alloc = []
-simd-accel = ["any_all_workaround"]
-less-slow-kanji-encode = []
-less-slow-big5-hanzi-encode = []
-less-slow-gb-hanzi-encode = []
-fast-hangul-encode = []
-fast-hanja-encode = []
-fast-kanji-encode = []
-fast-gb-hanzi-encode = []
-fast-big5-hanzi-encode = []
-fast-legacy-encode = ["fast-hangul-encode",
- "fast-hanja-encode",
- "fast-kanji-encode",
- "fast-gb-hanzi-encode",
- "fast-big5-hanzi-encode"]
-
-[dependencies]
-cfg-if = "1.0"
-serde = { version = "1.0", optional = true }
-any_all_workaround = { version = "0.1.0" , optional = true }
-
-[dev-dependencies]
-serde_derive = "1.0"
-bincode = "1.0"
-serde_json = "1.0"
-
-[profile.release]
-lto = true
diff --git a/third_party/rust/encoding_rs/src/x_user_defined.rs b/third_party/rust/encoding_rs/src/x_user_defined.rs
index 7af7d5e3d69da..16f1a18d7f6ce 100644
--- a/third_party/rust/encoding_rs/src/x_user_defined.rs
+++ b/third_party/rust/encoding_rs/src/x_user_defined.rs
@@ -16,7 +16,8 @@ cfg_if! {
use simd_funcs::*;
use core::simd::u16x8;
use core::simd::cmp::SimdPartialOrd;
+ #[rustversion::since(1.95)]
use core::simd::Select;
#[inline(always)]
fn shift_upper(unpacked: u16x8) -> u16x8 {

View File

@@ -0,0 +1,513 @@
This patch shas been backported from the development version or Biostrings.
From 100602242840322b5f6c267faaf8198c1a5aa2af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Thu, 5 Mar 2026 22:36:30 -0800
Subject: [PATCH] Biostrings 2.79.5: Get rid of never-used SparseMIndex and
SparseList classes
This also eliminates the non-API calls to R.
---
DESCRIPTION | 3 +-
NAMESPACE | 2 -
R/MIndex-class.R | 79 -------------------------
R/SparseList-class.R | 80 -------------------------
man/Biostrings-internals.Rd | 9 ---
src/Biostrings.h | 41 -------------
src/MIndex_class.c | 67 ---------------------
src/R_init_Biostrings.c | 1 -
src/SparseList_utils.c | 113 ------------------------------------
9 files changed, 1 insertion(+), 394 deletions(-)
delete mode 100644 R/SparseList-class.R
delete mode 100644 src/SparseList_utils.c
diff --git a/DESCRIPTION b/DESCRIPTION
index a5d027cc..dbc323ea 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -76,3 +76,3 @@ Collate: utils.R IUPAC_CODE_MAP.R AMINO_ACID_CODE.R GENETIC_CODE.R
injectHardMask.R padAndClip.R strsplit-methods.R misc.R
- SparseList-class.R MIndex-class.R lowlevel-matching.R
+ MIndex-class.R lowlevel-matching.R
match-utils.R matchPattern.R maskMotif.R matchLRPatterns.R
diff --git a/NAMESPACE b/NAMESPACE
index ba1e3bfa..cf14db67 100644
--- a/NAMESPACE
+++ b/NAMESPACE
@@ -206,7 +206,6 @@ exportMethods(
### ==========================================================================
### STRING MATCHING
### --------------------------------------------------------------------------
-### SparseList-class.R
### MIndex-class.R
### lowlevel-matching.R
### match-utils.R
@@ -220,7 +219,6 @@ exportMethods(
### matchPDict.R
exportClasses(
- #SparseList,
MIndex, ByPos_MIndex,
PreprocessedTB, Twobit, ACtree2,
PDict3Parts,
diff --git a/R/MIndex-class.R b/R/MIndex-class.R
index 022f6746..f50f215e 100644
--- a/R/MIndex-class.R
+++ b/R/MIndex-class.R
@@ -218,82 +218,3 @@ ByPos_MIndex.combine <- function(mi_list)
new("ByPos_MIndex", width0=ans_width0, NAMES=ans_names, ends=ans_ends)
}
-
-### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-### The "SparseMIndex" class (DISABLED FOR NOW).
-###
-### Slot description:
-###
-### ends_envir: a key-value list (environment) where the values are integer
-### vectors containing the ending positions of the pattern whose
-### position in the original dictionary is given by the key (the keys are
-### strings representing positive integers).
-###
-
-if (FALSE) {
-
- setClass("SparseMIndex",
- contains="MIndex",
- representation(
- ends_envir="environment"
- )
- )
-
- setMethod("show", "SparseMIndex",
- function(object)
- {
- cat("Sparse MIndex object of length ", length(object), "\n", sep="")
- }
- )
-
- setMethod("[[", "SparseMIndex",
- function(x, i, j, ...)
- {
- i <- normalizeDoubleBracketSubscript(i, x)
- ans_end <- x@ends_envir[[formatC(i, width=10, format="d", flag="0")]]
- if (is.null(ans_end))
- ans_end <- integer(0)
- ans_width <- rep.int(x@width0[i], length(ans_end))
- ans_start <- ans_end - x@width0[i] + 1L
- new2("IRanges", start=ans_start, width=ans_width, check=FALSE)
- }
- )
-
- ### An example of a SparseMIndex object of length 5 where only the
- ### 2nd pattern has matches:
- ### > width0 <- c(9L, 10L, 8L, 4L, 10L)
- ### > ends_envir <- new.env(hash=TRUE, parent=emptyenv())
- ### > ends_envir[['0000000002']] <- c(199L, 402L)
- ### > mindex <- new("SparseMIndex", width0=width0, NAMES=letters[1:5], ends_envir=ends_envir)
- ### > mindex[[1]]
- ### > mindex[[2]]
- ### > mindex[[6]] # Error in mindex[[6]] : subscript out of bounds
- ### > names(mindex)
- ### > mindex[["a"]]
- ### > mindex[["b"]]
- ### > mindex[["aa"]] # Error in mindex[["aa"]] : pattern name aa not found
- ### > startIndex(mindex)
- ### > endIndex(mindex)
- ### > elementNROWS(mindex)
- ###
- setMethod("startIndex", "SparseMIndex",
- function(x)
- {
- all.names <- TRUE
- .Call2("SparseMIndex_endIndex",
- x@ends_envir, x@width0, x@NAMES, all.names,
- PACKAGE="Biostrings")
- }
- )
- setMethod("endIndex", "SparseMIndex",
- function(x)
- {
- all.names <- TRUE
- .Call2("SparseMIndex_endIndex",
- x@ends_envir, NULL, x@NAMES, all.names,
- PACKAGE="Biostrings")
- }
- )
-
-}
-
diff --git a/R/SparseList-class.R b/R/SparseList-class.R
deleted file mode 100644
index 8295fd0f..00000000
--- a/R/SparseList-class.R
+++ /dev/null
@@ -1,80 +0,0 @@
-### =========================================================================
-### SparseList objects
-### -------------------------------------------------------------------------
-###
-
-setClass("SparseList",
- representation(
- length="integer",
- env="environment"
- )
-)
-
-### Typical use:
-### env <- new.env(hash=TRUE, parent=emptyenv())
-### key <- formatC(98L, width=10, format="d", flag="0")
-### value <- 3:-2
-### assign(key, value, envir=env)
-### x <- new("SparseList", length=100L, env=env)
-### length(x)
-### ls(x)
-### ls(x, all.names=TRUE)
-### as.list(x)
-### as.list(x, all.names=TRUE)
-### x[[1]]
-### x[[98]
-### x[[101]]]
-###
-
-setMethod("length", "SparseList", function(x) x@length)
-
-### 'pos', 'envir' and 'pattern' args are ignored
-setMethod("ls", signature(name="SparseList"),
- function(name, pos, envir, all.names=FALSE, pattern)
- {
- if (!all.names)
- return(ls(name@env, all.names=TRUE))
- seq_len(length(name))
- }
-)
-
-setMethod("as.list", "SparseList",
- function(x, all.names=FALSE, ...)
- {
- if (!all.names)
- return(as.list(x@env, all.names=TRUE))
- ans <- vector(mode="list", length=length(x))
- symbols <- ls(x)
- for (symb in symbols)
- ans[[as.integer(symb)]] <- get(symb, envir=x@env)
- ans
- }
-)
-
-### Supported 'i' types: character or numeric vector of length 1.
-setMethod("[[", "SparseList",
- function(x, i, j, ...)
- {
- if (!missing(j) || length(list(...)) > 0)
- stop("invalid subsetting")
- if (missing(i))
- stop("subscript is missing")
- if (!is.character(i) && !is.numeric(i))
- stop("invalid subscript type")
- if (length(i) < 1L)
- stop("attempt to select less than one element")
- if (length(i) > 1L)
- stop("attempt to select more than one element")
- if (is.na(i))
- stop("subscript cannot be NA")
- if (is.character(i))
- return(get(i, envir=x@env))
- if (!is.integer(i))
- i <- as.integer(i)
- if (i < 1L || i > length(x))
- stop("subscript out of bounds")
- i <- formatC(i, width=10, format="d", flag="0")
- get(i, envir=x@env)
- }
-)
-
diff --git a/man/Biostrings-internals.Rd b/man/Biostrings-internals.Rd
index 791b0870..609b7694 100644
--- a/man/Biostrings-internals.Rd
+++ b/man/Biostrings-internals.Rd
@@ -26,15 +26,6 @@
\alias{make_XStringSet_from_strings}
\alias{make_XStringSet_from_strings,XStringSet-method}
-% SparseList class and methods:
-\alias{class:SparseList}
-\alias{SparseList-class}
-\alias{SparseList}
-
-\alias{length,SparseList-method}
-%\alias{ls,SparseList-method}
-\alias{as.list,SparseList-method}
-\alias{[[,SparseList-method}
\title{Biostrings internals}
diff --git a/src/Biostrings.h b/src/Biostrings.h
index 6e725bd5..e86d0ff2 100644
--- a/src/Biostrings.h
+++ b/src/Biostrings.h
@@ -446,40 +446,6 @@ SEXP XStringSetList_unstrsplit(
);
-/* SparseList_utils.c */
-
-SEXP _SparseList_int2symb(int symb_as_int);
-
-int _SparseList_symb2int(SEXP symbol);
-
-SEXP _get_val_from_env(
- SEXP symbol,
- SEXP env,
- int error_on_unbound_value
-);
-
-SEXP _get_val_from_SparseList(
- int symb_as_int,
- SEXP env,
- int error_on_unbound_value
-);
-
-int _get_int_from_SparseList(
- int symb_as_int,
- SEXP env
-);
-
-void _set_env_from_IntAE(
- SEXP env,
- const IntAE *int_ae
-);
-
-void _set_env_from_IntAEAE(
- SEXP env,
- const IntAEAE *int_aeae
-);
-
-
/* match_reporting.c */
int _get_match_storing_code(const char *ms_mode);
@@ -558,13 +524,6 @@ SEXP ByPos_MIndex_endIndex(
SEXP x_width0
);
-SEXP SparseMIndex_endIndex(
- SEXP x_ends_envir,
- SEXP x_width0,
- SEXP x_names,
- SEXP all_names
-);
-
SEXP ByPos_MIndex_combine(SEXP ends_listlist);
diff --git a/src/MIndex_class.c b/src/MIndex_class.c
index 00212fe9..dd6ad546 100644
--- a/src/MIndex_class.c
+++ b/src/MIndex_class.c
@@ -157,73 +157,6 @@ SEXP ByPos_MIndex_endIndex(SEXP x_high2low, SEXP x_ends, SEXP x_width0)
return ans;
}
-/*
- * --- .Call ENTRY POINT ---
- * All the keys in 'x_ends_envir' must be representing integers left-padded with 0s
- * so they have the same length. This works properly:
- library(Biostrings)
- ends_envir <- new.env(parent=emptyenv())
- ends_envir[['0000000010']] <- -2:1
- ends_envir[['0000000004']] <- 9:6
- .Call("SparseMIndex_endIndex",
- ends_envir, NULL, letters[1:10], TRUE,
- PACKAGE="Biostrings")
- .Call("SparseMIndex_endIndex",
- ends_envir, NULL, letters[1:10], FALSE,
- PACKAGE="Biostrings")
- * but this doesn't:
- ends_envir[['3']] <- 33L
- .Call("SparseMIndex_endIndex",
- ends_envir, NULL, letters[1:10], FALSE,
- PACKAGE="Biostrings")
- */
-SEXP SparseMIndex_endIndex(SEXP x_ends_envir, SEXP x_width0, SEXP x_names, SEXP all_names)
-{
- SEXP ans, ans_elt, ans_names, symbols, end;
- int nelt, i, j;
- IntAE *poffsets, *poffsets_order;
-
- PROTECT(symbols = R_lsInternal(x_ends_envir, 1));
- poffsets = new_IntAE_from_CHARACTER(symbols, -1);
- nelt = IntAE_get_nelt(poffsets);
- if (LOGICAL(all_names)[0]) {
- PROTECT(ans = NEW_LIST(LENGTH(x_names)));
- for (i = 0; i < nelt; i++) {
- j = poffsets->elts[i];
- end = _get_val_from_env(STRING_ELT(symbols, i), x_ends_envir, 1);
- PROTECT(ans_elt = duplicate(end));
- if (x_width0 != R_NilValue)
- add_val_to_INTEGER(ans_elt, 1 - INTEGER(x_width0)[j]);
- SET_ELEMENT(ans, j, ans_elt);
- UNPROTECT(1);
- }
- SET_NAMES(ans, duplicate(x_names));
- UNPROTECT(1);
- } else {
- //poffsets_order = new_IntAE(nelt, 0, 0);
- //get_order_of_int_array(poffsets->elts, nelt, 0, 0,
- // poffsets_order->elts, 0);
- //IntAE_set_nelt(poffsets_order) = nelt; /* = poffsets_order->_buflength */
- PROTECT(ans = NEW_LIST(nelt));
- PROTECT(ans_names = NEW_CHARACTER(nelt));
- for (i = 0; i < nelt; i++) {
- //j = poffsets_order->elts[i];
- j = i;
- end = _get_val_from_env(STRING_ELT(symbols, j), x_ends_envir, 1);
- PROTECT(ans_elt = duplicate(end));
- if (x_width0 != R_NilValue)
- add_val_to_INTEGER(ans_elt, 1 - INTEGER(x_width0)[i]);
- SET_ELEMENT(ans, i, ans_elt);
- UNPROTECT(1);
- SET_STRING_ELT(ans_names, i, duplicate(STRING_ELT(x_names, poffsets->elts[j])));
- }
- SET_NAMES(ans, ans_names);
- UNPROTECT(2);
- }
- UNPROTECT(1);
- return ans;
-}
-
/*
* --- .Call ENTRY POINT ---
*/
diff --git a/src/R_init_Biostrings.c b/src/R_init_Biostrings.c
index 4d2943f8..c1410dbd 100644
--- a/src/R_init_Biostrings.c
+++ b/src/R_init_Biostrings.c
@@ -88,7 +88,6 @@ static const R_CallMethodDef callMethods[] = {
/* MIndex_class.c */
CALLMETHOD_DEF(ByPos_MIndex_endIndex, 3),
- CALLMETHOD_DEF(SparseMIndex_endIndex, 4),
CALLMETHOD_DEF(ByPos_MIndex_combine, 1),
/* lowlevel_matching.c */
diff --git a/src/SparseList_utils.c b/src/SparseList_utils.c
deleted file mode 100644
index 18597b55..00000000
--- a/src/SparseList_utils.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/****************************************************************************
- * Fast SparseList utilities *
- * Author: H. Pag\`es *
- ****************************************************************************/
-#include "Biostrings.h"
-#include "S4Vectors_interface.h"
-
-
-SEXP _SparseList_int2symb(int symb_as_int)
-{
- char symbbuf[11];
-
- snprintf(symbbuf, sizeof(symbbuf), "%010d", symb_as_int);
- return mkChar(symbbuf); /* UNPROTECTED! */
-}
-
-int _SparseList_symb2int(SEXP symbol)
-{
- int symb_as_int;
-
- sscanf(CHAR(symbol), "%d", &symb_as_int);
- return symb_as_int;
-}
-
-/* 'symbol' must be a CHARSXP */
-SEXP _get_val_from_env(SEXP symbol, SEXP env, int error_on_unbound_value)
-{
- SEXP ans;
-
- /* The following code was inspired by R's do_get() code.
- * Note that do_get() doesn't use PROTECT at all and so do we...
- */
- ans = findVar(install(translateChar(symbol)), env);
- if (ans == R_UnboundValue) {
- if (error_on_unbound_value)
- error("Biostrings internal error in _get_val_from_env(): "
- "unbound value");
- return R_UnboundValue;
- }
- if (TYPEOF(ans) == PROMSXP)
- ans = eval(ans, env);
- if (ans != R_NilValue && NAMED(ans) == 0)
- SET_NAMED(ans, 1);
- return ans;
-}
-
-SEXP _get_val_from_SparseList(int symb_as_int, SEXP env, int error_on_unbound_value)
-{
- SEXP symbol, ans;
-
- PROTECT(symbol = _SparseList_int2symb(symb_as_int));
- ans = _get_val_from_env(symbol, env, error_on_unbound_value);
- UNPROTECT(1);
- return ans;
-}
-
-int _get_int_from_SparseList(int symb_as_int, SEXP env)
-{
- SEXP value;
- int val;
-
- value = _get_val_from_SparseList(symb_as_int, env, 0);
- if (value == R_UnboundValue)
- return NA_INTEGER;
- if (LENGTH(value) != 1)
- error("Biostrings internal error in _get_int_from_SparseList(): "
- "value is not a single integer");
- val = INTEGER(value)[0];
- if (val == NA_INTEGER)
- error("Biostrings internal error in _get_int_from_SparseList(): "
- "value is NA");
- return val;
-}
-
-void _set_env_from_IntAE(SEXP env, const IntAE *int_ae)
-{
- int nelt, symb_as_int, elt;
- SEXP symbol, value;
-
- nelt = IntAE_get_nelt(int_ae);
- for (symb_as_int = 1; symb_as_int <= nelt; symb_as_int++)
- {
- elt = int_ae->elts[symb_as_int - 1];
- if (elt == NA_INTEGER)
- continue;
- PROTECT(symbol = _SparseList_int2symb(symb_as_int));
- PROTECT(value = ScalarInteger(elt));
- defineVar(install(translateChar(symbol)), value, env);
- UNPROTECT(2);
- }
- return;
-}
-
-void _set_env_from_IntAEAE(SEXP env, const IntAEAE *int_aeae)
-{
- int nelt, symb_as_int;
- IntAE *ae;
- SEXP symbol, value;
-
- nelt = IntAEAE_get_nelt(int_aeae);
- for (symb_as_int = 1; symb_as_int <= nelt; symb_as_int++)
- {
- ae = int_aeae->elts[symb_as_int - 1];
- if (IntAE_get_nelt(ae) == 0)
- continue;
- PROTECT(symbol = _SparseList_int2symb(symb_as_int));
- PROTECT(value = new_INTEGER_from_IntAE(ae));
- defineVar(install(translateChar(symbol)), value, env);
- UNPROTECT(2);
- }
- return;
-}
-

View File

@@ -0,0 +1,142 @@
From 7fe34542bff0183c3a6a35a62df9035a71698eb2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Fri, 6 Mar 2026 15:54:23 -0800
Subject: [PATCH] h5mread 1.3.2: Get rid of non-API calls to R
---
DESCRIPTION | 2 +-
R/H5File-class.R | 27 ++++++++++++++++-----------
src/h5mread_index.c | 5 +++--
src/h5mread_startscounts.c | 3 ++-
4 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/R/H5File-class.R b/R/H5File-class.R
index 2735166..6aeb80f 100644
--- a/R/H5File-class.R
+++ b/R/H5File-class.R
@@ -73,19 +73,23 @@
}
}
-.h5openfile <- function(filepath, s3=FALSE, s3credentials=NULL, use.rhdf5=FALSE)
+.h5openfile <- function(filepath, readonly=TRUE,
+ s3=FALSE, s3credentials=NULL, use.rhdf5=FALSE)
{
if (!isSingleString(filepath))
stop(wmsg("'filepath' must be a single string specifying ",
"the path or URL to an HDF5 file"))
+ if (!isTRUEorFALSE(readonly))
+ stop(wmsg("'readonly' must be TRUE or FALSE"))
if (!isTRUEorFALSE(s3))
stop(wmsg("'s3' must be TRUE or FALSE"))
-
+ if (s3 && !readonly)
+ stop(wmsg("'readonly' must be set to TRUE when 's3' is TRUE"))
if (s3) {
ID <- .h5openS3file(filepath, s3credentials=s3credentials,
use.rhdf5=use.rhdf5)
} else {
- ID <- .h5openlocalfile(filepath, readonly=TRUE, use.rhdf5=use.rhdf5)
+ ID <- .h5openlocalfile(filepath, readonly=readonly, use.rhdf5=use.rhdf5)
}
ID
}
@@ -136,16 +140,16 @@
.ID_is_closed <- function(ID) { is.null(ID) || is.na(ID) }
-.open_H5FileID_xp <- function(xp, filepath, s3=FALSE, s3credentials=NULL,
- use.rhdf5=FALSE)
+.open_H5FileID_xp <- function(xp, filepath, readonly=TRUE,
+ s3=FALSE, s3credentials=NULL, use.rhdf5=FALSE)
{
ID <- .get_H5FileID_xp_ID(xp)
if (!.ID_is_closed(ID)) {
## H5FileID object is already open.
return(FALSE)
}
- ID <- .h5openfile(filepath, s3=s3, s3credentials=s3credentials,
- use.rhdf5=use.rhdf5)
+ ID <- .h5openfile(filepath, readonly=readonly,
+ s3=s3, s3credentials=s3credentials, use.rhdf5=use.rhdf5)
.set_H5FileID_xp_ID(xp, ID)
TRUE
}
@@ -183,10 +187,11 @@ close.H5FileID <- function(con, ...)
.close_H5FileID_xp(con@xp, ..., use.rhdf5=con@from_rhdf5)
}
-H5FileID <- function(filepath, s3=FALSE, s3credentials=NULL, use.rhdf5=FALSE)
+H5FileID <- function(filepath, readonly=TRUE,
+ s3=FALSE, s3credentials=NULL, use.rhdf5=FALSE)
{
- ID <- .h5openfile(filepath, s3=s3, s3credentials=s3credentials,
- use.rhdf5=use.rhdf5)
+ ID <- .h5openfile(filepath, readonly=readonly,
+ s3=s3, s3credentials=s3credentials, use.rhdf5=use.rhdf5)
xp <- .new_H5FileID_xp(ID)
reg.finalizer(xp,
function(e) .close_H5FileID_xp(e, use.rhdf5=use.rhdf5),
@@ -272,7 +277,7 @@ H5File <- function(filepath, s3=FALSE, s3credentials=NULL, .no_rhdf5_h5id=FALSE)
rhdf5_h5id <- new("H5FileID")
} else {
rhdf5_h5id <- H5FileID(filepath, s3=s3, s3credentials=s3credentials,
- use.rhdf5=TRUE)
+ use.rhdf5=TRUE)
}
if (!s3)
filepath <- file_path_as_absolute(filepath)
diff --git a/src/h5mread_index.c b/src/h5mread_index.c
index 7284815..ec93c25 100644
--- a/src/h5mread_index.c
+++ b/src/h5mread_index.c
@@ -9,6 +9,7 @@
#include "h5mread_helpers.h"
#include "TouchedChunks.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <stdlib.h> /* for malloc, free */
#include <string.h> /* for memcmp */
//#include <time.h>
@@ -444,7 +445,7 @@ static int read_chunk_data_4_5(const H5DSetDescriptor *h5dset,
const size_t *Rarray_dim, SEXP Rarray,
int method, int use_H5Dread_chunk)
{
- void *out = DATAPTR(Rarray);
+ void *out = DATAPTR_RW(Rarray);
if (out == NULL)
return -1;
@@ -874,7 +875,7 @@ static int read_data_6(const AllTChunks *all_tchunks,
size_t *inner_nchip_buf = R_alloc0_size_t_array(ndim);
LLongAEAE *inner_breakpoint_bufs = new_LLongAEAE(ndim, ndim);
- void *out = DATAPTR(Rarray);
+ void *out = DATAPTR_RW(Rarray);
if (out == NULL) {
_destroy_TChunkIterator(&tchunk_iter);
return -1;
diff --git a/src/h5mread_startscounts.c b/src/h5mread_startscounts.c
index de57fd5..959014f 100644
--- a/src/h5mread_startscounts.c
+++ b/src/h5mread_startscounts.c
@@ -8,6 +8,7 @@
#include "uaselection.h"
#include "h5mread_helpers.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <stdlib.h> /* for malloc, free */
//#include <time.h>
@@ -402,7 +403,7 @@ SEXP _h5mread_startscounts(const H5DSetDescriptor *h5dset,
SEXP ans = PROTECT(allocVector(h5dset->h5type->Rtype, ans_len));
if (ans_len != 0) {
- void *mem = DATAPTR(ans);
+ void *mem = DATAPTR_RW(ans);
if (mem == NULL)
goto on_error;
--
2.52.0

View File

@@ -0,0 +1,67 @@
From a827c9fdeb77edefe6cca81bdb9e0344bc8d3742 Mon Sep 17 00:00:00 2001
From: Sebastian Gibb <mail@sebastiangibb.de>
Date: Sat, 13 Dec 2025 23:06:12 +0100
Subject: [PATCH] fix: non-API call to R: SETLENGTH by using lengthgets
---
DESCRIPTION | 2 +-
NEWS.md | 6 ++++++
src/join.c | 12 ++++--------
src/reduce.c | 6 ++----
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/join.c b/src/join.c
index f13a703..3849fdf 100644
--- a/src/join.c
+++ b/src/join.c
@@ -111,12 +111,10 @@ SEXP C_join_inner(SEXP x, SEXP y, SEXP tolerance, SEXP nomatch) {
++j;
}
}
- SETLENGTH(rx, j);
- SETLENGTH(ry, j);
SEXP out = PROTECT(allocVector(VECSXP, 2));
SEXP nms = PROTECT(allocVector(STRSXP, 2));
- SET_VECTOR_ELT(out, 0, rx);
- SET_VECTOR_ELT(out, 1, ry);
+ SET_VECTOR_ELT(out, 0, lengthgets(rx, j));
+ SET_VECTOR_ELT(out, 1, lengthgets(ry, j));
SET_STRING_ELT(nms, 0, mkChar("x"));
SET_STRING_ELT(nms, 1, mkChar("y"));
setAttrib(out, R_NamesSymbol, nms);
@@ -201,12 +199,10 @@ SEXP C_join_outer(SEXP x, SEXP y, SEXP tolerance, SEXP nomatch) {
++i;
}
- SETLENGTH(rx, i);
- SETLENGTH(ry, i);
SEXP out = PROTECT(allocVector(VECSXP, 2));
SEXP nms = PROTECT(allocVector(STRSXP, 2));
- SET_VECTOR_ELT(out, 0, rx);
- SET_VECTOR_ELT(out, 1, ry);
+ SET_VECTOR_ELT(out, 0, lengthgets(rx, i));
+ SET_VECTOR_ELT(out, 1, lengthgets(ry, i));
SET_STRING_ELT(nms, 0, mkChar("x"));
SET_STRING_ELT(nms, 1, mkChar("y"));
setAttrib(out, R_NamesSymbol, nms);
diff --git a/src/reduce.c b/src/reduce.c
index 5f87966..8e48058 100644
--- a/src/reduce.c
+++ b/src/reduce.c
@@ -66,11 +66,9 @@ SEXP C_reduce(SEXP start, SEXP end, SEXP check) {
}
}
- SETLENGTH(rs, pos + 1);
- SETLENGTH(re, pos + 1);
SEXP out = PROTECT(allocVector(VECSXP, 2));
- SET_VECTOR_ELT(out, 0, rs);
- SET_VECTOR_ELT(out, 1, re);
+ SET_VECTOR_ELT(out, 0, lengthgets(rs, pos + 1));
+ SET_VECTOR_ELT(out, 1, lengthgets(re, pos + 1));
UNPROTECT(4);
--
2.52.0

View File

@@ -0,0 +1,114 @@
From 57dc6579d8b53af9e633016705fa9a1cbe58c8c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Fri, 6 Mar 2026 16:48:20 -0800
Subject: [PATCH] Rsamtools 2.27.1: Get rid of non-API calls to R
---
DESCRIPTION | 2 +-
src/utilities.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/utilities.h b/src/utilities.h
index bffb98f7..f9d5e09f 100644
--- a/src/utilities.h
+++ b/src/utilities.h
@@ -51,8 +51,7 @@ SEXP find_mate_within_groups(SEXP group_sizes,
/* call-building macros */
#define NEW_CALL(S, T, NAME, ENV, N) \
- PROTECT(S = T = allocList(N)); \
- SET_TYPEOF(T, LANGSXP); \
+ PROTECT(S = T = LCONS(R_NilValue, allocList(N-1))); \
SETCAR(T, findFun(install(NAME), ENV)); \
T = CDR(T)
#define CSET_CDR(T, NAME, VALUE) \
From 8cdec143023e8348a4f8bdc310acd609d14fe493 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Fri, 6 Mar 2026 16:59:42 -0800
Subject: [PATCH] oops, forgot to also get rid of non-API call to FORMALS()
---
src/pileupbam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pileupbam.c b/src/pileupbam.c
index f3256ba..7725628 100644
--- a/src/pileupbam.c
+++ b/src/pileupbam.c
@@ -655,7 +655,7 @@ SEXP apply_pileups(SEXP files, SEXP names, SEXP regions, SEXP param,
if (R_NilValue == regions)
Rf_error("'NULL' regions not (yet) supported");
_checkparams(regions, R_NilValue, R_NilValue);
- if (!Rf_isFunction(callback) || 1L != Rf_length(FORMALS(callback)))
+ if (!Rf_isFunction(callback) || 1L != Rf_length(R_ClosureFormals(callback)))
Rf_error("'callback' must be a function of 1 argument");
call = PROTECT(Rf_lang2(callback, R_NilValue));
From ee01a1f13f3b012b0717247d1f21580225b6f3a0 Mon Sep 17 00:00:00 2001
From: vjcitn <stvjc@channing.harvard.edu>
Date: Wed, 8 Apr 2026 14:04:26 -0400
Subject: [PATCH] API solutions
---
DESCRIPTION | 2 +-
src/tabixfile.c | 4 ++++
src/utilities.c | 13 ++++++++++---
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/src/tabixfile.c b/src/tabixfile.c
index 230a381..6f96568 100644
--- a/src/tabixfile.c
+++ b/src/tabixfile.c
@@ -187,8 +187,12 @@ SEXP index_tabix(SEXP filename, SEXP format, SEXP seq, SEXP begin, SEXP end,
LOGICAL(zeroBased)[0] == TRUE)
conf.preset |= TBX_UCSC;
+/* following is deprecated in HTSLIB with no precise replacement proposed */
+/* seems unimportant */
+/*
if (bgzf_is_bgzf(fn) != 1)
Rf_error("file does not appear to be bgzip'd");
+*/
if (tbx_index_build(fn, 0, &conf) == -1)
Rf_error("index build failed");
diff --git a/src/utilities.c b/src/utilities.c
index e224f91..d15c1d1 100644
--- a/src/utilities.c
+++ b/src/utilities.c
@@ -5,6 +5,13 @@
#include "XVector_interface.h"
#include <htslib/khash.h>
+#include <Rversion.h>
+
+#if R_VERSION < R_Version(4, 6, 0)
+# define R_getVar(x,y,z) findVar(x,y)
+#endif
+
+
void *_Rs_Realloc_impl(void *p, size_t n, size_t t)
{
/* R_Realloc(p, 0, *) fails inappropriately */
@@ -30,7 +37,7 @@ SEXP _get_namespace(const char *pkg)
void _as_strand(SEXP vec)
{
SEXP nmspc = PROTECT(_get_namespace("Rsamtools"));
- SEXP lvls = PROTECT(eval(findVar(install(".STRAND_LEVELS"), nmspc), nmspc));
+ SEXP lvls = PROTECT(eval(R_getVar(install(".STRAND_LEVELS"), nmspc, TRUE), nmspc));
_as_factor_SEXP(vec, lvls);
UNPROTECT(2);
}
@@ -38,8 +45,8 @@ void _as_strand(SEXP vec)
void _as_nucleotide(SEXP vec)
{
SEXP nmspc = PROTECT(_get_namespace("Rsamtools"));
- SEXP lvls = PROTECT(eval(findVar(install(".PILEUP_NUCLEOTIDE_LEVELS"),
- nmspc), nmspc));
+ SEXP lvls = PROTECT(eval(R_getVar(install(".PILEUP_NUCLEOTIDE_LEVELS"),
+ nmspc, TRUE), nmspc));
_as_factor_SEXP(vec, lvls);
UNPROTECT(2);
}

View File

@@ -0,0 +1,103 @@
From e39852a54312bbc6ba435848890cc2a7f612357c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Fri, 6 Mar 2026 17:04:19 -0800
Subject: [PATCH] ShortRead 1.69.3: Get rid of non-API calls to R
---
DESCRIPTION | 2 +-
src/call.h | 3 +--
src/io.c | 10 +++++-----
3 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/call.h b/src/call.h
index e15bb5e..e72bbd6 100644
--- a/src/call.h
+++ b/src/call.h
@@ -6,8 +6,7 @@ extern "C" {
#endif
#define NEW_CALL(S, T, NAME, ENV, N) \
- PROTECT((S) = (T) = allocList((N))); \
- SET_TYPEOF((T), LANGSXP); \
+ PROTECT((S) = (T) = LCONS(R_NilValue, allocList((N)-1))); \
SETCAR((T), findFun(install((NAME)), (ENV))); \
(T) = CDR((T))
#define CSET_CDR(T, NAME, VALUE) \
diff --git a/src/io.c b/src/io.c
index 25a0111..9cf4bf8 100644
--- a/src/io.c
+++ b/src/io.c
@@ -46,9 +46,9 @@ SEXP write_fastq(SEXP id, SEXP sread, SEXP quality,
SEXP fname, SEXP fmode, SEXP full, SEXP compress,
SEXP max_width)
{
- if (!(IS_S4_OBJECT(id) && strcmp(get_classname(id), "BStringSet") == 0))
+ if (!(Rf_isS4(id) && strcmp(get_classname(id), "BStringSet") == 0))
Rf_error("'%s' must be '%s'", "id", "BStringSet");
- if (!(IS_S4_OBJECT(sread) &&
+ if (!(Rf_isS4(sread) &&
strcmp(get_classname(sread), "DNAStringSet") == 0))
Rf_error("'%s' must be '%s'", "sread", "DNAStringSet");
/* check in R -- C-level R_check_super... is not adequate */
@@ -693,14 +693,14 @@ int _solexa_export_make_id(SEXP result)
*x = INTEGER(VECTOR_ELT(result, SLX_X)),
*y = INTEGER(VECTOR_ELT(result, SLX_Y)), *pairedReadNumber = NULL;
const SEXP
- * run = STRING_PTR(VECTOR_ELT(result, SLX_RUN)),
+ * run = STRING_PTR_RO(VECTOR_ELT(result, SLX_RUN)),
*multiplexIndex = NULL,
- *machine = STRING_PTR(VECTOR_ELT(result, SLX_MACHINE));
+ *machine = STRING_PTR_RO(VECTOR_ELT(result, SLX_MACHINE));
const Rboolean
withMultiplexIndex = R_NilValue != VECTOR_ELT(result, SLX_MULTIPLEX),
withPairedReadNumber = R_NilValue != VECTOR_ELT(result, SLX_PAIRID);
if (withMultiplexIndex)
- multiplexIndex = STRING_PTR(VECTOR_ELT(result, SLX_MULTIPLEX));
+ multiplexIndex = STRING_PTR_RO(VECTOR_ELT(result, SLX_MULTIPLEX));
if (withPairedReadNumber)
pairedReadNumber = INTEGER(VECTOR_ELT(result, SLX_PAIRID));
--
2.52.0
From 2e3368a35e3955a0a92b7f3e2c8dface6709d135 Mon Sep 17 00:00:00 2001
From: vjcitn <stvjc@channing.harvard.edu>
Date: Thu, 16 Apr 2026 16:54:15 +0000
Subject: [PATCH] fixapi
---
src/util.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/util.c b/src/util.c
index 4a10a90..59c089b 100644
--- a/src/util.c
+++ b/src/util.c
@@ -6,6 +6,14 @@ unsigned char _bDecode(char);
unsigned char _dnaDecode(char);
unsigned char _rnaDecode(char);
+
+#include <Rversion.h>
+
+#if R_VERSION < R_Version(4, 6, 0)
+# define R_getVar(x,y,z) findVar(x,y)
+#endif
+
+
/*
* Encode / decode XString wrappers
*/
@@ -80,7 +88,7 @@ SEXP _get_namespace(const char *pkg)
SEXP _get_strand_levels()
{
SEXP nmspc = PROTECT(_get_namespace("ShortRead"));
- SEXP ans = eval(findVar(install(".STRAND_LEVELS"), nmspc), nmspc);
+ SEXP ans = eval(R_getVar(install(".STRAND_LEVELS"), nmspc, TRUE), nmspc);
UNPROTECT(1);
return ans;
}
--
2.52.0

View File

@@ -0,0 +1,412 @@
From 803cda41994a22890e0a6e379e6588084d4bc91b Mon Sep 17 00:00:00 2001
From: vjcitn <stvjc@channing.harvard.edu>
Date: Fri, 13 Mar 2026 04:04:59 -0400
Subject: [PATCH 1/2] fixed non-API except for IS_S4_OBJECT
---
src/bind.c | 8 ++++----
src/glm_test_R.c | 20 ++++++++++----------
src/imputation.c | 8 ++++----
src/input.c | 2 +-
src/plink.c | 2 +-
src/read_uncertain.c | 4 ++--
src/readped.c | 2 +-
src/single_snp_tests.c | 8 ++++----
src/snp_summary.c | 8 ++++----
src/snpmpy.c | 8 ++++----
src/structure.c | 4 ++--
src/subset.c | 2 +-
src/switch.c | 2 +-
src/tdt.c | 8 ++++----
src/testBig.c | 2 +-
15 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/src/bind.c b/src/bind.c
index 44b1536..fa87e7c 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -19,7 +19,7 @@ SEXP snp_rbind(SEXP args) {
const SEXP This = CAR(args);
Class = getAttrib(This, R_ClassSymbol);
if (TYPEOF(Class) != STRSXP) {
- Class = R_data_class(This, FALSE);
+ Class = R_class(This);
}
const char *cli = CHAR(STRING_ELT(Class, 0));
if(!IS_S4_OBJECT(This)) {
@@ -66,7 +66,7 @@ SEXP snp_rbind(SEXP args) {
SEXP Result, Rnames, Dnames, Diploid = R_NilValue;
PROTECT(Result = allocMatrix(RAWSXP, nr, nc));
classgets(Result, duplicate(Class));
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
PROTECT(Rnames = allocVector(STRSXP, nr));
PROTECT(Dnames = allocVector(VECSXP, 2));
SET_VECTOR_ELT(Dnames, 0, Rnames);
@@ -148,7 +148,7 @@ SEXP snp_cbind(SEXP args) {
SEXP This = CAR(args);
Class = getAttrib(This, R_ClassSymbol);
if (TYPEOF(Class) != STRSXP) {
- Class = R_data_class(This, FALSE);
+ Class = R_class(This);
}
const char *cli = CHAR(STRING_ELT(Class, 0));
if(!IS_S4_OBJECT(This)) {
@@ -205,7 +205,7 @@ SEXP snp_cbind(SEXP args) {
SEXP Result, Cnames, Dnames;
PROTECT(Result = allocMatrix(RAWSXP, nr, nc));
classgets(Result, duplicate(Class));
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
PROTECT(Dnames = allocVector(VECSXP, 2));
setAttrib(Result, R_DimNamesSymbol, Dnames);
PROTECT(Cnames = allocVector(STRSXP, nc));
diff --git a/src/glm_test_R.c b/src/glm_test_R.c
index d865182..dc8ebef 100644
--- a/src/glm_test_R.c
+++ b/src/glm_test_R.c
@@ -19,8 +19,8 @@ SEXP snp_lhs_score(const SEXP Y, const SEXP X, const SEXP Stratum,
/* Y should be a SnpMatrix or an XSnpMatrix */
const char *classY = NULL;
- if (TYPEOF(R_data_class(Y, FALSE)) == STRSXP) {
- classY = CHAR(STRING_ELT(R_data_class(Y, FALSE), 0));
+ if (TYPEOF(R_class(Y)) == STRSXP) {
+ classY = CHAR(STRING_ELT(R_class(Y), 0));
} else {
classY = CHAR(STRING_ELT(getAttrib(Y, R_ClassSymbol), 0));
}
@@ -431,8 +431,8 @@ SEXP snp_rhs_score(SEXP Y, SEXP family, SEXP link,
/* Z should be a SnpMatrix or an XSnpMatrix */
const char *classZ = NULL;
- if (TYPEOF(R_data_class(Z, FALSE)) == STRSXP) {
- classZ = CHAR(STRING_ELT(R_data_class(Z, FALSE), 0));
+ if (TYPEOF(R_class(Z)) == STRSXP) {
+ classZ = CHAR(STRING_ELT(R_class(Z), 0));
} else {
classZ = CHAR(STRING_ELT(getAttrib(Z, R_ClassSymbol), 0));
}
@@ -1003,8 +1003,8 @@ SEXP snp_lhs_estimate(const SEXP Y, const SEXP X, const SEXP Stratum,
/* Y should be a SnpMatrix or an XSnpMatrix */
const char *classY = NULL;
- if (TYPEOF(R_data_class(Y, FALSE)) == STRSXP) {
- classY = CHAR(STRING_ELT(R_data_class(Y, FALSE), 0));
+ if (TYPEOF(R_class(Y)) == STRSXP) {
+ classY = CHAR(STRING_ELT(R_class(Y), 0));
} else {
classY = CHAR(STRING_ELT(getAttrib(Y, R_ClassSymbol), 0));
}
@@ -1286,7 +1286,7 @@ SEXP snp_lhs_estimate(const SEXP Y, const SEXP X, const SEXP Stratum,
LOGICAL(Lhs)[0] = 1;
setAttrib(Estimates, install("snpLHS"), Lhs);
UNPROTECT(6);
- SET_S4_OBJECT(Estimates);
+ Rf_asS4(Estimates, TRUE, 0);
return(Estimates);
}
@@ -1360,8 +1360,8 @@ SEXP snp_rhs_estimate(SEXP Y, SEXP family, SEXP link,
/* Z should be a SnpMatrix or an XSnpMatrix */
const char *classZ = NULL;
- if (TYPEOF(R_data_class(Z, FALSE)) == STRSXP) {
- classZ = CHAR(STRING_ELT(R_data_class(Z, FALSE), 0));
+ if (TYPEOF(R_class(Z)) == STRSXP) {
+ classZ = CHAR(STRING_ELT(R_class(Z), 0));
} else {
classZ = CHAR(STRING_ELT(getAttrib(Z, R_ClassSymbol), 0));
}
@@ -1724,7 +1724,7 @@ SEXP snp_rhs_estimate(SEXP Y, SEXP family, SEXP link,
UNPROTECT(gen_names? 7: 6);
- SET_S4_OBJECT(Estimates);
+ Rf_asS4(Estimates, TRUE, 0);
return(Estimates);
}
diff --git a/src/imputation.c b/src/imputation.c
index ff9403b..d796c1b 100644
--- a/src/imputation.c
+++ b/src/imputation.c
@@ -77,7 +77,7 @@ SEXP snp_impute(const SEXP X, const SEXP Y, const SEXP Xord, const SEXP Yord,
int *diploid = NULL;
SEXP cl = GET_CLASS(X);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(X, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(X); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP Diploid = R_do_slot(X, mkString("diploid"));
@@ -395,7 +395,7 @@ SEXP snp_impute(const SEXP X, const SEXP Y, const SEXP Xord, const SEXP Yord,
PROTECT(Maxpred = allocVector(INTSXP, 1));
INTEGER(Maxpred)[0] = maxpred;
setAttrib(Result, install("Max.predictors"), Maxpred);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
/* Tidy up */
@@ -701,7 +701,7 @@ SEXP impute_snps(const SEXP Rules, const SEXP Snps, const SEXP Subset,
int *diploid_in=NULL, *diploid=NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP Diploid = R_do_slot(Snps, mkString("diploid"));
@@ -753,7 +753,7 @@ SEXP impute_snps(const SEXP Rules, const SEXP Snps, const SEXP Subset,
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
}
PROTECT(Dimnames = allocVector(VECSXP, 2));
SET_VECTOR_ELT(Dimnames, 0, VECTOR_ELT(names, 0));
diff --git a/src/input.c b/src/input.c
index 1d2a95b..60cdad8 100644
--- a/src/input.c
+++ b/src/input.c
@@ -330,7 +330,7 @@ SEXP insnp_new(const SEXP Filenames, const SEXP Sample_id, const SEXP Snp_id,
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
unsigned char *result = RAW(Result);
memset(result, 0x00, Nsample*Nsnp);
diff --git a/src/plink.c b/src/plink.c
index a413440..9095c2d 100644
--- a/src/plink.c
+++ b/src/plink.c
@@ -59,7 +59,7 @@ SEXP readbed(SEXP Bed, SEXP Id, SEXP Snps, SEXP Rsel, SEXP Csel) {
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
unsigned char *result = RAW(Result);
R_xlen_t ncell = (R_xlen_t)nrow*(R_xlen_t)ncol;
diff --git a/src/read_uncertain.c b/src/read_uncertain.c
index 2e3b901..fd82617 100644
--- a/src/read_uncertain.c
+++ b/src/read_uncertain.c
@@ -137,7 +137,7 @@ SEXP read_mach(const SEXP Filename, const SEXP Colnames, const SEXP Nsubject) {
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
UNPROTECT(2);
/* Read in data */
@@ -278,7 +278,7 @@ SEXP read_impute(const SEXP Filename, const SEXP Rownames, const SEXP Nsnp,
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
UNPROTECT(2);
char buffer[BUFFERSIZE];
diff --git a/src/readped.c b/src/readped.c
index 4e8563e..020d05f 100644
--- a/src/readped.c
+++ b/src/readped.c
@@ -327,7 +327,7 @@ SEXP readped(SEXP filename, SEXP snp_names, SEXP missing, SEXP X, SEXP sep) {
else
SET_STRING_ELT(SMClass, 0, mkChar("SnpMatrix"));
classgets(Smat, SMClass);
- SET_S4_OBJECT(Smat);
+ Rf_asS4(Smat, TRUE, 0);
PROTECT(DimNames = allocVector(VECSXP, 2));
SET_VECTOR_ELT(DimNames, 0, duplicate(Rnames));
protected += 2;
diff --git a/src/single_snp_tests.c b/src/single_snp_tests.c
index a242e17..08bd098 100644
--- a/src/single_snp_tests.c
+++ b/src/single_snp_tests.c
@@ -53,8 +53,8 @@ SEXP score_single(const SEXP Phenotype, const SEXP Stratum, const SEXP Snps,
/* SNPs ---- should be a SnpMatrix or an XSnpMatrix */
const char *classS = NULL;
- if (TYPEOF(R_data_class(Snps, FALSE)) == STRSXP) {
- classS = CHAR(STRING_ELT(R_data_class(Snps, FALSE), 0));
+ if (TYPEOF(R_class(Snps)) == STRSXP) {
+ classS = CHAR(STRING_ELT(R_class(Snps), 0));
} else {
classS = CHAR(STRING_ELT(getAttrib(Snps, R_ClassSymbol), 0));
}
@@ -108,8 +108,8 @@ SEXP score_single(const SEXP Phenotype, const SEXP Stratum, const SEXP Snps,
index_db name_index;
if (!isNull(Rules)) {
const char *classR = NULL;
- if (TYPEOF(R_data_class(Rules, FALSE)) == STRSXP) {
- classR = CHAR(STRING_ELT(R_data_class(Rules, FALSE), 0));
+ if (TYPEOF(R_class(Rules)) == STRSXP) {
+ classR = CHAR(STRING_ELT(R_class(Rules), 0));
} else {
classR = CHAR(STRING_ELT(getAttrib(Rules, R_ClassSymbol), 0));
}
diff --git a/src/snp_summary.c b/src/snp_summary.c
index 9b53693..6f181c9 100644
--- a/src/snp_summary.c
+++ b/src/snp_summary.c
@@ -47,8 +47,8 @@ SEXP X_snp_summary(const SEXP Snps, const SEXP Rules, const SEXP Uncertain) {
SEXP ruleNames = R_NilValue;
if (!isNull(Rules)) {
const char *classR = NULL;
- if (TYPEOF(R_data_class(Rules, FALSE)) == STRSXP) {
- classR = CHAR(STRING_ELT(R_data_class(Rules, FALSE), 0));
+ if (TYPEOF(R_class(Rules)) == STRSXP) {
+ classR = CHAR(STRING_ELT(R_class(Rules), 0));
} else {
classR = CHAR(STRING_ELT(getAttrib(Rules, R_ClassSymbol), 0));
}
@@ -321,8 +321,8 @@ SEXP snp_summary(const SEXP Snps, const SEXP Rules, const SEXP Uncertain) {
SEXP ruleNames = R_NilValue;
if (!isNull(Rules)) {
const char *classR = NULL;
- if (TYPEOF(R_data_class(Rules, FALSE)) == STRSXP) {
- classR = CHAR(STRING_ELT(R_data_class(Rules, FALSE), 0));
+ if (TYPEOF(R_class(Rules)) == STRSXP) {
+ classR = CHAR(STRING_ELT(R_class(Rules), 0));
} else {
classR = CHAR(STRING_ELT(getAttrib(Rules, R_ClassSymbol), 0));
}
diff --git a/src/snpmpy.c b/src/snpmpy.c
index 2447048..56b84d9 100644
--- a/src/snpmpy.c
+++ b/src/snpmpy.c
@@ -34,7 +34,7 @@ SEXP snp_pre(const SEXP Snps, const SEXP Mat, const SEXP Frequency,
int *ifdiploid = NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP diploid = R_do_slot(Snps, mkString("diploid"));
@@ -55,7 +55,7 @@ SEXP snp_pre(const SEXP Snps, const SEXP Mat, const SEXP Frequency,
cl = GET_CLASS(Mat);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Mat, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Mat); /* S4 way of getting class attribute */
}
if (strcmp(CHAR(STRING_ELT(cl, 0)), "matrix"))
error("Argument error - Mat wrong type");
@@ -161,7 +161,7 @@ SEXP snp_post(const SEXP Snps, const SEXP Mat, const SEXP Frequency,
int *ifdiploid = NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP diploid = R_do_slot(Snps, mkString("diploid"));
@@ -182,7 +182,7 @@ SEXP snp_post(const SEXP Snps, const SEXP Mat, const SEXP Frequency,
cl = GET_CLASS(Mat);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Mat, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Mat); /* S4 way of getting class attribute */
}
if (strcmp(CHAR(STRING_ELT(cl, 0)), "matrix"))
error("Argument error - Mat wrong type");
diff --git a/src/structure.c b/src/structure.c
index 2a05635..1f9b62e 100644
--- a/src/structure.c
+++ b/src/structure.c
@@ -66,7 +66,7 @@ SEXP xxt(const SEXP Snps, const SEXP Strata, const SEXP Correct_for_missing,
int *ifDiploid = NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP Diploid = R_do_slot(Snps, mkString("diploid"));
@@ -409,7 +409,7 @@ SEXP ibs_count(const SEXP Snps, const SEXP Uncertain) {
int *ifDiploid = NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
SEXP Diploid = R_do_slot(Snps, mkString("diploid"));
diff --git a/src/subset.c b/src/subset.c
index cc7992d..4c2e2c4 100644
--- a/src/subset.c
+++ b/src/subset.c
@@ -55,7 +55,7 @@ SEXP subset(SEXP X, SEXP Rows, SEXP Cols) {
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Rclass, install("package"), Package);
setAttrib(Result, R_ClassSymbol, Rclass);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
PROTECT(Rdim = allocVector(INTSXP, 2));
int *rdim = INTEGER(Rdim);
rdim[0] = nrows;
diff --git a/src/switch.c b/src/switch.c
index 60f7e6c..e2a3287 100644
--- a/src/switch.c
+++ b/src/switch.c
@@ -16,7 +16,7 @@ SEXP test_switch(const SEXP Snps, const SEXP Snps2, const SEXP Split,
int *female = NULL;
SEXP cl = GET_CLASS(Snps);
if (TYPEOF(cl) != STRSXP) {
- cl = R_data_class(Snps, FALSE); /* S4 way of getting class attribute */
+ cl = R_class(Snps); /* S4 way of getting class attribute */
}
SEXP diploid = NULL;
if (!strcmp(CHAR(STRING_ELT(cl, 0)), "XSnpMatrix")) {
diff --git a/src/tdt.c b/src/tdt.c
index cece0d9..000d1c7 100644
--- a/src/tdt.c
+++ b/src/tdt.c
@@ -43,8 +43,8 @@ SEXP score_tdt(const SEXP Proband, const SEXP Father, const SEXP Mother,
/* SNPs ---- should be a SnpMatrix or an XSnpMatrix */
const char *classS = NULL;
- if (TYPEOF(R_data_class(Snps, FALSE)) == STRSXP) {
- classS = CHAR(STRING_ELT(R_data_class(Snps, FALSE), 0));
+ if (TYPEOF(R_class(Snps)) == STRSXP) {
+ classS = CHAR(STRING_ELT(R_class(Snps), 0));
} else {
classS = CHAR(STRING_ELT(getAttrib(Snps, R_ClassSymbol), 0));
}
@@ -84,8 +84,8 @@ SEXP score_tdt(const SEXP Proband, const SEXP Father, const SEXP Mother,
GTYPE **gt2ht = NULL;
if (!isNull(Rules)) {
const char *classR = NULL;
- if (TYPEOF(R_data_class(Rules, FALSE)) == STRSXP) {
- classR = CHAR(STRING_ELT(R_data_class(Rules, FALSE), 0));
+ if (TYPEOF(R_class(Rules)) == STRSXP) {
+ classR = CHAR(STRING_ELT(R_class(Rules), 0));
} else {
classR = CHAR(STRING_ELT(getAttrib(Rules, R_ClassSymbol), 0));
}
diff --git a/src/testBig.c b/src/testBig.c
index a6eb76f..3dca1da 100644
--- a/src/testBig.c
+++ b/src/testBig.c
@@ -18,7 +18,7 @@ SEXP snp_big(SEXP nrow, SEXP ncol) {
SET_STRING_ELT(Package, 0, mkChar("snpStats"));
setAttrib(Class, install("package"), Package);
classgets(Result, Class);
- SET_S4_OBJECT(Result);
+ Rf_asS4(Result, TRUE, 0);
PROTECT(Dnames = allocVector(VECSXP, 2));
setAttrib(Result, R_DimNamesSymbol, Dnames);
--
2.52.0

View File

@@ -0,0 +1,149 @@
From a505297e347aa72510ecfc83e7009668693e1260 Mon Sep 17 00:00:00 2001
From: vjcitn <stvjc@channing.harvard.edu>
Date: Fri, 13 Mar 2026 04:06:37 -0400
Subject: [PATCH 2/2] fixed IS_S4_OBJECT
---
src/bind.c | 4 ++--
src/fst.c | 2 +-
src/glm_test_R.c | 8 ++++----
src/single_snp_tests.c | 2 +-
src/snp_summary.c | 6 +++---
src/tdt.c | 2 +-
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/bind.c b/src/bind.c
index fa87e7c..b3ef928 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -22,7 +22,7 @@ SEXP snp_rbind(SEXP args) {
Class = R_class(This);
}
const char *cli = CHAR(STRING_ELT(Class, 0));
- if(!IS_S4_OBJECT(This)) {
+ if(!Rf_isS4(This)) {
warning("rbinding SnpMatrix object without S4 object bit");
}
int nci = ncols(This);
@@ -151,7 +151,7 @@ SEXP snp_cbind(SEXP args) {
Class = R_class(This);
}
const char *cli = CHAR(STRING_ELT(Class, 0));
- if(!IS_S4_OBJECT(This)) {
+ if(!Rf_isS4(This)) {
warning("cbinding SnpMatrix object without S4 object bit");
}
SEXP Di = R_NilValue;
diff --git a/src/fst.c b/src/fst.c
index bbc39c0..5451a51 100644
--- a/src/fst.c
+++ b/src/fst.c
@@ -23,7 +23,7 @@ SEXP Fst(SEXP Snps, SEXP Group, SEXP HapMap) {
ifX = 0; /* to avoid warning message */
error("Argument error - class(Snps)");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
diff --git a/src/glm_test_R.c b/src/glm_test_R.c
index dc8ebef..fe9d9c8 100644
--- a/src/glm_test_R.c
+++ b/src/glm_test_R.c
@@ -24,7 +24,7 @@ SEXP snp_lhs_score(const SEXP Y, const SEXP X, const SEXP Stratum,
} else {
classY = CHAR(STRING_ELT(getAttrib(Y, R_ClassSymbol), 0));
}
- if(!IS_S4_OBJECT(Y)) {
+ if(!Rf_isS4(Y)) {
error("Y in snp_lhs_score is missing S4 Object bit");
}
int ifX = 0;
@@ -443,7 +443,7 @@ SEXP snp_rhs_score(SEXP Y, SEXP family, SEXP link,
ifX = 1;
else
error("Argument error - class(Z)");
- if (!IS_S4_OBJECT(Z)) {
+ if (!Rf_isS4(Z)) {
error("Z in snp_rhs_score is missing S4 Object bit");
}
@@ -1008,7 +1008,7 @@ SEXP snp_lhs_estimate(const SEXP Y, const SEXP X, const SEXP Stratum,
} else {
classY = CHAR(STRING_ELT(getAttrib(Y, R_ClassSymbol), 0));
}
- if(!IS_S4_OBJECT(Y)) {
+ if(!Rf_isS4(Y)) {
error("Y in snp_lhs_score is missing S4 Object bit");
}
int ifX = 0;
@@ -1365,7 +1365,7 @@ SEXP snp_rhs_estimate(SEXP Y, SEXP family, SEXP link,
} else {
classZ = CHAR(STRING_ELT(getAttrib(Z, R_ClassSymbol), 0));
}
- if(!IS_S4_OBJECT(Z)) {
+ if(!Rf_isS4(Z)) {
error("Z in snp_rhs_score is missing S4 Object bit");
}
int ifX = 0;
diff --git a/src/single_snp_tests.c b/src/single_snp_tests.c
index 08bd098..b577300 100644
--- a/src/single_snp_tests.c
+++ b/src/single_snp_tests.c
@@ -67,7 +67,7 @@ SEXP score_single(const SEXP Phenotype, const SEXP Stratum, const SEXP Snps,
ifX = 0; /* to avoid warning message */
error("Argument error - class(Snps)");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
diff --git a/src/snp_summary.c b/src/snp_summary.c
index 6f181c9..c2f1c73 100644
--- a/src/snp_summary.c
+++ b/src/snp_summary.c
@@ -24,7 +24,7 @@ SEXP X_snp_summary(const SEXP Snps, const SEXP Rules, const SEXP Uncertain) {
if (Snps == R_NilValue) {
error("Argument error - Snps = NULL");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
const unsigned char *snps = RAW(Snps);
@@ -298,7 +298,7 @@ SEXP snp_summary(const SEXP Snps, const SEXP Rules, const SEXP Uncertain) {
if (Snps == R_NilValue) {
error("Argument error - Snps = NULL");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
const unsigned char *snps = RAW(Snps);
@@ -538,7 +538,7 @@ SEXP row_summary(const SEXP Snps) {
if (Snps == R_NilValue) {
error("Argument error - Snps = NULL");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
const unsigned char *snps = RAW(Snps);
diff --git a/src/tdt.c b/src/tdt.c
index 000d1c7..634e1b3 100644
--- a/src/tdt.c
+++ b/src/tdt.c
@@ -57,7 +57,7 @@ SEXP score_tdt(const SEXP Proband, const SEXP Father, const SEXP Mother,
ifX = 0; /* to avoid warning message */
error("Argument error - class(Snps)");
}
- if(!IS_S4_OBJECT(Snps)) {
+ if(!Rf_isS4(Snps)) {
error("Argument error - Snps is not S4 object");
}
--
2.52.0

View File

@@ -0,0 +1,259 @@
From 633aa6e3f671e9b58b3508b3944ff0dd45f34f8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Thu, 5 Mar 2026 14:58:23 -0800
Subject: [PATCH] SparseArray 1.11.11: Get rid of non-API calls to R
From 65383c02f986832b1416c6ad39da800d8ced05df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20Pag=C3=A8s?= <hpages.on.github@gmail.com>
Date: Tue, 31 Mar 2026 11:38:20 -0700
Subject: [PATCH] SparseArray 1.11.13: Use R_getVar() instead of findVar() when
R >= 4.6.0
---
DESCRIPTION | 2 +-
src/Makevars | 1 +
src/Rvector_utils.c | 15 ++++++++-------
src/SparseArray_aperm.c | 2 +-
src/SparseArray_matrixStats.c | 5 +++--
src/SparseArray_subassignment.c | 6 +++---
src/SparseVec.h | 3 ++-
src/leaf_utils.c | 5 +++--
src/test.c | 3 +++
9 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/src/Makevars b/src/Makevars
index 0ee3615..1c5b86e 100644
--- a/src/Makevars
+++ b/src/Makevars
@@ -1,2 +1,3 @@
+## See https://cran.r-project.org/doc/manuals/r-release/R-exts.html#OpenMP-support
PKG_CFLAGS = $(SHLIB_OPENMP_CFLAGS)
PKG_LIBS = $(SHLIB_OPENMP_CFLAGS)
diff --git a/src/Rvector_utils.c b/src/Rvector_utils.c
index ad80168..7e61ac1 100644
--- a/src/Rvector_utils.c
+++ b/src/Rvector_utils.c
@@ -4,6 +4,7 @@
****************************************************************************/
#include "Rvector_utils.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <string.h> /* for memset() and memcpy() */
@@ -242,7 +243,7 @@ void _fill_Rvector_block_with_val(SEXP Rvector,
(const SEXP) val);
return;
}
- _set_elts_to_val(TYPEOF(Rvector), DATAPTR(Rvector),
+ _set_elts_to_val(TYPEOF(Rvector), DATAPTR_RW(Rvector),
block_offset, block_len, val);
}
@@ -260,7 +261,7 @@ void _fill_Rvector_block_with_zeros(SEXP Rvector,
R_NilValue);
return;
}
- _set_elts_to_zero(Rtype, DATAPTR(Rvector), block_offset, block_len);
+ _set_elts_to_zero(Rtype, DATAPTR_RW(Rvector), block_offset, block_len);
return;
}
@@ -268,7 +269,7 @@ void _fill_Rvector_block_with_zeros(SEXP Rvector,
void _fill_Rvector_block_with_ones(SEXP Rvector,
R_xlen_t block_offset, R_xlen_t block_len)
{
- _set_elts_to_one(TYPEOF(Rvector), DATAPTR(Rvector),
+ _set_elts_to_one(TYPEOF(Rvector), DATAPTR_RW(Rvector),
block_offset, block_len);
return;
}
@@ -277,7 +278,7 @@ void _fill_Rvector_block_with_ones(SEXP Rvector,
void _fill_Rvector_block_with_minus_one(SEXP Rvector,
R_xlen_t block_offset, R_xlen_t block_len)
{
- _set_elts_to_minus_one(TYPEOF(Rvector), DATAPTR(Rvector),
+ _set_elts_to_minus_one(TYPEOF(Rvector), DATAPTR_RW(Rvector),
block_offset, block_len);
return;
}
@@ -293,7 +294,7 @@ void _fill_Rvector_block_with_NA(SEXP Rvector,
NA_STRING);
return;
}
- _set_elts_to_NA(Rtype, DATAPTR(Rvector), block_offset, block_len);
+ _set_elts_to_NA(Rtype, DATAPTR_RW(Rvector), block_offset, block_len);
return;
}
@@ -460,7 +461,7 @@ void _fill_Rvector_subset_with_zeros(SEXP Rvector,
R_NilValue);
return;
}
- _set_selected_elts_to_zero(Rtype, DATAPTR(Rvector),
+ _set_selected_elts_to_zero(Rtype, DATAPTR_RW(Rvector),
selection, selection_len, selection_offset);
return;
}
@@ -470,7 +471,7 @@ void _fill_Rvector_subset_with_ones(SEXP Rvector,
const int *selection, int selection_len,
R_xlen_t selection_offset)
{
- _set_selected_elts_to_one(TYPEOF(Rvector), DATAPTR(Rvector),
+ _set_selected_elts_to_one(TYPEOF(Rvector), DATAPTR_RW(Rvector),
selection, selection_len, selection_offset);
return;
}
diff --git a/src/SparseArray_aperm.c b/src/SparseArray_aperm.c
index 0bd092e..bbeaf2c 100644
--- a/src/SparseArray_aperm.c
+++ b/src/SparseArray_aperm.c
@@ -721,7 +721,7 @@ static SEXP REC_grow_output_tree(const int *dim, int ndim,
const type *nzvals_p = NULL; /* -Wmaybe-uninitialized */ \
type v; \
if (nzvals != R_NilValue) { /* standard leaf */ \
- nzvals_p = (const type *) DATAPTR(nzvals); \
+ nzvals_p = DATAPTR_RO(nzvals); \
} else { /* lacunar leaf */ \
v = type ## 1; \
} \
diff --git a/src/SparseArray_matrixStats.c b/src/SparseArray_matrixStats.c
index b626553..debacf6 100644
--- a/src/SparseArray_matrixStats.c
+++ b/src/SparseArray_matrixStats.c
@@ -16,6 +16,7 @@
#include "leaf_utils.h"
#include "SparseArray_summarization.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <string.h> /* for memcpy() and memset() */
@@ -272,7 +273,7 @@ SEXP C_colStats_SVT(SEXP x_dim, SEXP x_dimnames, SEXP x_type,
int warn = 0;
REC_colStats_SVT(x_SVT, x_bg_is_na, INTEGER(x_dim), LENGTH(x_dim),
&summarize_op,
- DATAPTR(ans), ans_Rtype,
+ DATAPTR_RW(ans), ans_Rtype,
out_incs, ans_ndim, pardim,
&warn);
if (warn)
@@ -1175,7 +1176,7 @@ SEXP C_rowStats_SVT(SEXP x_dim, SEXP x_dimnames, SEXP x_type,
SVT_rowMinsMaxs(x_SVT, x_Rtype, x_bg_is_na,
INTEGER(x_dim), LENGTH(x_dim),
opcode, narm,
- DATAPTR(ans), LENGTH(ans), ans_Rtype,
+ DATAPTR_RW(ans), LENGTH(ans), ans_Rtype,
out_incs, ans_ndim, nstrata);
break;
case SUM_OPCODE:
diff --git a/src/SparseArray_subassignment.c b/src/SparseArray_subassignment.c
index 4cf1c3d..c3b2d5e 100644
--- a/src/SparseArray_subassignment.c
+++ b/src/SparseArray_subassignment.c
@@ -966,13 +966,13 @@ static inline int next_coords0(NindexIterator *Nindex_iter)
midx_p++;
coords0_p++;
}
- printf("coords0: ");
+ //printf("coords0: ");
coords0_p = Nindex_iter->coords0_buf;
for (along = Nindex_iter->margin; along < Nindex_iter->ndim; along++) {
- printf(" %3d", *coords0_p);
+ //printf(" %3d", *coords0_p);
coords0_p++;
}
- printf("\n");
+ //printf("\n");
return 1;
}
diff --git a/src/SparseVec.h b/src/SparseVec.h
index 894709b..73cd841 100644
--- a/src/SparseVec.h
+++ b/src/SparseVec.h
@@ -5,6 +5,7 @@
#include "Rvector_utils.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <limits.h> /* for INT_MAX */
@@ -122,7 +123,7 @@ static inline SparseVec toSparseVec(SEXP nzvals, SEXP nzoffs,
if (IS_STRSXP_OR_VECSXP(Rtype)) {
sv.nzvals = nzvals;
} else {
- sv.nzvals = DATAPTR(nzvals);
+ sv.nzvals = DATAPTR_RW(nzvals);
}
}
sv.nzoffs = INTEGER(nzoffs);
diff --git a/src/leaf_utils.c b/src/leaf_utils.c
index e8066c3..c5ff3aa 100644
--- a/src/leaf_utils.c
+++ b/src/leaf_utils.c
@@ -10,6 +10,7 @@
#include "SparseVec_subsetting.h"
#include "SparseVec_subassignment.h"
+#include <R_ext/Altrep.h> /* only for DATAPTR_RW() */
#include <string.h> /* for memcpy() */
@@ -129,7 +130,7 @@ SEXP _make_leaf_from_two_arrays(SEXPTYPE Rtype,
return ans;
}
ans_nzvals = PROTECT(allocVector(Rtype, nzcount));
- memcpy(DATAPTR(ans_nzvals), nzvals_p, Rtype_size * nzcount);
+ memcpy(DATAPTR_RW(ans_nzvals), nzvals_p, Rtype_size * nzcount);
}
SEXP ans = zip_leaf(ans_nzvals, ans_nzoffs, 0);
UNPROTECT(2);
@@ -156,7 +157,7 @@ static SEXP make_leaf_from_Rvector_subset(SEXP Rvector,
if (avoid_copy_if_all_selected &&
selection_offset == 0 && selection_len == XLENGTH(Rvector) &&
- ATTRIB(Rvector) == R_NilValue)
+ !ANY_ATTRIB(Rvector))
{
/* The full 'Rvector' is selected so can be reused as-is
with no need to copy the selected elements to a new SEXP. */
diff --git a/src/test.c b/src/test.c
index 493538f..2205fa2 100644
--- a/src/test.c
+++ b/src/test.c
@@ -111,6 +111,9 @@ SEXP C_simple_omp_parallel_for_loop(SEXP nloop)
for (int i = 0; i < INTEGER(nloop)[0]; i++) {
#ifdef _OPENMP
int thread_num = omp_get_thread_num();
+ /* Can't use Rprintf() here because it's not thread-safe (it
+ can trigger R's garbage collector which itself is not
+ thread-safe). */
printf("thread_num = %d\n", thread_num);
#endif
}
diff --git a/src/readSparseCSV.c b/src/readSparseCSV.c
index a3d8da0..de1cb95 100644
--- a/src/readSparseCSV.c
+++ b/src/readSparseCSV.c
@@ -11,6 +11,7 @@
#include "ExtendableJaggedArray.h"
#include <R_ext/Connections.h>
+#include <Rversion.h>
#include <string.h> /* for memcpy() */
@@ -111,7 +112,11 @@ static SEXP dump_env_as_list_or_R_NilValue(SEXP env, int ans_len)
is_empty = 1;
for (i = 0; i < ans_len; i++) {
key = PROTECT(idx0_to_key(i));
+#if R_VERSION < R_Version(4, 6, 0)
ans_elt = findVar(install(translateChar(key)), env);
+#else
+ ans_elt = R_getVar(install(translateChar(key)), env, FALSE);
+#endif
UNPROTECT(1);
if (ans_elt == R_UnboundValue)
continue;

View File

@@ -0,0 +1,25 @@
Author: Danny Milosavljevic <dannym@friendly-machines.com>
Date: 2026-04-26
License: ASL2.0
Subject: Stub CodeModeTurnHost::invoke_tool signature uses ToolName.
In codex 0.117 the upstream trait took `tool_name: String`, so the
disable-code-mode patch's `cfg(not(feature = "v8-runtime"))` stub used
String to match. In codex 0.124 the upstream trait takes
`codex_protocol::ToolName`, and core/src/tools/code_mode/mod.rs's impl
of CodeModeTurnHost passes `ToolName`, so the stub must match the new
signature here too. This patch is applied only to codex 0.124+ on top
of the shared disable-code-mode patch; codex-acp (which still pins
rust-v0.117.0 where code-mode has no codex-protocol dep) keeps the
String-based stub.
--- a/codex-rs/code-mode/src/lib.rs
+++ b/codex-rs/code-mode/src/lib.rs
@@ -77,7 +77,7 @@
#[cfg(not(feature = "v8-runtime"))]
#[async_trait::async_trait]
pub trait CodeModeTurnHost: Send + Sync {
- async fn invoke_tool(&self, tool_name: String, input: Option<serde_json::Value>, cancellation_token: tokio_util::sync::CancellationToken) -> Result<serde_json::Value, String>;
+ async fn invoke_tool(&self, tool_name: codex_protocol::ToolName, input: Option<serde_json::Value>, cancellation_token: tokio_util::sync::CancellationToken) -> Result<serde_json::Value, String>;
async fn notify(&self, call_id: String, cell_id: String, text: String) -> Result<(), String>;
}

View File

@@ -0,0 +1,29 @@
Author: Danny Milosavljevic <dannym@friendly-machines.com>
Date: 2026-04-23
License: ASL2.0
Subject: Remove [patch.crates-io] and [patch.'ssh://...'] sections.
The [patch] sections point to git repositories which are unavailable
in an offline build. The vendored crossterm, ratatui,
tokio-tungstenite and tungstenite forks are provided as cargo-inputs
instead.
--- a/codex-rs/Cargo.toml 2026-04-23 22:49:56.599115735 +0000
+++ b/codex-rs/Cargo.toml 2026-04-23 22:49:56.601899894 +0000
@@ -470,16 +470,3 @@
inherits = "test"
opt-level = 0
-[patch.crates-io]
-# Uncomment to debug local changes.
-# ratatui = { path = "../../ratatui" }
-crossterm = { git = "https://github.com/nornagon/crossterm", rev = "87db8bfa6dc99427fd3b071681b07fc31c6ce995" }
-ratatui = { git = "https://github.com/nornagon/ratatui", rev = "9b2ad1298408c45918ee9f8241a6f95498cdbed2" }
-tokio-tungstenite = { git = "https://github.com/openai-oss-forks/tokio-tungstenite", rev = "132f5b39c862e3a970f731d709608b3e6276d5f6" }
-tungstenite = { git = "https://github.com/openai-oss-forks/tungstenite-rs", rev = "9200079d3b54a1ff51072e24d81fd354f085156f" }
-
-# Uncomment to debug local changes.
-# rmcp = { path = "../../rust-sdk/crates/rmcp" }
-
-[patch."ssh://git@github.com/openai-oss-forks/tungstenite-rs.git"]
-tungstenite = { git = "https://github.com/openai-oss-forks/tungstenite-rs", rev = "9200079d3b54a1ff51072e24d81fd354f085156f" }

View File

@@ -237,7 +237,7 @@ it.")
(define-public trealla
(package
(name "trealla")
(version "2.93.2")
(version "2.94.4")
(source
(origin
(method git-fetch)
@@ -246,7 +246,7 @@ it.")
(url "https://github.com/trealla-prolog/trealla")
(commit (string-append "v" version))))
(sha256
(base32 "0rsqka6i51ky74mzf2xlzdzss2xnldyk1wm0f5ilas6ic6pw3hir"))
(base32 "050x9m79j1bi17mj7zzbhlnn7ia26k51qrhp5z43wsx0rpp0hfqb"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs

File diff suppressed because it is too large Load Diff

View File

@@ -1537,6 +1537,168 @@ repository, used as dependencies by codex-acp.")
and runtime for AI-assisted coding.")
(license license:asl2.0))))
(define-public rust-codex-0.124.0
(hidden-package
(package
(inherit rust-codex-0.120.0)
(version "0.124.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/openai/codex")
(commit "e9fb49366c93a1478ec71cc41ecee415a197d036")))
(file-name (git-file-name "rust-codex" "0.124.0"))
(sha256
(base32 "06il60npjnc0h91afyp3wk725cgy3ywk3hx2sbvzdxx6037z6nb0"))
(modules '((guix build utils)))
(snippet '(begin
;;; These are JSON manifests with a dotslash
;;; shebang that download and run pre-built
;;; binaries (ripgrep, bash) at runtime.
(delete-file "codex-cli/bin/rg")
;; Bundled bubblewrap source tree; includes a
;; compiled BPF blob (demos/flatpak.bpf).
(delete-file-recursively "codex-rs/vendor/bubblewrap")))
(patches (search-patches
"codex-acp-0.11.1-disable-code-mode.patch"
"rust-codex-0.124.0-code-mode-stub-toolname.patch"
"rust-codex-0.124.0-remove-patch-sections.patch"
"rust-codex-0.120.0-remove-libwebrtc.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments rust-codex-0.120.0)
;; 0.124 differs from 0.120 by a single removal
;; (codex-instructions) and ten additions placed at topo-correct
;; positions; the order also shifts in a few spots to satisfy new
;; deps (e.g. codex-utils-cargo-bin moves before codex-app-server-
;; protocol). Replace the whole list rather than computing a
;; delta against the inherited one.
((#:cargo-package-crates _)
''(;; Topologically sorted by internal dependency order.
"codex-async-utils"
"codex-utils-absolute-path"
"codex-execpolicy"
"codex-utils-home-dir"
"codex-utils-rustls-provider"
"codex-network-proxy"
"codex-utils-cache"
"codex-utils-image"
"codex-utils-string"
"codex-utils-template"
"codex-protocol"
"codex-agent-identity"
"codex-experimental-api-macros"
"codex-shell-command"
"codex-utils-cargo-bin"
"codex-app-server-protocol"
"codex-client"
"codex-api"
"codex-otel"
"codex-features"
"codex-model-provider-info"
"codex-utils-path"
"codex-config"
"codex-sandboxing"
"codex-utils-pty"
"codex-exec-server"
"codex-git-utils"
"codex-keyring-store"
"codex-terminal-detection"
"codex-login"
"codex-utils-plugins"
"codex-plugin"
"codex-analytics"
"codex-ansi-escape"
"codex-apply-patch"
"codex-code-mode"
"codex-connectors"
"codex-skills"
"codex-utils-output-truncation"
"codex-core-skills"
"codex-core-plugins"
"codex-feedback"
"codex-hooks"
"codex-rmcp-client"
"codex-mcp"
"codex-aws-auth"
"codex-model-provider"
"codex-collaboration-mode-templates"
"codex-response-debug-context"
"codex-models-manager"
"codex-file-search"
"codex-state"
"codex-rollout"
"codex-rollout-trace"
"codex-secrets"
"codex-shell-escalation"
"codex-thread-store"
"codex-tools"
"codex-utils-readiness"
"codex-utils-stream-parser"
"codex-windows-sandbox"
"codex-core"
"codex-linux-sandbox"
"codex-arg0"
"codex-backend-openapi-models"
"codex-backend-client"
"codex-utils-cli"
"codex-chatgpt"
"codex-cloud-requirements"
"codex-device-key"
"codex-utils-json-to-toml"
"codex-app-server"
"codex-app-server-client"
"codex-app-server-test-client"
"codex-cloud-tasks-client"
"codex-cloud-tasks-mock-client"
"codex-install-context"
"codex-realtime-webrtc"
"codex-utils-approval-presets"
"codex-utils-elapsed"
"codex-utils-fuzzy-match"
"codex-lmstudio"
"codex-ollama"
"codex-utils-oss"
"codex-utils-sandbox-summary"
"codex-utils-sleep-inhibitor"
"codex-exec"
"codex-mcp-server"
"codex-process-hardening"
"codex-responses-api-proxy"
"codex-uds"
"codex-stdio-to-uds"
"codex-debug-client"
"codex-execpolicy-legacy"
"codex-test-binary-support"))
((#:phases orig)
;; Two changes from the inherited phases:
;; (1) 'add-version-to-workspace-deps stamps the literal
;; 0.120.0 version inside its substitute pattern, so we
;; swap the whole phase for one stamping 0.124.0 (and
;; using a regex that also matches the codex_windows_
;; sandbox underscore alias introduced in 0.124).
;; (2) Add a new phase 'break-dev-dep-cycles to strip the
;; codex-test-binary-support dev-dep from exec-server and
;; core; it forms a cycle (test-binary-support -> arg0 ->
;; {exec-server,core} -> test-binary-support) that cargo
;; package --no-verify still rejects.
#~(modify-phases #$orig
(replace 'add-version-to-workspace-deps
(lambda _
(let ((cargo-files (find-files "." "^Cargo\\.toml$")))
(substitute* cargo-files
(("(codex[_-][a-z0-9_-]+) = \\{ path = " all name)
(string-append name " = { version = \"0.124.0\", path = "))
(("(codex[_-][a-z0-9_-]+) = \\{ package = " all name)
(string-append name " = { version = \"0.124.0\", package = "))
(("^(path = \"\\.\\./[^\"]*\")" all path-line)
(string-append path-line "\nversion = \"0.124.0\""))))))
(add-after 'add-version-to-workspace-deps 'break-dev-dep-cycles
(lambda _
(substitute* '("exec-server/Cargo.toml" "core/Cargo.toml")
(("^codex-test-binary-support = \\{[^}]*\\}\n") ""))))))))
(inputs (cargo-inputs 'rust-codex-0.124.0)))))
;; Also update (@ (gnu packages gnome) glycin-loaders) when updating this.
(define-public rust-glycin-3
(package

View File

@@ -384,15 +384,15 @@ comparison and diagnostics.")
(define r-with-tests
(package
(name "r-with-tests")
(version "4.5.3")
(version "4.6.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cran/src/base/R-"
(version-major version) "/R-"
version ".tar.gz"))
version ".tar.xz"))
(sha256
(base32
"1wmqnm813lb58c0vwhjymnkfih3a6mq4cr9xa6n72wiw57a1wp5a"))))
"09sszy5fykpl2lyzxw5rgiabb3f5l62bqamnm7g2q9d57xlv7wli"))))
(build-system gnu-build-system)
(arguments
(list

View File

@@ -50,7 +50,7 @@
(define-public syncthing
(package
(name "syncthing")
(version "2.0.14")
(version "2.0.16")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/syncthing/syncthing"
@@ -58,7 +58,7 @@
"/syncthing-source-v" version ".tar.gz"))
(sha256
(base32
"00isf0j9nf0752wrn79nh4aj5ij5gapv1kvhrg8ydmmw1gi6rhzy"))))
"0sgij3i2mhl6m9n2d98cz86f17215kfdc3z913k8yz4n8gwkcf7r"))))
;; TODO: Build from git, remove vendor.
(build-system go-build-system)
;; The primary Syncthing executable goes to "out", while the auxiliary
@@ -73,6 +73,7 @@
#:import-path "github.com/syncthing/syncthing"
;; Check 'go.mod' in the source distribution for the required version of Go.
;; We don't need to install the source code for end-user applications.
#:go go-1.25
#:install-source? #f
#:phases
#~(modify-phases %standard-phases

View File

@@ -10,6 +10,7 @@
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2025 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2026 Nguyễn Gia Phong <cnx@loang.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
(define-module (gnu packages syndication)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
#:use-module (guix fossil-download)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -75,6 +77,33 @@
#:use-module (gnu packages xorg)
#:use-module (srfi srfi-1))
(define-public fead
(package
(name "fead")
(version "1.0.1")
(source
(origin
(method fossil-fetch)
(uri (fossil-reference
(uri "https://chim.loan/fead")
(check-in version)))
(sha256
(base32 "0fzxabmxpyd04v5ym20xhjcnh0vqdwc6z1xjrq676d2k0hr2rzz2"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ;no test
#:make-flags #~(list (string-append "PREFIX=" #$output))
#:phases #~(modify-phases %standard-phases
(delete 'configure))))
(inputs (list python))
(native-inputs (list help2man))
(home-page "https://chim.loan/fead")
(synopsis "Advert generator from web feeds")
(description "Fead a tool for advertising other blogs you like on your own
by embedding the summary of their latest posts extracted from their web feed.")
(license license:agpl3+)))
(define-public giara
(package
(name "giara")

View File

@@ -875,30 +875,29 @@ compiled, requires few libraries, and starts up quickly.")
(define-public e3
(package
(name "e3")
(version "2.82")
(source (origin
(method url-fetch)
(uri (string-append "https://sites.google.com/site/e3editor/Home/"
"e3-" version ".tgz"))
(sha256
(base32
"0919kadkas020maqq37852isnzp053q2fnws2zh3mz81d1jiviak"))
(modules '((guix build utils)))
;; Remove pre-built binaries.
(snippet '(begin
(delete-file-recursively "bin")
#t))))
(version "2.82.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/museoa/e3editor")
(commit version)))
(sha256
(base32
"1l57rxin3kv6iiw91rhjzl3bpk0gkfp3nrx7wmqikk1nycmkfbhm"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure))))
(list
#:tests? #f
#:make-flags
#~(list (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(native-inputs
(list nasm))
(home-page "https://sites.google.com/site/e3editor/")
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://codeberg.org/museoa/e3editor")
(synopsis "Tiny text editor written in assembly")
(description
"e3 is a micro text editor with an executable code size between 3800 and
@@ -907,7 +906,6 @@ of the basic functions one expects plus built in arithmetic calculations.
UTF-8 coding of unicode characters is supported as well. e3 can use
Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings. e3 can be used on
16, 32, and 64-bit CPUs.")
(supported-systems '("x86_64-linux" "i686-linux"))
(license license:gpl2+)))
(define-public mg

View File

@@ -3522,106 +3522,113 @@ modification time.")
(license license:bsd-2)))
(define-public libfossil
(let ((ci "914ed6dcaff13bf7209c9f27ccfb77c2d8fdf36b8d2133aa1590258b0708f035")
(package
(name "libfossil")
(version "0.6.0")
(source
(origin
(method fossil-fetch)
(uri (fossil-reference
(uri "https://fossil.wanderinghorse.net/r/libfossil")
(check-in version)))
(file-name (fossil-file-name name version))
(sha256
(base32 "0haaczpjnjpkiikf0q70nfabm2csdk6dl9rh80j0sh90wfvkyqwm"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "autosetup" "proj.tcl" "wh-common.tcl")
(delete-file-recursively "extsrc")
;; Re-create Fossil check-out manifests,
;; whose content does not affect in semantics.
(for-each
(lambda (file)
(call-with-output-file file (const #t)))
'("manifest" "manifest.uuid"))))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags
#~(list "--no-debug" "--no-fnc" ;TODO: C++ and Tcl binding?
(string-append "--with-sqlite="
#$(this-package-input "sqlite"))
(string-append "--soname=libfossil.so"))
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key configure-flags #:allow-other-keys)
(apply invoke "autosetup"
(string-append "--prefix=" #$output)
configure-flags)))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(substitute* "sanity-checks.sh"
;; FIXME: these tests requires a Fossil checkout.
(("\\./f-sanity.*") "")
(("\\./f-parseparty.*") ""))
(setenv "LD_LIBRARY_PATH" (getcwd))
(invoke "./sanity-checks.sh")))))))
(native-inputs (list autosetup))
(inputs (list sqlite-next zlib))
(home-page "https://fossil.wanderinghorse.net/r/libfossil")
(synopsis "Unofficial Fossil SCM Library API")
(description
"@code{libfossil} is an alternative interface into Fossil repositories,
as opposed to a replacement for the core fossil application,
intended for new ways to access and manipulate fossil repositories.")
(license license:bsd-2)))
(define-public fnc
(let ((check-in
"c158d7ac2175078b4b783157be92de38aa627dc1a237febab9ec92093420cedb")
(revision "0"))
(package
(name "libfossil")
(version (fossil-version "0.6.0" revision ci))
(name "fnc")
(version (fossil-version "0.19" revision check-in))
(source
(origin
(method fossil-fetch)
(uri (fossil-reference
(uri "https://fossil.wanderinghorse.net/r/libfossil")
(check-in ci)))
(uri "https://fnc.sh")
(check-in check-in)))
(file-name (fossil-file-name name version))
(sha256
(base32 "0a0ycnnba2izmiqjj8hgvjgjdwhpn0x36lhy3vmw4j7bhny0df52"))
(patches (search-patches "libfossil-skip-amalgamation.patch"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
(snippet
#~(begin
(define (delete-all-but directory . preserve)
(with-directory-excursion directory
(let* ((pred (negate (cut member <>
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
(delete-all-but "autosetup" "proj.tcl" "wh-common.tcl")
(delete-file-recursively "extsrc")
;; Re-create Fossil check-out manifests,
;; whose content does not affect in semantics.
(for-each
(lambda (file)
(call-with-output-file file (const #t)))
'("manifest" "manifest.uuid"))))))
(base32 "09m0bgzy0yjglsgrqq03sdq4p2rwi3y8m84979j066z1c5b444iz"))
(modules '((guix build utils)))
(snippet #~(begin
(delete-file-recursively "lib")
(substitute* (find-files "." "\\.c$")
(("^#include \"libfossil.h\"")
"#include <fossil-scm/libfossil.h>"))
(substitute* "fnc.bld.mk"
((" \\$\\{SQLITE_OBJS\\} \\$\\{FOSSIL_OBJS\\}") "")
(("-lm -lutil -lz ") "")
;; Fix cross-compiling.
(("install -s") "install"))))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags
#~(list "--no-debug" "--no-fnc" ;TODO: C++ and Tcl binding?
(string-append "--with-sqlite="
#$(this-package-input "sqlite"))
(string-append "--soname=libfossil.so"))
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key configure-flags #:allow-other-keys)
(apply invoke "autosetup"
(string-append "--prefix=" #$output)
configure-flags)))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(substitute* "sanity-checks.sh"
;; FIXME: these tests requires a Fossil checkout.
(("\\./f-sanity.*") "")
(("\\./f-parseparty.*") ""))
(setenv "LD_LIBRARY_PATH" (getcwd))
(invoke "./sanity-checks.sh")))))))
(native-inputs (list autosetup))
(inputs (list sqlite-next zlib))
(home-page "https://fossil.wanderinghorse.net/r/libfossil")
(synopsis "Unofficial Fossil SCM Library API")
(description
"@code{libfossil} is an alternative interface into Fossil repositories,
as opposed to a replacement for the core fossil application,
intended for new ways to access and manipulate fossil repositories.")
(license license:bsd-2))))
(define-public fnc
(package
(name "fnc")
(version "0.18")
(source (origin
(method url-fetch)
(uri
(string-append "https://fnc.bsdbox.org/uv/dl/fnc-"
version ".tar.gz"))
(sha256
(base32
"1067rr4nqngld1nqa8c7imp9n3w5fp7rpc7khh6l84q2w1klrya9"))))
(build-system gnu-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
(delete 'configure)
;; fix cross-compiling.
(add-after 'unpack 'don-t-use-install-s
(lambda _
(substitute* "fnc.bld.mk"
(("install -s")
"install")))))
#:tests? #f ; no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))))
(inputs (list ncurses zlib sqlite-next))
(home-page "https://fnc.bsdbox.org")
(synopsis "Interactive text-based user interface for Fossil")
(description "fnc uses ncurses and libfossil to create a fossil user
(list
#:phases #~(modify-phases %standard-phases
(delete 'configure))
#:tests? #f ;no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
"LDFLAGS=-lfossil -lsqlite3"
(string-append "PREFIX=" #$output))))
(inputs (list libfossil ncurses sqlite-next))
(home-page "https://fnc.sh")
(synopsis "Interactive text-based user interface for Fossil")
(description "fnc uses ncurses and libfossil to create a fossil user
interface in the terminal. It can view local changes at the hunk level to
prepare atomic commits.")
(license license:isc)))
(license license:isc))))
(define-public myrepos
(package

View File

@@ -232,39 +232,39 @@ with the editor vim.")))
(inherit vim)
(name "vim-full")
(arguments
(cons*
#:configure-flags
#~(list (string-append "--with-lua-prefix="
#$(this-package-input "lua"))
"--with-features=huge"
"--enable-python3interp=yes"
"--enable-perlinterp=yes"
"--enable-rubyinterp=yes"
"--enable-tclinterp=yes"
"--enable-luainterp=yes"
"--enable-cscope"
"--enable-sniff"
"--enable-multibyte"
"--enable-xim"
"--disable-selinux"
"--enable-gui")
(substitute-keyword-arguments arguments
((#:phases phases)
#~(modify-phases #$phases
(add-before 'check 'skip-some-more-tests
(lambda _
;; Fontconfig can't figure out its cache directory.
(substitute* "src/testdir/test_startup.vim"
((".*Test_progname.*" line)
(string-append line "return\n")))))
;; Some tests require an X server, but do not start one.
(add-before 'check 'start-xserver
(lambda _
(setenv "DISPLAY" ":1")
(zero? (system #$(file-append
(this-package-native-input
"xorg-server")
"/bin/Xvfb :1 &"))))))))))
(substitute-keyword-arguments arguments
((#:configure-flags flags #~'())
#~(cons* (string-append "--with-lua-prefix="
#$(this-package-input "lua"))
"--with-features=huge"
"--enable-python3interp=yes"
"--enable-perlinterp=yes"
"--enable-rubyinterp=yes"
"--enable-tclinterp=yes"
"--enable-luainterp=yes"
"--enable-cscope"
"--enable-sniff"
"--enable-multibyte"
"--enable-xim"
"--disable-selinux"
"--enable-gui"
#$flags))
((#:phases phases)
#~(modify-phases #$phases
(add-before 'check 'skip-some-more-tests
(lambda _
;; Fontconfig can't figure out its cache directory.
(substitute* "src/testdir/test_startup.vim"
((".*Test_progname.*" line)
(string-append line "return\n")))))
;; Some tests require an X server, but do not start one.
(add-before 'check 'start-xserver
(lambda _
(setenv "DISPLAY" ":1")
(zero? (system #$(file-append
(this-package-native-input
"xorg-server")
"/bin/Xvfb :1 &")))))))))
(native-inputs
(modify-inputs native-inputs
(prepend pkg-config xorg-server-for-tests)))

View File

@@ -3749,6 +3749,31 @@ productive, customizable lisp based systems.")
control module for StumpWM.")
(license license:gpl3))))
(define-public sbcl-stumpwm-acpi-backlight
(package
(name "sbcl-stumpwm-acpi-backlight")
(version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Junker/stumpwm-acpi-backlight")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1dih6fzy77f3r60fwhsk0dw3qksadzj991k1i28z0da64fpshm0a"))))
(arguments
(list
#:asd-systems ''("acpi-backlight")
#:tests? #f)) ; There are no tests.
(build-system asdf-build-system/sbcl)
(inputs (list stumpwm))
(home-page "https://github.com/Junker/stumpwm-acpi-backlight")
(synopsis "ACPI backlight control module for StumpWM")
(description
"ACPI backlight control module for StumpWM.")
(license license:gpl3)))
(define-public sbcl-stumpwm-binwarp
(package
(inherit stumpwm-contrib)
@@ -3766,6 +3791,40 @@ control module for StumpWM.")
mouse control mode for StumpWM.")
(license (list license:gpl2+ license:gpl3+ license:bsd-2))))
(define-public sbcl-stumpwm-bluetooth
(package
(name "sbcl-stumpwm-bluetooth")
(version "0.1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Junker/stumpwm-bluetooth")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "08a028r83kd66a3smiyzi9hadk3w89qdhha7hsd9ffh3gdk5s99a"))))
(arguments
(list
#:asd-systems ''("bluetooth")
#:tests? #f ; There are no tests.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-bin-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "bluetooth.lisp"
(("/usr/bin/bluetoothctl")
(search-input-file inputs "bin/bluetoothctl"))))))))
(build-system asdf-build-system/sbcl)
(inputs (list stumpwm
bluez
sbcl-bordeaux-threads))
(home-page "https://github.com/Junker/stumpwm-bluetooth")
(synopsis "StumpWM module for controlling Bluetooth devices")
(description
"StumpWM module for controlling Bluetooth devices via bluetoothctl.")
(license license:gpl3)))
(define-public sbcl-stumpwm-stump-nm
(package
(inherit stumpwm-contrib)
@@ -3792,7 +3851,7 @@ not a replacement for nmtui and/or nmcli.")
(define-public sbcl-stumpwm-tomato
(package
(name "sbcl-stumpwm-tomato")
(version "0.1.0")
(version "0.2.0")
(source
(origin
(method git-fetch)
@@ -3801,7 +3860,7 @@ not a replacement for nmtui and/or nmcli.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0qq11spvhrcq74gh0dw0p4859ai2mqzbxa45gjbf599kmcybp1pa"))))
(base32 "0r00f8qi5kzf1sxx19fxr2lvc32bw3xlz75qrnxl5vgwsl8qafr5"))))
(build-system asdf-build-system/sbcl)
(inputs (list stumpwm))
(arguments
@@ -4079,6 +4138,41 @@ layouts in StumpWM.")
one in Emacs.")
(license license:gpl3+)))
(define-public sbcl-stumpwm-wpctl
(package
(name "sbcl-stumpwm-wpctl")
(version "0.2.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Junker/stumpwm-wpctl")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1c3i5z1cmhd96xnlsb40ykgk60cyignl1m4f61i9k9vq05n83pdj"))))
(arguments
(list #:asd-systems ''("wpctl")
#:tests? #f ; There are no tests.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-wpctl-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "wpctl.lisp"
(("/usr/bin/wpctl")
(search-input-file inputs "bin/wpctl"))))))))
(build-system asdf-build-system/sbcl)
(inputs
(list stumpwm
wireplumber-minimal
sbcl-parse-float
sbcl-bordeaux-threads))
(home-page "https://github.com/Junker/stumpwm-wpctl")
(synopsis "StumpWM PipeWire module")
(description
"PipeWire (WirePlumber) volume and microphone control module for StumpWM.")
(license license:gpl3)))
(define-public sbcl-stumpwm-screenshot
(package
(inherit stumpwm-contrib)