nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at netboot-syslinux-multiplatform 26 lines 719 B view raw
1{ lib, stdenv, fetchurl, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "hepmc"; 5 version = "2.06.11"; 6 7 src = fetchurl { 8 url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC-${version}.tar.gz"; 9 sha256 = "1pp89bs05nv60wjk1690ndwh4dsd5mk20bzsd4a2lklysdifvb6f"; 10 }; 11 12 nativeBuildInputs = [ cmake ]; 13 14 cmakeFlags = [ 15 "-Dmomentum:STRING=GEV" 16 "-Dlength:STRING=MM" 17 ]; 18 19 meta = with lib; { 20 description = "The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators"; 21 license = licenses.lgpl21; 22 homepage = "http://hepmc.web.cern.ch/hepmc/"; 23 platforms = platforms.unix; 24 maintainers = with maintainers; [ veprbl ]; 25 }; 26}