69f132554c
* 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. |
||
---|---|---|
.. | ||
cabal.scm | ||
cpan.scm | ||
cran.scm | ||
crate.scm | ||
elpa.scm | ||
gem.scm | ||
github.scm | ||
gnome.scm | ||
gnu.scm | ||
hackage.scm | ||
json.scm | ||
kde.scm | ||
launchpad.scm | ||
opam.scm | ||
print.scm | ||
pypi.scm | ||
snix.scm | ||
stackage.scm | ||
texlive.scm | ||
utils.scm |