unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Sebastian <njuemail@126.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: License Problem and Other Questions defining new package Geant4 from CERN for Partical Physcis Simulation
Date: Thu, 25 Feb 2021 19:37:41 +0100	[thread overview]
Message-ID: <CAJ3okZ1gUu7vizwH5XvsY4rwtX_DvDt3XW4fNJyBfQ7AgZ+7CQ@mail.gmail.com> (raw)
In-Reply-To: <2f9e6f18.1e53.177b3f49f09.Coremail.njuemail@126.com>

Hi Sebastian,


On Thu, 18 Feb 2021 at 10:30, Sebastian <njuemail@126.com> wrote:
>
> Dear developers at Guix,
>
> I am a physics student willing to use  the Geant4 simulation toolkit from the European Organization for Nuclear Research (CERN).
> https://geant4.web.cern.ch/
> The Geant4 code is distributied under its own licence, Geant4 Software License Version 1.0.
> https://geant4.web.cern.ch/license/LICENSE.html
> Let's call this license G4SL1.0. After some searching, finding it is NOT listed by FSF or GNU in their license list.
> https://www.gnu.org/licenses/license-list.html
> But from a personal perspective, G4SL1.0 do seems like a free software license.
> So, may it be included into the Guix proper (gnu packages)?

Even if it cannot be included in Guix proper because of license, it
could be included in specific Scientific channels,

   <https://hpc.guix.info/about/>

examples:
https://github.com/guix-science/guix-science
https://gitlab.inria.fr/guix-hpc/guix-hpc
https://github.com/BIMSBbioinfo/guix-bimsb
https://github.com/UMCUGenetics/guix-additions
etc.


> I am currently testing the package under a custom channel,using cmake-build-system.
> https://git.nju.edu.cn/nju/chngix/-/blob/master/gix/packages/geant4.scm

Are substitutes available for this channel?


> is it possible to define a package fetching multiple files and extracts them into the desired directory, using the Guix package definition?

You mean fetch from multiple URLs, right?  If yes, AFAIK, it is not
possible but there are workarounds.  For example, you can define the
package A for the data and another one B for the code where A is an
input of B.  Or you can define an origin directly in the inputs; see
r-shinytree as an example:

--8<---------------cut here---------------start------------->8---
    (native-inputs
     `(("uglify-js" ,uglify-js)
       ("js-jquery"
        ,(origin
           (method url-fetch)
           (uri "https://code.jquery.com/jquery-3.3.1.js")
           (sha256
            (base32
             "1b8zxrp6xwzpw25apn8j4qws0f6sr7qr7h2va5h1mjyfqvn29anq"))))))
--8<---------------cut here---------------end--------------->8---


All the best,
simon


      parent reply	other threads:[~2021-02-25 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18  7:04 License Problem and Other Questions defining new package Geant4 from CERN for Partical Physcis Simulation Sebastian
2021-02-18 12:18 ` Leo Prikler
2021-02-25 18:37 ` zimoun [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ1gUu7vizwH5XvsY4rwtX_DvDt3XW4fNJyBfQ7AgZ+7CQ@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=njuemail@126.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).