uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchurl, fastjet }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fastjet-contrib";
|
||||
version = "1.048";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://fastjet.hepforge.org/contrib/downloads/fjcontrib-${version}.tar.gz";
|
||||
sha256 = "sha256-+ZidO2rrIoSLz5EJXDBgfwJ9PvJ3pPD3BKjw/C52aYE=";
|
||||
};
|
||||
|
||||
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 lib; {
|
||||
description = "Third party extensions for FastJet";
|
||||
homepage = "http://fastjet.fr/";
|
||||
changelog = "https://phab.hepforge.org/source/fastjetsvn/browse/contrib/tags/${version}/NEWS?as=source&blame=off";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue