summaryrefslogtreecommitdiff
path: root/tests/pypi.scm
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-05 19:15:56 +0200
committerDavid Craven <david@craven.ch>2016-08-28 14:04:50 +0200
commita34b236c17f5f7a29c3ce05766071b57e8cdb271 (patch)
tree124cd95fb0aadda3fe469a339d86dc9f1f6da7a8 /tests/pypi.scm
parent1ae27aac4cec9c16c878dbce85eef9e00c8e4240 (diff)
downloadgnu-guix-a34b236c17f5f7a29c3ce05766071b57e8cdb271.tar
gnu-guix-a34b236c17f5f7a29c3ce05766071b57e8cdb271.tar.gz
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.
Diffstat (limited to 'tests/pypi.scm')
-rw-r--r--tests/pypi.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pypi.scm b/tests/pypi.scm
index 01d8a575ab..ab4e9c958b 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -130,7 +130,7 @@ baz > 13.37")
('home-page "http://example.com")
('synopsis "summary")
('description "summary")
- ('license 'lgpl2.0))
+ ('license 'license:lgpl2.0))
(string=? (bytevector->nix-base32-string
test-source-hash)
hash))
@@ -190,7 +190,7 @@ baz > 13.37")
('home-page "http://example.com")
('synopsis "summary")
('description "summary")
- ('license 'lgpl2.0))
+ ('license 'license:lgpl2.0))
(string=? (bytevector->nix-base32-string
test-source-hash)
hash))