2016-06-11 19:38:24 +01:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hepmc";
|
2020-07-03 02:44:39 +01:00
|
|
|
version = "2.06.11";
|
2016-06-11 19:38:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-05 21:47:34 +01:00
|
|
|
url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC-${version}.tar.gz";
|
2020-07-03 02:44:39 +01:00
|
|
|
sha256 = "1pp89bs05nv60wjk1690ndwh4dsd5mk20bzsd4a2lklysdifvb6f";
|
2016-06-11 19:38:24 +01:00
|
|
|
};
|
|
|
|
|
2020-07-03 02:44:39 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-06-11 19:38:24 +01:00
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-Dmomentum:STRING=GEV"
|
|
|
|
"-Dlength:STRING=MM"
|
|
|
|
];
|
|
|
|
|
2020-07-03 02:44:39 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-11 19:38:24 +01:00
|
|
|
description = "The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators";
|
2020-07-03 02:44:39 +01:00
|
|
|
license = licenses.lgpl21;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://hepmc.web.cern.ch/hepmc/";
|
2020-07-03 02:44:39 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
2016-06-11 19:38:24 +01:00
|
|
|
};
|
|
|
|
}
|