Subject: Re: bug#51545: [PATCH] import: egg: Allow imports of a specific version.

From: Ludovic Courtès <[email-masked]>
Date: Sun, 07 Nov 2021 22:01:54 +0100

Hi,

Xinglu Chen <[email-masked]> skribis:

> * guix/import/egg.scm (eggs-repository): Change URL.
> (egg-metadata): Accept optional #:version keyword argument.
> (egg->guix-package): Accept ‘version’ argument.
> (egg-recursive-import): Add ‘version’ argument and honor it.
> * guix/scripts/import/egg.scm (guix-import-egg): Parse a specification instead
> of just a package name.
> * doc/guix.texi (Invoking guix import): Document it.

Applied with the minor fix below, thanks!

Ludo’.

diff --git a/doc/guix.texi b/doc/guix.texi
index 978a454b83..3355a535ad 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -12175,10 +12175,10 @@ always precise (BSD is often used instead of BSD-N).
 guix import egg sourcehut
 @end example
 
-You can also ask for a specific version
+You can also ask for a specific version:
 
 @example
-guix import egg array@@1.0
+guix import egg arrays@@1.0
 @end example
 
 Additional options include: