2016-06-11 20:38:24 +02:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "hepmc";
|
2019-08-05 22:47:34 +02:00
|
|
|
version = "2.06.10";
|
2016-06-11 20:38:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-05 22:47:34 +02:00
|
|
|
url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC-${version}.tar.gz";
|
|
|
|
sha256 = "190i9jlnwz1xpc495y0xc70s4zdqb9s2zdq1zkjy2ivl7ygdvpjs";
|
2016-06-11 20:38:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./in_source.patch ];
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-Dmomentum:STRING=GEV"
|
|
|
|
"-Dlength:STRING=MM"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2019-08-05 22:47:34 +02:00
|
|
|
homepage = http://hepmc.web.cern.ch/hepmc/;
|
2016-06-11 20:38:24 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-10-22 12:05:23 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
2016-06-11 20:38:24 +02:00
|
|
|
};
|
|
|
|
}
|