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)?
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 Here is another problem: during configuring command "cmake" on a non-Guix system, -- Geant4 has been pre-configured to look for datasets in the directory: -- /usr/local/share/Geant4-10.7.1/data the user needs to download datasets and unpack them under that directory. https://geant4.web.cern.ch/support/download Or, set flag -DGEANT4_INSTALL_DATA=ON to automatically download the datasets during building. On Guix however, -- Geant4 has been pre-configured to look for datasets in the directory: -- /gnu/store/byprhqa1qq6s0ksgdpjgwv58ak25kprd-geant4-10.07.p01/share/Geant4-10.7.1/data the building process is sandboxed, and does not allow download during building that causing non-repuduciable build result. Cmake flag GEANT4_INSTALL_DATADIR defaults to "share", a path relative to CMAKE_INSTALL_PREFIX, and it can be set to define the directory storing datasets other than ....../share, but datastes should always be under "GEANT4_INSTALL_DATADIR/Geant4-10.7.1/data". https://geant4-userdoc.web.cern.ch/UsersGuides/InstallationGuide/html/installguide.html#geant4buildoptions But the (source origin) denotes "a file" only, https://guix.gnu.org/manual/en/html_node/package-Reference.html is it possible to define a package fetching multiple files and extracts them into the desired directory, using the Guix package definition? I am not familiar with trivial-build-system. The build and install of the geant4 without datasets using cmake-build-system seems to be successful. Your help would be much appreciated. With best regards, Sebastian