9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
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.1";
|
||
|
||
src = fetchurl {
|
||
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
|
||
hash = "sha256-BWCMb/IT8G3Z3nI4E9a03M1R5mGsEwmPdL/J7q8ctao=";
|
||
};
|
||
|
||
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 ];
|
||
};
|
||
}
|