import: cpan: Propagate imported dependencies.

This is most often the need for perl module dependencies.

* guix/import/cpan.scm (cpan-module->sexp): 'inputs -> 'propagated-inputs.
* tests/cpan.scm ("cpan->guix-package"): Adjust accordingly.
This commit is contained in:
Eric Bavier 2017-10-28 18:13:08 -05:00
parent 9de52b5643
commit 23055424f2
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ META."
;; have not yet had a need for cross-compiled perl
;; modules, however, so we leave it out.
(convert-inputs '("configure" "build" "test")))
,@(maybe-inputs 'inputs
,@(maybe-inputs 'propagated-inputs
(convert-inputs '("runtime")))
(home-page ,(string-append "http://search.cpan.org/dist/" name))
(synopsis ,(assoc-ref meta "abstract"))

View File

@ -94,7 +94,7 @@
('base32
(? string? hash)))))
('build-system 'perl-build-system)
('inputs
('propagated-inputs
('quasiquote
(("perl-test-script" ('unquote 'perl-test-script)))))
('home-page "http://search.cpan.org/dist/Foo-Bar")