Commit graph

115974 commits

Author SHA1 Message Date
Ricardo Wurmus
525ef60ff4
gnu: Add python-illumina-utils.
* gnu/packages/bioinformatics.scm (python-illumina-utils): New variable.
2023-06-01 20:48:17 +02:00
Efraim Flashner
cf388642ce
gnu: libtommath: Honor the #:tests? flag.
* gnu/packages/multiprecision.scm (libtommath)[arguments]: Adjust custom
'check phase to honor the #:tests? flag.
2023-06-01 15:52:37 +03:00
Efraim Flashner
b428b49d8f
gnu: libtommath: Prevent possible integer overflow.
* gnu/packages/multiprecision.scm (libtommath)[source]: Add patch.
* gnu/packages/patches/libtommath-integer-overflow.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-06-01 15:52:37 +03:00
Efraim Flashner
7c52ae295b
gnu: bear: Update to 3.1.2.
* gnu/packages/build-tools.scm (bear): Update to 3.1.2.
2023-06-01 15:24:23 +03:00
Ricardo Wurmus
ced6e0fe94
gnu: Add python-ete3.
* gnu/packages/bioinformatics.scm (python-ete3): New variable.
2023-06-01 14:10:04 +02:00
Andy Tai
e6705f994f
gnu: parallel: Update to 20230522.
* gnu/packages/parallel.scm (parallel): Update to 20230522.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:55:09 +03:00
Greg Hogan
9511488941
gnu: zenity: Update to 3.44.1.
* gnu/packages/gnome.scm (zenity): Update to 3.44.1.
[native-inputs]: Add gtk+:bin.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:44:58 +03:00
Greg Hogan
21388dce63
gnu: iperf: Update to 3.13.
* gnu/packages/networking.scm (iperf): Update to 3.13.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:42:43 +03:00
Greg Hogan
3ab95b2753
gnu: iotop: Update to 1.23.
* gnu/packages/linux.scm (iotop): Update to 1.23.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:41:37 +03:00
Greg Hogan
fd76ffb974
gnu: html-xml-utils: Update to 8.6.
* gnu/packages/xml.scm (html-xml-utils): Update to 8.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:39:58 +03:00
Greg Hogan
e6fb7f6467
gnu: hstr: Update to 3.1.
* gnu/packages/shellutils.scm (hstr): Update to 3.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:38:13 +03:00
Greg Hogan
dc61b7fcf7
gnu: glances: Update to 3.4.0.3.
* gnu/packages/python-xyz.scm (glances): Update to 3.4.0.3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:36:35 +03:00
Greg Hogan
f7d5722d36
gnu: fish: Update to 3.6.1.
* gnu/packages/shells.scm (fish): Update to 3.6.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:18:31 +03:00
Greg Hogan
247ac4b73f
gnu: fio: Update to 3.35.
* gnu/packages/benchmark.scm (fio): Update to 3.35.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:15:01 +03:00
Greg Hogan
dc6afa69eb
gnu: atop: Update to 2.9.0.
* gnu/packages/admin.scm (atop): Update to 2.9.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:13:08 +03:00
Efraim Flashner
4abf0af4b1
gnu: openblas: Update make-flags comments and coding style.
* gnu/packages/maths.scm (openblas)[arguments]: In the make-flags use
the target-* macros. Adjust the wording describing why the different
architectures have the flags they do.
2023-06-01 11:14:03 +03:00
Efraim Flashner
076688fa1e
gnu: openblas: Update architectures we provide substitutes for.
* gnu/packages/maths.scm (openblas)[arguments]: Adjust the substitutable?
flag to only not provide substitutes when building for powerpc-linux.
Adjust the comment accordingly.
2023-06-01 11:14:03 +03:00
Efraim Flashner
872e1434f1
gnu: openblas-ilp64: Add powerpc64le-linux as a supported system.
* gnu/packages/maths.scm (openblas-ilp64)[supported-systems]: Add
powerpc64le-linux.
2023-06-01 11:14:03 +03:00
Ricardo Wurmus
93804e978f
gnu: r-mbecs: Fix indentation.
* gnu/packages/bioconductor.scm (r-mbecs)[arguments]: Adjust indentation and
spelling of comment.
2023-06-01 09:21:57 +02:00
Ricardo Wurmus
d019053aca
gnu: Add squashfuse.
* gnu/packages/file-systems.scm (squashfuse): New variable.
2023-06-01 09:15:26 +02:00
Mădălin Ionel Patrașcu
10d3f8aa7b
gnu: Add r-mbecs.
* gnu/packages/bioconductor.scm (r-mbecs): New variable.
2023-06-01 09:15:26 +02:00
Leo Famulari
13e2138c23
gnu: Remove linux-libre 6.2.
This kernel series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-6.2-version, linux-libre-6.2-gnu-revision,
deblob-scripts-6.2, linux-libre-6.2-pristine-source, linux-libre-6.2-source,
linux-libre-headers-6.2, linux-libre-6.2): Remove variables.
* gnu/packages/aux-files/linux-libre/6.2-arm.conf,
gnu/packages/aux-files/linux-libre/6.2-arm64.conf,
gnu/packages/aux-files/linux-libre/6.2-i686.conf,
gnu/packages/aux-files/linux-libre/6.2-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2023-05-31 21:21:25 -04:00
Leo Famulari
35bdf804cb
gnu: linux-libre 4.14: Update to 4.14.316.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.316.
(linux-libre-4.14-pristine-source): Update hash.
2023-05-31 21:21:25 -04:00
Leo Famulari
c428ed520d
gnu: linux-libre 4.19: Update to 4.19.284.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.284.
(linux-libre-4.19-pristine-source): Update hash.
2023-05-31 21:21:24 -04:00
Leo Famulari
1bd5d06736
gnu: linux-libre 5.4: Update to 5.4.244.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.244.
(linux-libre-5.4-pristine-source): Update hash.
2023-05-31 21:21:24 -04:00
Leo Famulari
a939d7cfee
gnu: linux-libre 5.10: Update to 5.10.181.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.181.
(linux-libre-5.10-pristine-source): Update hash.
2023-05-31 21:21:24 -04:00
Leo Famulari
9ab028e70e
gnu: linux-libre 5.15: Update to 5.15.114.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.114.
(linux-libre-5.15-pristine-source): Update hash.
2023-05-31 21:21:23 -04:00
Leo Famulari
876486476a
gnu: linux-libre 6.1: Update to 6.1.31.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.31.
(linux-libre-6.1-pristine-source): Update hash.
2023-05-31 21:21:23 -04:00
Leo Famulari
7576eff1bf
gnu: linux-libre: Update to 6.3.5.
* gnu/packages/linux.scm (linux-libre-6.3-version): Update to 6.3.5.
(linux-libre-6.3-pristine-source): Update hash.
2023-05-31 21:21:12 -04:00
Ludovic Courtès
654fcf9971
tests: Use quasiquoted 'match' patterns for package sexps.
Turns out it's easier to read.

* tests/cpan.scm ("cpan->guix-package"): Use a quasiquoted pattern.
* tests/elpa.scm (eval-test-with-elpa): Likewise.
* tests/gem.scm ("gem->guix-package")
("gem->guix-package with a specific version")
("gem-recursive-import")
("gem-recursive-import with a specific version"): Likewise.
* tests/hexpm.scm ("hexpm-recursive-import"): Likewise.
* tests/opam.scm ("opam->guix-package"): Likewise.
* tests/pypi.scm ("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Likewise.
* tests/texlive.scm ("texlive->guix-package"): Likewise.
2023-05-31 23:50:06 +02:00
Ludovic Courtès
9f7cd1fcaf
gnu: Add updater input properties for R and Python packages.
* gnu/packages/cran.scm (r-glue, r-xfun, r-vctrs)
(r-lifecycle): Turn comment about r-knitr into 'properties' field.
* gnu/packages/mpi.scm (python-mpi4py)[properties]: New field.
2023-05-31 23:26:12 +02:00
Ludovic Courtès
57ceb64e34
upstream: Honor package properties for ignored and extra inputs.
* guix/upstream.scm (update-package-inputs)[filtered-inputs]
[regular-inputs, native-inputs, propagated-inputs]: New procedures.
Use them in 'update-field' calls.
* tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add "libreoffice"
to the dependencies of "the-test-package".  Add 'updater-ignored-inputs'
property to "the-test-package".
* doc/guix.texi (Invoking guix refresh): Document it.
2023-05-31 23:25:26 +02:00
Ludovic Courtès
9e237fe0bd
import: gem: Updater provides input list.
* guix/import/gem.scm (import-release): Add 'inputs' field.
* tests/gem.scm ("package-latest-release"): New test.
2023-05-31 23:25:26 +02:00
Ludovic Courtès
e6f82fcd5f
import: gem: Factorize "bundler" special case for name mapping.
* guix/import/gem.scm (ruby-package-name): Add "bundler" special case.
(gem->guix-package): Adjust accordingly.
* tests/gem.scm ("gem-recursive-import")
("gem-recursive-import with a specific version"): Remove "ruby-bundler"
from the expected packages.
2023-05-31 23:25:26 +02:00
Ludovic Courtès
d46d1bee1e
import: elpa: Updater provides input list.
* guix/import/elpa.scm (elpa-dependency->upstream-input): New
procedure.
(latest-release): Add 'inputs' field.
* tests/elpa.scm ("package-latest-release"): New test.
2023-05-31 23:25:26 +02:00
Ludovic Courtès
a738c1a0c7
import: cpan: Updater provides input list.
* guix/import/cpan.scm (latest-release): Add 'inputs' field.
* tests/cpan.scm ("package-latest-release"): New test.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
c4fe4e7eb8
import: cpan: Represent dependencies as <upstream-input> records.
* guix/import/cpan.scm (cpan-name->downstream-name)
(cran-dependency->upstream-input, cran-module-inputs): New procedures.
(cpan-module->sexp)[guix-name, convert-inputs]: Remove.
[maybe-inputs]: Adjust to deal with <upstream-input>.
Use 'cpan-name->downstream-name' instead of 'guix-name'.  Add call to
'cpan-module-inputs' and adjust calls to 'maybe-inputs'.  No longer emit
input labels.
* tests/cpan.scm ("cpan->guix-package"): Adjust test accordingly.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
f13e73df10
import: cpan: Remove unary 'string-append' call.
* guix/import/cpan.scm (package->upstream-name): Remove useless
'string-append'.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
5d022d5563
tests: upstream: Restore test that was skipped.
This test was being skipped since
ea6fb108f6.

* tests/upstream.scm ("coalesce-sources same version"): Compare a
serialized form of <upstream-source>.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
cd262c403f
upstream: Remove <upstream-input-change> and related code.
* guix/upstream.scm (<upstream-input-change>): Remove.
(changed-inputs): Remove.
* tests/upstream.scm (test-package, test-new-package)
("changed-inputs returns no changes")
("changed-inputs returns changes to plain input list")
("changed-inputs returns changes to all plain input lists"): Remove.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
ec0a2fc87b
upstream: 'update-package-source' edits input fields.
Previously, 'guix refresh r-ggplot2 -u' and similar commands would print
of list of input changes that would have to be made manually.  With this
change, 'guix refresh -u' takes care of updating input fields
automatically.

* guix/upstream.scm (update-package-inputs): New procedure.
(update-package-source): Call it when 'upstream-source-inputs' returns
true.
* guix/scripts/refresh.scm (update-package): Remove iteration over the
result of 'changed-inputs'.
* guix/import/test.scm (available-updates): Add support for input
lists.
* tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add input list for
"the-test-package".
Make sure 'guix refresh -u' updates 'inputs' accordingly.
* doc/guix.texi (Invoking guix refresh): Mention it.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
9f3ea03516
diagnostics: Factorize 'absolute-location'.
* guix/scripts/style.scm (absolute-location): Move to...
* guix/diagnostics.scm (absolute-location): ... here.
* guix/upstream.scm (update-package-source): Use it.
2023-05-31 23:25:25 +02:00
Ludovic Courtès
e6223017d9
upstream: Replace 'input-changes' field by 'inputs'.
Returning the expected list of inputs rather than changes relative to
the current package definition is less ambiguous and offers more
possibilities for further processing.

* guix/upstream.scm (<upstream-source>)[input-changes]: Remove.
[inputs]: New field.
(<upstream-input>): New record type.
* guix/upstream.scm (upstream-input-type-predicate)
(input-type-filter, upstream-source-regular-inputs)
(upstream-source-native-inputs, upstream-source-propagated-inputs): New
procedures.
(changed-inputs): Expect an <upstream-source> as its second argument.
Adjust accordingly.
* guix/import/pypi.scm (distribution-sha256): New procedure.
(maybe-inputs): Expect a list of <upstream-input>.
(compute-inputs): Rewrite to return a list of <upstream-input>.
(pypi-package-inputs, pypi-package->upstream-source): New procedures.
(make-pypi-sexp): Use it.
* guix/import/stackage.scm (latest-lts-release): Define 'cabal'.
Replace 'input-changes' field by 'inputs'.
* guix/scripts/refresh.scm (update-package): Use 'changed-inputs'
instead of 'upstream-source-input-changes'.
* tests/cran.scm ("description->package"): Adjust order of inputs.
* tests/pypi.scm (default-sha256, default-sha256/base32): New variables.
(foo-json): Add 'digests' entry.
("pypi->guix-package, no wheel"): Check HASH against DEFAULT-SHA256/BASE32.
("pypi->guix-package, wheels"): Likewise.
("pypi->guix-package, no usable requirement file."): Likewise.
("pypi->guix-package, package name contains \"-\" followed by digits"):
Likewise.
("package-latest-release"): New test.
* tests/upstream.scm (test-package-sexp): Remove.
("changed-inputs returns no changes"): Rewrite to use <upstream-source>.
(test-new-package-sexp): Remove.
("changed-inputs returns changes to plain input list"): Rewrite.
("changed-inputs returns changes to all plain input lists"): Likewise.
("changed-inputs returns changes to labelled input list")
("changed-inputs returns changes to all labelled input lists"): Remove.
* guix/import/cran.scm (maybe-inputs): Expect PACKAGE-INPUTS to be a
list of <upstream-input>.
(source-dir->dependencies): Return a list of <upstream-input>.
(vignette-builders): Likewise.
(uri-helper, cran-package-source-url)
(cran-package-propagated-inputs, cran-package-inputs): New procedures.
(description->package): Use them instead of local definitions.
(latest-cran-release): Replace 'input-changes' field by 'inputs'.
(latest-bioconductor-release): Likewise.
(format-inputs): Remove.
* guix/import/hackage.scm (cabal-package-inputs): New procedure.
(hackage-module->sexp): Use it.
[maybe-inputs]: Expect a list of <upstream-input>.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
db10a4a2ae
doc: Mention 'guix refresh -u' for third-party channels.
* doc/guix.texi (Invoking guix refresh): Show how to run 'guix refresh
-u' on a third-party channel.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
e7910f4882
import: json: Add #:timeout to 'json-fetch'.
* guix/import/json.scm (json-fetch): Add #:timeout and pass it to
'http-fetch'.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
4663cfd381
import: utils: 'call-with-networking-exception-handler' doesn't unwind.
That way backtraces show where the error actually originates from.

* guix/import/utils.scm (call-with-networking-exception-handler):
Rewrite using 'with-exception-handler'.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
d2f36abd02
tests: pypi: Rewrite tests using a local HTTP server.
* guix/import/pypi.scm (%pypi-base-url): New variable.
(pypi-fetch): Use it.
* tests/pypi.scm (foo-json): Compute URLs relative to '%local-url'.
(test-json-1, test-json-2, test-source-hash): Remove.
(file-dump): New procedure.
(with-pypi): New macro.
("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Rewrite using 'with-pypi'.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
09526da78f
tests: http: Allow responses to specify a path.
* guix/tests/http.scm (%local-url): Add #:path parameter and honor it.
(call-with-http-server)[responses]: Add extra clause with 'path'.
[bad-request]: New variable.
[server-body]: Handle three-element clauses.
Wrap 'run-server' call in 'parameterize'.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
58da6b297c
tests: pypi: Factorize tarball and wheel file creation.
* tests/pypi.scm (sample-directory): New variable.
(pypi-tarball, wheel-file): New procedures.
("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Use them.
2023-05-31 23:25:24 +02:00
Ludovic Courtès
d0be53d03e
transformations: Add "--tune" to "--help-transform".
* guix/transformations.scm (show-transformation-options-help/detailed):
Add '--tune'.
2023-05-31 23:24:33 +02:00