70e070afa7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fastjet/versions. These checks were done: - built on NixOS - ran ‘/nix/store/y8mkgp5xlcfik6fb5r1dzb93n6xm1f9r-fastjet-3.3.1/bin/fastjet-config -h’ got 0 exit code - ran ‘/nix/store/y8mkgp5xlcfik6fb5r1dzb93n6xm1f9r-fastjet-3.3.1/bin/fastjet-config --help’ got 0 exit code - ran ‘/nix/store/y8mkgp5xlcfik6fb5r1dzb93n6xm1f9r-fastjet-3.3.1/bin/fastjet-config --version’ and found version 3.3.1 - found 3.3.1 with grep in /nix/store/y8mkgp5xlcfik6fb5r1dzb93n6xm1f9r-fastjet-3.3.1 - directory tree listing: https://gist.github.com/aa455f4d0802d2b2b76678ecccfe3eab
34 lines
837 B
Nix
34 lines
837 B
Nix
{ stdenv, fetchurl, python2 }:
|
||
|
||
stdenv.mkDerivation rec {
|
||
name = "fastjet-${version}";
|
||
version = "3.3.1";
|
||
|
||
src = fetchurl {
|
||
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
|
||
sha256 = "0lvchyh9q2p8lb10isazw0wbwzs24yg7gxyhpj9xpvz5hydyvgvn";
|
||
};
|
||
|
||
buildInputs = [ python2 ];
|
||
|
||
postPatch = ''
|
||
substituteInPlace plugins/SISCone/SISConeBasePlugin.cc \
|
||
--replace 'structure_of<UserScaleBase::StructureType>()' \
|
||
'structure_of<UserScaleBase>()'
|
||
'';
|
||
|
||
configureFlags = [
|
||
"--enable-allcxxplugins"
|
||
"--enable-pyext"
|
||
];
|
||
|
||
enableParallelBuilding = true;
|
||
|
||
meta = {
|
||
description = "A software package for jet finding in pp and e+e− collisions";
|
||
license = stdenv.lib.licenses.gpl2;
|
||
homepage = http://fastjet.fr/;
|
||
platforms = stdenv.lib.platforms.unix;
|
||
};
|
||
}
|