From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iAheApnuN2C6FwAA0tVLHw (envelope-from ) for ; Thu, 25 Feb 2021 18:38:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8MrJOZjuN2DZKwAAB5/wlQ (envelope-from ) for ; Thu, 25 Feb 2021 18:38:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 87D022BF05 for ; Thu, 25 Feb 2021 19:38:16 +0100 (CET) Received: from localhost ([::1]:35622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFLWh-0006Sk-OW for larch@yhetil.org; Thu, 25 Feb 2021 13:38:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFLWN-0006RY-4y for guix-devel@gnu.org; Thu, 25 Feb 2021 13:37:55 -0500 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:36419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFLWL-00084k-Bp for guix-devel@gnu.org; Thu, 25 Feb 2021 13:37:54 -0500 Received: by mail-qk1-x72e.google.com with SMTP id v206so6638310qkb.3 for ; Thu, 25 Feb 2021 10:37:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CHj4ez/UfXXnuYBms7hBXH18sn6Hn7+fgiIh97P9H68=; b=nECuMG6eCBv5WmXUloGAb6h6vl6jDlJyFbMN46zAPa9TqShVmNzJd0FnxvS6+VyBlY uD4DmCaiO1zY06BakXk+v7zGpWrPJ2flasd1KkdHp8doZgHK4cyJVnCgOGlFGhDld5mG g6BOBJScCJuD1phfDQ1SINhlLLjIfgKk7/UF/CQ7LFCD9D/1mg6td+949XF00ALTLCGG 19O5ODgh0cZGIVnEyXIbV2jK3nDwA2/QiAlp5B1Nhi4B14HlY4jNJ8ONquXfHSGgYciz 65TIPEAJN+ucefeUXI4yHIyDn/PEjRc4RRh+4eFmvUAnhi8yvfqn+5/NkUf0eVcGDkry zyBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CHj4ez/UfXXnuYBms7hBXH18sn6Hn7+fgiIh97P9H68=; b=fsYWfLosqC2zW4bERcZjkrXaubXk7pe97Tnc/UwLzzxCe3+KH4o0oLHT3SHSGwJQQw NfB/SUzKgPLfizvFItQzbThJJvzq3prgdJ29LGylUKX32ujGegxGf2teg7vH6Wl9vxeS Naubt9zeMBMcEwwBk1PmYk3cCTbvfMC8/0aEbhocOrhK2HcWABNQIZDoC78SIKMtFznA SwIPcHal7SDScVkUKozWIXiECFVnK2GYLFndSejxH5NoJxIU/20cZWOCTUsKlPj1CrH0 6kX/X5TJeAbi1E7qImvahF+pae1BNV3KFXbmye+64gsPdgdotRamCuNMImXlPJeUijAC gDyg== X-Gm-Message-State: AOAM532wV+DN74+JPqNeWm6m0Uju1DnBcm4zVrr4UvikkfblPb3DVH75 8g8juMLX/IlEb5VkSdX0hpYS5uctBL8D2ba06VM= X-Google-Smtp-Source: ABdhPJzZUjPjaNnf5q7vHjhNTNsytSyapAOuzRDsjU3u2ml65oeA+FoBq/V2/wMobTIzkfLPsRxSf0UXHrsNSU6o9bI= X-Received: by 2002:a37:4fd2:: with SMTP id d201mr4109054qkb.232.1614278272383; Thu, 25 Feb 2021 10:37:52 -0800 (PST) MIME-Version: 1.0 References: <2f9e6f18.1e53.177b3f49f09.Coremail.njuemail@126.com> In-Reply-To: <2f9e6f18.1e53.177b3f49f09.Coremail.njuemail@126.com> From: zimoun Date: Thu, 25 Feb 2021 19:37:41 +0100 Message-ID: Subject: Re: License Problem and Other Questions defining new package Geant4 from CERN for Partical Physcis Simulation To: Sebastian Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x72e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=nECuMG6e; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 87D022BF05 X-Spam-Score: -3.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: H7a6gretxpvO Hi Sebastian, On Thu, 18 Feb 2021 at 10:30, Sebastian 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, 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