summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-17 22:25:41 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-31 23:25:25 +0200
commitc4fe4e7eb8ccbe5e8dcbcb8e64fbb3a97a498808 (patch)
treed743c16ce069f03d1f15d0f6e94ea0a9b04578c0 /gnu
parentf13e73df102c6b1d429df2ac898e438ed0cd76a6 (diff)
downloadguix-c4fe4e7eb8ccbe5e8dcbcb8e64fbb3a97a498808.tar.gz
import: cpan: Represent dependencies as <upstream-input> records.
* guix/import/cpan.scm (cpan-name->downstream-name)
(cran-dependency->upstream-input, cran-module-inputs): New procedures.
(cpan-module->sexp)[guix-name, convert-inputs]: Remove.
[maybe-inputs]: Adjust to deal with <upstream-input>.
Use 'cpan-name->downstream-name' instead of 'guix-name'.  Add call to
'cpan-module-inputs' and adjust calls to 'maybe-inputs'.  No longer emit
input labels.
* tests/cpan.scm ("cpan->guix-package"): Adjust test accordingly.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions