depot/third_party/nixpkgs/pkgs/development/libraries/physics/fastjet/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
745 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.

{ lib
, stdenv
, fetchurl
, python ? null
, withPython ? false
}:
stdenv.mkDerivation rec {
pname = "fastjet";
version = "3.4.2";
src = fetchurl {
url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
hash = "sha256-s9MxVbVc5D9CDNbZm1Jaz3vcJZOnu36omKnds9jKOOM=";
};
buildInputs = lib.optional withPython python;
configureFlags = [
"--enable-allcxxplugins"
] ++ lib.optional withPython "--enable-pyext";
enableParallelBuilding = true;
meta = {
description = "A software package for jet finding in pp and e+e collisions";
license = lib.licenses.gpl2Plus;
homepage = "http://fastjet.fr/";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ veprbl ];
};
}