nixpkgs/pkgs/development/libraries/physics/geant4/fetch.nix
Tmplt 024efc9509 geant4: v10.0.2 -> v10.4.1, define datasets seperately, add deps for enableInventor
By seperating the datasets, geant4 now builds in a sandbox.

Resolves #39766
2018-05-12 21:58:41 +02:00

30 lines
628 B
Nix

{ stdenv, fetchurl }:
let
fetch = { version, src ? builtins.getAttr stdenv.system sources, sources ? null }:
{
inherit version src;
};
in {
v10_0_2 = fetch {
version = "10.0.2";
src = fetchurl{
url = "http://geant4.cern.ch/support/source/geant4.10.00.p02.tar.gz";
sha256 = "9d615200901f1a5760970e8f5970625ea146253e4f7c5ad9df2a9cf84549e848";
};
};
v10_4_1 = fetch {
version = "10.4.1";
src = fetchurl{
url = "http://cern.ch/geant4-data/releases/geant4.10.04.p01.tar.gz";
sha256 = "a3eb13e4f1217737b842d3869dc5b1fb978f761113e74bd4eaf6017307d234dd";
};
};
}