at 18.09-beta 29 lines 826 B view raw
1{ stdenv, fetchurl, cmake }: 2 3stdenv.mkDerivation rec { 4 name = "hepmc-${version}"; 5 version = "2.06.09"; 6 7 src = fetchurl { 8 url = "http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-${version}.tar.gz"; 9 sha256 = "020sc7hzy7d6d1i6bs352hdzy5zy5zxkc33cw0jhh8s0jz5281y6"; 10 }; 11 12 patches = [ ./in_source.patch ]; 13 buildInputs = [ cmake ]; 14 15 cmakeFlags = [ 16 "-Dmomentum:STRING=GEV" 17 "-Dlength:STRING=MM" 18 ]; 19 20 enableParallelBuilding = true; 21 22 meta = { 23 description = "The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators"; 24 license = stdenv.lib.licenses.gpl2; 25 homepage = http://lcgapp.cern.ch/project/simu/HepMC/; 26 platforms = stdenv.lib.platforms.unix; 27 maintainers = with stdenv.lib.maintainers; [ veprbl ]; 28 }; 29}