import: Importers return prefixed licenses.

* guix/import/utils.scm
(define-module): Import licenses with license: prefix.
(string->licenses): Use prefixed licenses.
(license->symbol): Return symbols with the prefix license:.
* guix/tests/pypi.scm (pypi->guix-package): Update test cases.
* guix/tests/gem.scm (gem->guix-package): Update test case.
This commit is contained in:
David Craven 2016-08-05 19:15:56 +02:00
parent 1ae27aac4c
commit a34b236c17
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB
3 changed files with 16 additions and 16 deletions

View file

@ -71,7 +71,7 @@
('synopsis "A cool gem")
('description "This package provides a cool gem")
('home-page "https://example.com")
('license ('list 'expat 'asl2.0)))
('license ('list 'license:expat 'license:asl2.0)))
#t)
(x
(pk 'fail x #f)))))