import cran: Generate a valid 'license' field for "GPL".

Fixes <http://bugs.gnu.org/27294>.
Reported by Joshua Sierles <joshua@joshua.si>.

* guix/import/cran.scm (string->license) <"GPL">: Return a quoted list.
This commit is contained in:
Ludovic Courtès 2017-06-26 22:02:24 +02:00
parent b74e2f610a
commit 94a400beba
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -69,7 +69,7 @@ (define string->license
("BSD_2_clause + file LICENSE" 'bsd-2)
("BSD_3_clause" 'bsd-3)
("BSD_3_clause + file LICENSE" 'bsd-3)
("GPL" (list 'gpl2+ 'gpl3+))
("GPL" '(list gpl2+ gpl3+))
("GPL (>= 2)" 'gpl2+)
("GPL (>= 3)" 'gpl3+)
("GPL-2" 'gpl2)