mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
hepmc3: init at 3.1.0
This commit is contained in:
parent
1b3affcbaa
commit
230f88a436
2 changed files with 30 additions and 0 deletions
28
pkgs/development/libraries/physics/hepmc3/default.nix
Normal file
28
pkgs/development/libraries/physics/hepmc3/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, cmake, coreutils, root }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hepmc3-${version}";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC3-${version}.tar.gz";
|
||||
sha256 = "12kzdqdbq7md0nn58jvilhh00yddfir65f0q2026k0ym37bfwdyd";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake root ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace "$out"/bin/HepMC3-config \
|
||||
--replace 'greadlink' '${coreutils}/bin/readlink'
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The HepMC package is an object oriented, C++ event record for High Energy Physics Monte Carlo generators and simulation";
|
||||
license = licenses.gpl3;
|
||||
homepage = http://hepmc.web.cern.ch/hepmc/;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
|
@ -22204,6 +22204,8 @@ in
|
|||
|
||||
hepmc = callPackage ../development/libraries/physics/hepmc { };
|
||||
|
||||
hepmc3 = callPackage ../development/libraries/physics/hepmc3 { };
|
||||
|
||||
herwig = callPackage ../development/libraries/physics/herwig { };
|
||||
|
||||
lhapdf = callPackage ../development/libraries/physics/lhapdf { };
|
||||
|
|
Loading…
Reference in a new issue