Subject: bug#30836: closed (Re: [bug#30836] [PATCH 2/3] guix import elpa: use #f for license)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 Mar 2018 22:26:02 +0000

Your bug report

#30836: [PATCH 2/3] guix import elpa: use #f for license

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30836: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30836
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30836] [PATCH 2/3] guix import elpa: use #f for license
From: [email-masked] (Ludovic Courtès)
To: Konrad Hinsen <[email-masked]>
Cc: [email-masked]
Date: Sun, 18 Mar 2018 23:25:41 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Konrad Hinsen <[email-masked]> skribis:

> [email-masked] (Ludovic Courtès) writes:
>
>> Konrad Hinsen <[email-masked]> skribis:
>>
>>> Elpa doesn't supply license information. The current importer pretends that
>>> everything is GPL3, which is not true. The importer should not invent license
>>> information.
>>
>> Do you have examples of packages on ELPA that are not GPLv3+?  I don’t
>> know if this is the case, but I wouldn’t be surprised if it had a policy
>> of requiring GPLv3+ given that Emacs itself is GPLv3+.
>
> The ELPA importer is also used for MELPA, which has no license
> requirements. The package that motivated this patch is Deft, which is
> MIT-licensed:
>
>    https://jblevins.org/projects/deft/
>
> If GNU ELPA guarantees GPL3, we could keep the old behavior for that
> but use #f for MELPA and stable MELPA.

Good idea.  Commit 9bb1838c3f982dfb84ba24eb2f727cb39ee5805c does that.

Thanks!

Ludo’.

Subject: [PATCH 2/3] guix import elpa: use #f for license
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Fri, 16 Mar 2018 14:53:51 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Elpa doesn't supply license information. The current importer pretends that
everything is GPL3, which is not true. The importer should not invent license
information.
---
 guix/import/elpa.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index 7f76a13ad..cae10eb1c 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -234,7 +234,7 @@ type '<elpa-package>'."
        (home-page ,(elpa-package-home-page pkg))
        (synopsis ,(elpa-package-synopsis pkg))
        (description ,(elpa-package-description pkg))
-       (license license:gpl3+))))
+       (license #f))))
 
 (define* (elpa->guix-package name #:optional (repo 'gnu))
   "Fetch the package NAME from REPO and produce a Guix package S-expression."
-- 
2.16.2