3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/physics/fastjet/default.nix
xeji a674227d2a
Merge pull request #39631 from veprbl/patch-6
fastjet: update license in meta
2018-04-28 01:34:50 +02:00

35 lines
900 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ 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.gpl2Plus;
homepage = http://fastjet.fr/;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
};
}