tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
hepmc3: init at 3.1.0
Dmitry Kalinkin
7 years ago
230f88a4
1b3affcb
+30
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
physics
hepmc3
default.nix
top-level
all-packages.nix
+28
pkgs/development/libraries/physics/hepmc3/default.nix
···
1
1
+
{ stdenv, fetchurl, cmake, coreutils, root }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "hepmc3-${version}";
5
5
+
version = "3.1.0";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "http://hepmc.web.cern.ch/hepmc/releases/HepMC3-${version}.tar.gz";
9
9
+
sha256 = "12kzdqdbq7md0nn58jvilhh00yddfir65f0q2026k0ym37bfwdyd";
10
10
+
};
11
11
+
12
12
+
buildInputs = [ cmake root ];
13
13
+
14
14
+
postInstall = ''
15
15
+
substituteInPlace "$out"/bin/HepMC3-config \
16
16
+
--replace 'greadlink' '${coreutils}/bin/readlink'
17
17
+
'';
18
18
+
19
19
+
enableParallelBuilding = true;
20
20
+
21
21
+
meta = with stdenv.lib; {
22
22
+
description = "The HepMC package is an object oriented, C++ event record for High Energy Physics Monte Carlo generators and simulation";
23
23
+
license = licenses.gpl3;
24
24
+
homepage = http://hepmc.web.cern.ch/hepmc/;
25
25
+
platforms = platforms.unix;
26
26
+
maintainers = with maintainers; [ veprbl ];
27
27
+
};
28
28
+
}
+2
pkgs/top-level/all-packages.nix
···
22204
22204
22205
22205
hepmc = callPackage ../development/libraries/physics/hepmc { };
22206
22206
22207
22207
+
hepmc3 = callPackage ../development/libraries/physics/hepmc3 { };
22208
22208
+
22207
22209
herwig = callPackage ../development/libraries/physics/herwig { };
22208
22210
22209
22211
lhapdf = callPackage ../development/libraries/physics/lhapdf { };