summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Vollmert <rob@vllmrt.net>2019-05-25 22:09:51 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-05-26 10:22:05 +0200
commit0607f890888d1212ed1005c067bab3e4b9759812 (patch)
treef62c145659e5e8f81cf61f0e8c568ccbfd2ded5a
parent6d94465b4eb4b4c1446fff6129a16b7bcc0c5eb0 (diff)
downloadguix-0607f890888d1212ed1005c067bab3e4b9759812.tar.gz
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>
-rw-r--r--guix/import/hackage.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
index 2a51420d14..2731b4cbee 100644
--- a/guix/import/hackage.scm
+++ b/guix/import/hackage.scm
@@ -145,10 +145,12 @@ version."
    ("LGPL" "'lgpl??")
    ("BSD2" 'bsd-2)
    ("BSD3" 'bsd-3)
+   ("BSD-3-Clause" 'bsd-3)
    ("MIT" 'expat)
    ("ISC" 'isc)
    ("MPL" 'mpl2.0)
    ("Apache-2.0" 'asl2.0)
+   ("PublicDomain" 'public-domain)
    ((x) (string->license x))
    ((lst ...) `(list ,@(map string->license lst)))
    (_ #f)))