diff mbox series

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

Message ID 20190525200951.14580-1-rob@vllmrt.net
State Accepted
Headers show
Series [bug#35906] guix import hackage: add two license types | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Robert Vollmert May 25, 2019, 8:09 p.m. UTC
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(+)

Comments

Marius Bakke May 26, 2019, 8:25 a.m. UTC | #1
Robert Vollmert <rob@vllmrt.net> writes:

> Now recognize "BSD-3-Clause" and "PublicDomain".
>
> * guix/import/hackage.scm (string->license): Add two licenses.

Thanks!  I tweaked the commit message a bit and pushed as
0607f890888d1212ed1005c067bab3e4b9759812.
diff mbox series

Patch

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)))