summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzero@fedora <zero@fedora>2024-01-10 04:29:56 +0300
committerLudovic Courtès <ludo@gnu.org>2024-11-23 16:23:19 +0100
commit2d3bf6a2a33fae685c03320f289d73ba3e7275f6 (patch)
tree485b1c0f6ab90cbd39b5458abc1049a1ac9f1e02 /doc
parentea5ee89274d47d06d05feed927c0eb50ae316db3 (diff)
import: cpan: Support recursive imports.
* guix/import/cpan.scm (cpan-module->sexp): Return two values. (cpan->guix-package): Add #:version. Return two values. (cpan-recursive-import): New procedure. * guix/scripts/import/cpan.scm (show-help, %options): Add ‘-r’. (guix-import-cpan): Adjust accordingly. Change-Id: Id167c7ddd079f4e04650ce7cc1692a9de36cd8fe Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 454dd66c18..8297ad2ca6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14207,6 +14207,17 @@ The command below imports metadata for the Acme::Boolean Perl module:
guix import cpan Acme::Boolean
@end example
+Like many other importers, the @code{cpan} importer supports recursive
+imports:
+
+@table @code
+@item --recursive
+@itemx -r
+Traverse the dependency graph of the given upstream package recursively
+and generate package expressions for all those packages that are not yet
+in Guix.
+@end table
+
@item cran
@cindex CRAN
@cindex Bioconductor