bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of abbreviations for licenses


From: Ludovic Courtès
Subject: Re: List of abbreviations for licenses
Date: Tue, 11 Dec 2012 11:24:48 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Nikita Karetnikov <address@hidden> skribis:

> There are two ways to fix the problem. We can create new licenses for
> such packages (e.g. 'bzip2'), but it will be tricky. I propose to use
> the following variable instead:
>
> (define bsd-like
>   (license "BSD-like"
>            #f
>           "This is not a real license. It's just a placeholder for
>            packages that use BSD-like licenses which don't fall into the
>            following categories: 'bsd-2', 'bsd-3', and 'bsd-4'. Check the
>            source code for details.")
>
> What do you think?

What about:

  (define* (bsd-style uri #:optional (comment ""))
    (license "BSD-style"
             uri
             (string-append
              "This is a BSD-style, non-copyleft free software license.  "
              "Check the URI for details.  "
              comment)))

So we’d write:

  (package
    (name "bzip2")
    ;; ...
    (license (bsd-style "file://LICENSE"
                        "See LICENSE in the distribution.")))

WDYT?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]