4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
32 lines
745 B
Nix
32 lines
745 B
Nix
{ lib
|
||
, stdenv
|
||
, fetchurl
|
||
, python ? null
|
||
, withPython ? false
|
||
}:
|
||
|
||
stdenv.mkDerivation rec {
|
||
pname = "fastjet";
|
||
version = "3.4.0";
|
||
|
||
src = fetchurl {
|
||
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
|
||
hash = "sha256-7gfIdHyOrYbYjeSp5OjR6efXYUlz9WMbqCl/egJHi5E=";
|
||
};
|
||
|
||
buildInputs = lib.optional withPython python;
|
||
|
||
configureFlags = [
|
||
"--enable-allcxxplugins"
|
||
] ++ lib.optional withPython "--enable-pyext";
|
||
|
||
enableParallelBuilding = true;
|
||
|
||
meta = {
|
||
description = "A software package for jet finding in pp and e+e− collisions";
|
||
license = lib.licenses.gpl2Plus;
|
||
homepage = "http://fastjet.fr/";
|
||
platforms = lib.platforms.unix;
|
||
maintainers = with lib.maintainers; [ veprbl ];
|
||
};
|
||
}
|