import: gem: Beautify description field.

* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'.
This commit is contained in:
Ben Woodcroft 2016-01-06 00:17:36 +10:00
parent 2028a2c960
commit 869cda545d
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ VERSION, HASH, HOME-PAGE, DESCRIPTION, DEPENDENCIES, and LICENSES."
(let ((name (assoc-ref package "name"))
(version (assoc-ref package "version"))
(hash (assoc-ref package "sha"))
(description (assoc-ref package "info"))
(description (beautify-description
(assoc-ref package "info")))
(home-page (assoc-ref package "homepage_uri"))
(dependencies (map (lambda (dep)
(let ((name (assoc-ref dep "name")))