From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Help on writing package definitions Date: Thu, 23 Apr 2020 19:11:56 +0200 Message-ID: References: <20200423164420.GA31443@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRfOX-0007Gn-MR for help-guix@gnu.org; Thu, 23 Apr 2020 13:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRfOU-0007jI-3h for help-guix@gnu.org; Thu, 23 Apr 2020 13:12:12 -0400 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:35930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRfOT-0007hv-Mu for help-guix@gnu.org; Thu, 23 Apr 2020 13:12:09 -0400 Received: by mail-qt1-x82f.google.com with SMTP id w29so5483463qtv.3 for ; Thu, 23 Apr 2020 10:12:09 -0700 (PDT) In-Reply-To: <20200423164420.GA31443@jasmine.lan> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix , Emmanuel Medernach On Thu, 23 Apr 2020 at 18:55, Leo Famulari wrote: > > On Thu, Apr 23, 2020 at 08:32:35AM +0200, Emmanuel Medernach wrote: > > - Why not export the license record type from license.scm ? Some project > > has its own license and I cannot create it. > > In general, we don't add project-specific licenses to licenses.scm or as > their own variables. > > Instead, we use the non-copyleft, fsf-free, or fsdg-compatible license > variables. Considering the inclusion of such packages in Guix. But if one wants to define its own custom license used by its own custom package living in its own custom channel, then the API needs to expose the 'license' record. Done here [1]. [1] http://issues.guix.gnu.org/40795 Cheers, simon