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
33
pkgs/development/tools/flamegraph/default.nix
Normal file
33
pkgs/development/tools/flamegraph/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "FlameGraph";
|
||||
version = "2019-02-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brendangregg";
|
||||
repo = pname;
|
||||
rev = "1b1c6deede9c33c5134c920bdb7a44cc5528e9a7";
|
||||
sha256 = "1flvkmv2gbb003d51myl7r0wyhyw1bk9p7v19xagb8xjj4ci947b";
|
||||
};
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
for x in $src/*.pl $src/*.awk $src/dev/*.pl $src/dev/*.d; do
|
||||
cp $x $out/bin
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
license = with licenses; [ asl20 cddl gpl2Plus ];
|
||||
homepage = "http://www.brendangregg.com/flamegraphs.html";
|
||||
description = "Visualization for profiled code";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue