guix-kreyren/guix/import
Maxim Cournoyer 6aee902eaf
import: go: Improve synopsis and description parsing.
* guix/import/go.scm (%strict-tokenizer?): Set parameter to #t.
(go-path-escape): Redefine to prevent inlining.
(http-get*): Replace by ...
(http-fetch*): this ...
(json-fetch*): New procedure.
(go.pkg.dev-info): Use http-fetch*.
(go-package-licenses): Rewrite in terms of go.pkg.dev-info.
(go-package-description): Likewise.
(go-package-synopsis): Likewise.
(fetch-go.mod): Use the memoized http-fetch*.
(parse-go.mod): Adjust to receive content as a string.
(fetch-module-meta-data): Adjust to use http-fetch*.
(go-module->guix-package): Adjust to the modified fetch-go.mod return value.
[inputs]: Use propagated inputs, which is the most common situations for Go
libraries.
[description]: Beautify description.
[licenses]: Do no check for #f.  The result of the license parsing is always a
list.
* tests/go.scm: Adjust following above changes.
2021-04-09 22:41:31 -04:00
..
cabal.scm
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
gem.scm import, swh: Adjust to Guile-JSON 4.5.x unspecified value handling. 2021-01-21 00:14:38 +01:00
github.scm
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: Improve synopsis and description parsing. 2021-04-09 22:41:31 -04:00
hackage.scm import: hackage: Accept optional version parameter. 2021-03-01 17:45:51 +01:00
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: Improve synopsis and description parsing. 2021-04-09 22:41:31 -04:00