mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
import: gem: Beautify description field.
* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'.
This commit is contained in:
parent
2028a2c960
commit
869cda545d
1 changed files with 2 additions and 1 deletions
|
@ -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")))
|
||||||
|
|
Loading…
Reference in a new issue