Subject: [bug#30798] [PATCH 2/2] gnu: Add emacs-deft

From: Oleg Pykhalov <[email-masked]>
Date: Fri, 16 Mar 2018 17:13:33 +0300

Konrad Hinsen <[email-masked]> writes:

> * gnu/packages/emacs.scm (emacs-deft): New variable.
> ---
>  gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 35acfdd20..f51f696fd 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -7386,3 +7386,26 @@ inherit a login shell's environment variables.  It also allows other
>  environment variables to be retrieved from the shell, so that Emacs will see
>  the same values you get in a terminal.")
>      (license license:gpl3+)))
> +

[…]

> +    ;; A comment in the code says "may be freely distributed and modified
> +    ;; under the BSD license". I take this to mean the original
> +    ;; BSD license, called bsd-4 in Guix.
> +    (license license:bsd-4)))

Thank you for investigation, but it's a BSD 3-Clause license.  It's easy
to check, because there are *3 clauses* in the license text:

    ;; Redistribution and use in source and binary forms, with or
    ;; without modification, are permitted provided that the following
    ;; conditions are met:
    ;; 1. Redistributions of source code must retain the above copyright
    ;;    notice, this list of conditions and the following disclaimer.
    ;; 2. Redistributions in binary form must reproduce the above
    ;;    copyright notice, this list of conditions and the following
    ;;    disclaimer in the documentation and/or other materials
    ;;    provided with the distribution.
    ;; 3. Neither the names of the copyright holders nor the names of
    ;;    any contributors may be used to endorse or promote products
    ;;    derived from this software without specific prior written
    ;;    permission.

As a tip,  we have a ‘licensecheck’ program in Guix package collection,
which could parse a source code file and tell a license.

Also don't forget a dot at the end in commit message.

Pushed with changes above as 5d818b3557cc3b546d5bd0639359c14c7c0ab685

I'll close the bug report.

Thanks,
Oleg.