import: cpan: Updater provides input list.

* guix/import/cpan.scm (latest-release): Add 'inputs' field.
* tests/cpan.scm ("package-latest-release"): New test.
This commit is contained in:
Ludovic Courtès 2023-05-17 22:30:45 +02:00
parent c4fe4e7eb8
commit a738c1a0c7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 29 additions and 1 deletions

View file

@ -354,7 +354,8 @@ in RELEASE, a <cpan-release> record."
(upstream-source
(package (package-name package))
(version version)
(urls (list url)))))))
(urls (list url))
(inputs (cpan-module-inputs release)))))))
(define %cpan-updater
(upstream-updater