From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: bioinformatics.scm vs bioconductor.scm ? Date: Tue, 18 Dec 2018 19:26:20 +0100 Message-ID: <20181218192620.41ec9ad9@alma-ubu> References: <87a7lb5rza.fsf@elephly.net> <87y38u52xq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/jfLsT8MGKP29UokCReH+PII"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZK4a-0007Wp-E2 for guix-devel@gnu.org; Tue, 18 Dec 2018 13:26:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZK4W-0004e6-6w for guix-devel@gnu.org; Tue, 18 Dec 2018 13:26:28 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:51262 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZK4V-0004ZC-Uu for guix-devel@gnu.org; Tue, 18 Dec 2018 13:26:24 -0500 In-Reply-To: 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: zimoun Cc: Guix Devel --Sig_/jfLsT8MGKP29UokCReH+PII Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 18 Dec 2018 06:31:44 -0500 zimoun wrote: > 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: 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.=20 In other packages that import "guix licenses" without the prefix, you use "name" directly. See gnu/packages/scsi.scm for an example. Bj=C3=B6rn --Sig_/jfLsT8MGKP29UokCReH+PII Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlwZO80ACgkQvyhstlk+X/2kGQCgsWsTxULV75ur+SLq6AvGh6gM maUAnjXLZrIQZfvZYFNh8fQTx6TI8DZA =7YoA -----END PGP SIGNATURE----- --Sig_/jfLsT8MGKP29UokCReH+PII--