2017-11-17 13:23:42 -08:00
|
|
|
|
{ stdenv, fetchurl, python2 }:
|
2016-06-11 10:40:58 -07:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
name = "fastjet-${version}";
|
2018-04-26 05:57:09 -07:00
|
|
|
|
version = "3.3.1";
|
2016-06-11 10:40:58 -07:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
|
2018-04-26 05:57:09 -07:00
|
|
|
|
sha256 = "0lvchyh9q2p8lb10isazw0wbwzs24yg7gxyhpj9xpvz5hydyvgvn";
|
2016-06-11 10:40:58 -07:00
|
|
|
|
};
|
|
|
|
|
|
2017-11-17 13:23:42 -08:00
|
|
|
|
buildInputs = [ python2 ];
|
|
|
|
|
|
2018-02-02 08:24:18 -08:00
|
|
|
|
postPatch = ''
|
|
|
|
|
substituteInPlace plugins/SISCone/SISConeBasePlugin.cc \
|
|
|
|
|
--replace 'structure_of<UserScaleBase::StructureType>()' \
|
|
|
|
|
'structure_of<UserScaleBase>()'
|
|
|
|
|
'';
|
|
|
|
|
|
2017-11-17 13:23:42 -08:00
|
|
|
|
configureFlags = [
|
|
|
|
|
"--enable-allcxxplugins"
|
|
|
|
|
"--enable-pyext"
|
|
|
|
|
];
|
2016-06-11 10:40:58 -07:00
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
description = "A software package for jet finding in pp and e+e− collisions";
|
2018-04-27 16:16:32 -07:00
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-06-11 10:40:58 -07:00
|
|
|
|
homepage = http://fastjet.fr/;
|
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-04-27 15:33:42 -07:00
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ veprbl ];
|
2016-06-11 10:40:58 -07:00
|
|
|
|
};
|
|
|
|
|
}
|