2021-09-18 10:52:07 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, stdenv
|
|
|
|
|
, fetchurl
|
2022-01-19 23:45:15 +00:00
|
|
|
|
, python ? null
|
2021-09-18 10:52:07 +00:00
|
|
|
|
, withPython ? false
|
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "fastjet";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
version = "3.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
hash = "sha256-BWCMb/IT8G3Z3nI4E9a03M1R5mGsEwmPdL/J7q8ctao=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
|
buildInputs = lib.optional withPython python;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
|
"--enable-allcxxplugins"
|
2021-09-18 10:52:07 +00:00
|
|
|
|
] ++ lib.optional withPython "--enable-pyext";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A software package for jet finding in pp and e+e− collisions";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
homepage = "http://fastjet.fr/";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
|
maintainers = with lib.maintainers; [ veprbl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
}
|