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