guix-play/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 import: Fix docstring typoes. 2020-09-23 04:36:59 +02:00
cpan.scm import, swh: Adjust to Guile-JSON 4.5.x unspecified value handling. 2021-01-21 00:14:38 +01:00
cran.scm import/cran: Fix detection of Fortran files. 2021-03-01 22:40:41 +01:00
crate.scm import: crate: Use repository when home-page is unavailable 2021-02-12 22:47:09 +01:00
elpa.scm import: elpa: Updater gracefully handles missing upstream data. 2021-01-07 12:08:40 +01:00
gem.scm import, swh: Adjust to Guile-JSON 4.5.x unspecified value handling. 2021-01-21 00:14:38 +01:00
github.scm import: github: Gracefully handle projects that have disappeared. 2020-07-24 14:21:30 +02:00
gnome.scm import: gnome: Silence URL redirect messages. 2021-03-17 23:10:19 +01:00
gnu.scm import: gnu: Fix the detection of non-GNU packages. 2021-02-02 13:48:35 -05:00
go.scm import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00
hackage.scm import: hackage: Accept optional version parameter. 2021-03-01 17:45:51 +01:00
json.scm import/json: json->code: Handle files with more than one definition. 2020-04-16 23:41:52 +02:00
kde.scm import: KDE updater finds packages even in sub-directory. 2019-09-10 19:04:06 +02:00
launchpad.scm import: launchpad: Recognize more URLs. 2020-09-01 22:45:16 +05:30
opam.scm import: opam: Adjust test to latest 'opam->guix-package' changes. 2020-12-08 22:58:37 +01:00
print.scm import: print: Improve origin method name guesswork. 2021-03-26 00:04:04 +01:00
pypi.scm import: utils: 'recursive-import' accepts an optional version parameter. 2020-12-02 22:09:23 +01:00
snix.scm build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
stackage.scm import: utils: 'recursive-import' accepts an optional version parameter. 2020-12-02 22:09:23 +01:00
texlive.scm import: texlive: Produce a partial package definition rather than crashing. 2021-01-10 23:30:30 -05:00
utils.scm import: go: Append version to symbol name in the pinned version mode. 2021-04-09 23:02:37 -04:00