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