GNU bug report logs - #35906
[PATCH] guix import hackage: add two license types

Previous Next

Package: guix-patches;

Reported by: Robert Vollmert <rob <at> vllmrt.net>

Date: Sat, 25 May 2019 20:11:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: guix-patches <at> gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH] guix import hackage: add two license types
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





This bug report was last modified 6 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.