mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
fastjet-contrib: init at 1.042
This commit is contained in:
parent
52fb21e78f
commit
3ff236097b
2 changed files with 42 additions and 0 deletions
|
@ -0,0 +1,40 @@
|
|||
{ stdenv, fetchurl, fastjet }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fastjet-contrib";
|
||||
version = "1.042";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://fastjet.hepforge.org/contrib/downloads/fjcontrib-${version}.tar.gz";
|
||||
sha256 = "0cc8dn6g7adj2pgs8hvczg68i3xhlk6978m4gxamgibilf9jw1av";
|
||||
};
|
||||
|
||||
buildInputs = [ fastjet ];
|
||||
|
||||
postPatch = ''
|
||||
for f in Makefile.in */Makefile; do
|
||||
substituteInPlace "$f" --replace "CXX=g++" ""
|
||||
done
|
||||
patchShebangs ./configure ./utils/check.sh ./utils/install-sh
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postBuild = ''
|
||||
make fragile-shared
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make fragile-shared-install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Third party extensions for FastJet";
|
||||
homepage = "http://fastjet.fr/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -24251,6 +24251,8 @@ in
|
|||
|
||||
fastjet = callPackage ../development/libraries/physics/fastjet { };
|
||||
|
||||
fastjet-contrib = callPackage ../development/libraries/physics/fastjet-contrib { };
|
||||
|
||||
fastnlo = callPackage ../development/libraries/physics/fastnlo { };
|
||||
|
||||
geant4 = libsForQt5.callPackage ../development/libraries/physics/geant4 { };
|
||||
|
|
Loading…
Reference in a new issue