From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: bioinformatics.scm vs bioconductor.scm ? Date: Tue, 18 Dec 2018 19:36:41 +0100 Message-ID: References: <87a7lb5rza.fsf@elephly.net> <87y38u52xq.fsf@elephly.net> <20181218192620.41ec9ad9@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZKEo-0000EK-NX for guix-devel@gnu.org; Tue, 18 Dec 2018 13:37:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZKEm-0007eQ-LM for guix-devel@gnu.org; Tue, 18 Dec 2018 13:37:02 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:35230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZKEi-0007K5-3J for guix-devel@gnu.org; Tue, 18 Dec 2018 13:36:58 -0500 Received: by mail-wr1-x42e.google.com with SMTP id 96so16987817wrb.2 for ; Tue, 18 Dec 2018 10:36:54 -0800 (PST) In-Reply-To: <20181218192620.41ec9ad9@alma-ubu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Cc: Guix Devel Dear, Thank you for your explanations. And sorry if I am still slow to understand. > > What is the convention about license ? > > (license name) or (license license:name) > > Just about this point: This is not a "convention", this is part of the > language definition of Guile, the underlying Scheme implementation: I understand this. :-) > > In the module gnu/packes/cran.scm (and many others too) you find: > > (define-module (gnu packages cran) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (guix packages) > [...] > ) > > That means: use everything from module "guix licenses" and prefix it > with "license:". So, in the cran module, you must use "license:name" to > use the publicly defined "name" from the "guix licenses" module. Ok, but for example this convention about CRAN is not consistent with the importer. :-) guix import cran corpcor -r fills the license field with (license gpl3+) and not (license license:gpl3+) In other words, why the cran.scm needs a prefix for the license field? > In other packages that import "guix licenses" without the prefix, you > use "name" directly. See gnu/packages/scsi.scm for an example. Ok. But there is a convention or an explanation why some packages use a prefix e.g. cran.scm and other not e.g scsi.scm? Thank you again for your explanations. Best regards, simon