From: zimoun <zimon.toutoune@gmail.com>
To: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: bioinformatics.scm vs bioconductor.scm ?
Date: Tue, 18 Dec 2018 19:36:41 +0100 [thread overview]
Message-ID: <CAJ3okZ0-bE-rxfGYAT03xrw3F+xJPMV7coUhMPk9YNzeBWDxWA@mail.gmail.com> (raw)
In-Reply-To: <20181218192620.41ec9ad9@alma-ubu>
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
next prev parent reply other threads:[~2018-12-18 18:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-11 18:21 bioinformatics.scm vs bioconductor.scm ? zimoun
2018-12-12 3:44 ` Ricardo Wurmus
2018-12-12 11:42 ` zimoun
2018-12-12 12:45 ` Ricardo Wurmus
2018-12-18 11:31 ` zimoun
2018-12-18 18:26 ` Björn Höfling
2018-12-18 18:36 ` zimoun [this message]
2018-12-18 22:49 ` Ricardo Wurmus
2018-12-18 22:45 ` Ricardo Wurmus
2018-12-20 8:46 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ3okZ0-bE-rxfGYAT03xrw3F+xJPMV7coUhMPk9YNzeBWDxWA@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=bjoern.hoefling@bjoernhoefling.de \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.