3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/physics/fastjet/default.nix

35 lines
900 B
Nix
Raw Normal View History

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}";
version = "3.3.1";
2016-06-11 18:40:58 +01:00
src = fetchurl {
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
sha256 = "0lvchyh9q2p8lb10isazw0wbwzs24yg7gxyhpj9xpvz5hydyvgvn";
2016-06-11 18:40:58 +01:00
};
2017-11-17 21:23:42 +00:00
buildInputs = [ python2 ];
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";
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
};
}