~ruther/guix-local

73f33b93797383a356133a2e871af9c07f5b5376 — Tobias Geerinckx-Rice 8 years ago adce670
import: cpan: Add trailing "/" to CPAN-HOME.

Prevent regression after commit e4bc1727302b0e1e255ea5cf4e2ccf33cafe7296.

* guix/import/cpan.scm (cpan-home): Add trailing "/".
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/cpan.scm
M guix/import/cpan.scm => guix/import/cpan.scm +1 -1
@@ 115,7 115,7 @@ or #f on failure.  MODULE should be e.g. \"Test::Script\""
  (json-fetch (string-append "https://fastapi.metacpan.org/v1/release/" name)))

(define (cpan-home name)
  (string-append "http://search.cpan.org/dist/" name))
  (string-append "http://search.cpan.org/dist/" name "/"))

(define (cpan-source-url meta)
  "Return the download URL for a module's source tarball."