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:
parent
9de52b5643
commit
23055424f2
|
@ -242,7 +242,7 @@ META."
|
||||||
;; have not yet had a need for cross-compiled perl
|
;; have not yet had a need for cross-compiled perl
|
||||||
;; modules, however, so we leave it out.
|
;; modules, however, so we leave it out.
|
||||||
(convert-inputs '("configure" "build" "test")))
|
(convert-inputs '("configure" "build" "test")))
|
||||||
,@(maybe-inputs 'inputs
|
,@(maybe-inputs 'propagated-inputs
|
||||||
(convert-inputs '("runtime")))
|
(convert-inputs '("runtime")))
|
||||||
(home-page ,(string-append "http://search.cpan.org/dist/" name))
|
(home-page ,(string-append "http://search.cpan.org/dist/" name))
|
||||||
(synopsis ,(assoc-ref meta "abstract"))
|
(synopsis ,(assoc-ref meta "abstract"))
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
('base32
|
('base32
|
||||||
(? string? hash)))))
|
(? string? hash)))))
|
||||||
('build-system 'perl-build-system)
|
('build-system 'perl-build-system)
|
||||||
('inputs
|
('propagated-inputs
|
||||||
('quasiquote
|
('quasiquote
|
||||||
(("perl-test-script" ('unquote 'perl-test-script)))))
|
(("perl-test-script" ('unquote 'perl-test-script)))))
|
||||||
('home-page "http://search.cpan.org/dist/Foo-Bar")
|
('home-page "http://search.cpan.org/dist/Foo-Bar")
|
||||||
|
|
Loading…
Reference in New Issue