import: hackage: Recognize "BSD-3-Clause" and "PublicDomain".

* guix/import/hackage.scm (string->license): Add two licenses.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Robert Vollmert 2019-05-25 22:09:51 +02:00 committed by Marius Bakke
parent 6d94465b4e
commit 0607f89088
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 0 deletions

View File

@ -145,10 +145,12 @@ version."
("LGPL" "'lgpl??") ("LGPL" "'lgpl??")
("BSD2" 'bsd-2) ("BSD2" 'bsd-2)
("BSD3" 'bsd-3) ("BSD3" 'bsd-3)
("BSD-3-Clause" 'bsd-3)
("MIT" 'expat) ("MIT" 'expat)
("ISC" 'isc) ("ISC" 'isc)
("MPL" 'mpl2.0) ("MPL" 'mpl2.0)
("Apache-2.0" 'asl2.0) ("Apache-2.0" 'asl2.0)
("PublicDomain" 'public-domain)
((x) (string->license x)) ((x) (string->license x))
((lst ...) `(list ,@(map string->license lst))) ((lst ...) `(list ,@(map string->license lst)))
(_ #f))) (_ #f)))