Hi,

Nikita Karetnikov <[email protected]> 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