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

View file

@ -117,7 +117,8 @@ (define* (gem->guix-package package-name #:optional version)
(let ((name (assoc-ref package "name")) (let ((name (assoc-ref package "name"))
(version (assoc-ref package "version")) (version (assoc-ref package "version"))
(hash (assoc-ref package "sha")) (hash (assoc-ref package "sha"))
(description (assoc-ref package "info")) (description (beautify-description
(assoc-ref package "info")))
(home-page (assoc-ref package "homepage_uri")) (home-page (assoc-ref package "homepage_uri"))
(dependencies (map (lambda (dep) (dependencies (map (lambda (dep)
(let ((name (assoc-ref dep "name"))) (let ((name (assoc-ref dep "name")))