Subject: [bug#35906] [PATCH] guix import hackage: add two license types

From: Robert Vollmert <[email-masked]>
Date: Sat, 25 May 2019 22:09:51 +0200

Now recognize "BSD-3-Clause" and "PublicDomain".

* guix/import/hackage.scm (string->license): Add two licenses.
---
 guix/import/hackage.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
index d6f5448cfc..c97b16197f 100644
--- a/guix/import/hackage.scm
+++ b/guix/import/hackage.scm
@@ -160,10 +160,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)))
-- 
2.21.0