Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #55454 from veprbl/pr/hepmc3_init

hepmc3: init at 3.1.0

authored by

Sarah Brofeldt and committed by
GitHub
3b1e68b7 3b72c446

+30
+28
pkgs/development/libraries/physics/hepmc3/default.nix
··· 1 + { stdenv, fetchurl, cmake, coreutils, root }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "hepmc3-${version}"; 5 + version = "3.1.0"; 6 + 7 + src = fetchurl { 8 + url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC3-${version}.tar.gz"; 9 + sha256 = "12kzdqdbq7md0nn58jvilhh00yddfir65f0q2026k0ym37bfwdyd"; 10 + }; 11 + 12 + buildInputs = [ cmake root ]; 13 + 14 + postInstall = '' 15 + substituteInPlace "$out"/bin/HepMC3-config \ 16 + --replace 'greadlink' '${coreutils}/bin/readlink' 17 + ''; 18 + 19 + enableParallelBuilding = true; 20 + 21 + meta = with stdenv.lib; { 22 + description = "The HepMC package is an object oriented, C++ event record for High Energy Physics Monte Carlo generators and simulation"; 23 + license = licenses.gpl3; 24 + homepage = http://hepmc.web.cern.ch/hepmc/; 25 + platforms = platforms.unix; 26 + maintainers = with maintainers; [ veprbl ]; 27 + }; 28 + }
+2
pkgs/top-level/all-packages.nix
··· 22203 22203 22204 22204 hepmc = callPackage ../development/libraries/physics/hepmc { }; 22205 22205 22206 + hepmc3 = callPackage ../development/libraries/physics/hepmc3 { }; 22207 + 22206 22208 herwig = callPackage ../development/libraries/physics/herwig { }; 22207 22209 22208 22210 lhapdf = callPackage ../development/libraries/physics/lhapdf { };