guix-kreyren/guix/import
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
..
cabal.scm
cpan.scm
cran.scm
crate.scm
elpa.scm
gem.scm
github.scm
gnome.scm import: gnome: Silence URL redirect messages. 2021-03-17 23:10:19 +01:00
gnu.scm
go.scm import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00
hackage.scm
json.scm
kde.scm
launchpad.scm
opam.scm
print.scm import: print: Improve origin method name guesswork. 2021-03-26 00:04:04 +01:00
pypi.scm
snix.scm
stackage.scm
texlive.scm
utils.scm import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00