import: cpan: Actually use CPAN-HOME.

* guix/import/cpan.scm (cpan-module->sexp): Use the CPAN-HOME procedure.
master
Tobias Geerinckx-Rice 2017-10-29 15:51:28 +01:00
parent 73f33b9379
commit 6d176ad379
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -244,7 +245,7 @@ META."
(convert-inputs '("configure" "build" "test")))
,@(maybe-inputs 'propagated-inputs
(convert-inputs '("runtime")))
(home-page ,(string-append "http://search.cpan.org/dist/" name "/"))
(home-page ,(cpan-home name))
(synopsis ,(assoc-ref meta "abstract"))
(description fill-in-yourself!)
(license ,(string->license (assoc-ref meta "license"))))))