Maxim Cournoyer 83f8b6d32c
import: go: Append version to symbol name in the pinned version mode.
This allows importing packages with complicated version specific dependency
chains without the package symbol names colliding.

* doc/guix.texi (Invoking guix import): Document the --pin-versions option.
Mention that a specific version can be imported.  Remove the experimental
warning.
* guix/import/go.scm (go-module->guix-package-name)[version]: Add optional
argument.  Rewrite the character translation in terms of string-map.
(go-module->guix-package): Conditionally use dependencies whose symbol include
their version, based no the value of the PIN-VERSIONS? argument.
* guix/import/utils.scm (package->definition): Add a new case where the full
version string is appended to the package symbol.
* guix/scripts/import.scm (guix-import): Correctly print forms starting
with '(define-public [...]'.
* guix/scripts/import/go.scm (guix-import-go): Conditionally include the
version in the package symbols defined.
2021-04-09 23:02:37 -04:00
..
2021-03-06 11:41:48 +01:00
2017-07-21 17:03:24 +02:00
2019-12-15 00:34:05 +01:00
2021-01-31 21:49:58 +01:00
2020-07-05 03:15:08 +05:30
2020-10-12 11:28:56 +02:00
2021-01-04 23:54:16 +01:00
2020-07-05 16:07:59 +05:30
2021-04-02 23:22:14 +02:00
2020-12-09 22:25:17 +01:00
2020-04-17 23:36:47 +02:00
2021-01-04 23:54:16 +01:00
2021-01-04 23:54:16 +01:00
2017-11-08 22:31:58 +01:00
2021-03-13 22:51:18 +01:00
2020-12-19 23:25:01 +01:00
2018-09-04 17:25:11 +02:00
2021-03-10 18:01:48 +01:00