guix-play/guix/import
Ludovic Courtès 69f132554c
import: cpan: Rewrite to use 'define-json-mapping'.
* guix/import/cpan.scm (<cpan-dependency>, <cpan-release>): New
JSON-mapped record types.
(metacpan-url->mirror-url): New procedure.
(cpan-source-url): Rewrite in terms of it.
(cpan-version): Remove.
(cpan-module->sexp): Rewrite to take a <cpan-release> instead of an
alist, and rename 'meta' to 'release'.
[convert-inputs]: Rewrite to use 'cpan-release-dependencies'.
Update calls to 'convert-inputs' to pass a list of symbols.
Replace 'assoc-ref' calls with the appropriate field accessors.
(cpan->guix-package): Rename 'module-meta' to 'release'.
(latest-release): Likewise, and use the appropriate accessors.
* tests/cpan.scm (test-json): Remove "prereqs" record; add "dependency"
list.
("source-url-http", "source-url-https"): Remove.
("metacpan-url->mirror-url, http")
("metacpan-url->mirror-url, https"): New tests.
2020-01-15 18:40:43 +01:00
..
cabal.scm import: hackage: Handle Hackage revisions. 2019-06-13 22:18:52 -04:00
cpan.scm import: cpan: Rewrite to use 'define-json-mapping'. 2020-01-15 18:40:43 +01:00
cran.scm import: cran: Fix file descriptor leak. 2020-01-03 16:06:26 +01:00
crate.scm import: crate: Honor crate version for recursive imports. 2019-12-30 23:18:16 +01:00
elpa.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gem.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00
github.scm import/github: Check for more version prefixes. 2019-09-20 09:02:33 +03:00
gnome.scm import: gnome: Update for Guile-JSON 3.x. 2019-08-17 23:18:11 +02:00
gnu.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
hackage.scm gnu: Use GHC 8.6.5 as the main Haskell compiler. 2019-11-20 20:47:48 -05:00
json.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00
kde.scm import: KDE updater finds packages even in sub-directory. 2019-09-10 19:04:06 +02:00
launchpad.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00
opam.scm guix: import: Fix importing dune project. 2019-11-30 15:50:51 +01:00
print.scm import: print: Honor the outputs of inputs (!). 2019-06-07 22:49:47 +02:00
pypi.scm import: pypi: Refresher recognizes pythonhosted.org source URLs. 2019-09-18 23:08:29 +02:00
snix.scm build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
stackage.scm import: stackage: Fix typo. 2019-09-23 12:06:46 -07:00
texlive.scm import: texlive: Handle multi-license packages. 2019-11-22 15:00:59 +01:00
utils.scm import: utils: Update docstring of 'recursive-import'. 2019-12-13 18:04:04 +01:00