From 5d22261db3d5099d745b9e8c8484545e546b319e Mon Sep 17 00:00:00 2001 From: Taiju HIGASHI Date: Fri, 9 Sep 2022 22:47:36 +0900 Subject: import: gem: Support importing a specific version of a gem. * guix/import/gem.scm: (rubygems-fetch, gem->guix-package) (gem-recursive-import): Fix to fetch the specified version of the gem. * guix/scripts/import/gem.scm (show-help): Update the help message. (guix-import-gem): Modify so the version number to be passed to subsequent procedures. * tests/gem.scm: Add tests. * doc/guix.texi (Invoking guix import): Document. Signed-off-by: Christopher Baines --- doc/guix.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index c5d2c2d5d8..eb12efa85e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -13219,6 +13219,12 @@ The command below imports metadata for the @code{rails} Ruby package: guix import gem rails @end example +You can also ask for a specific version: + +@example +guix import gem @@7.0.4 +@end example + @table @code @item --recursive @itemx -r -- cgit v1.2.3