Merge pull request #8746 from bosu/add-pahole

pahole: init at 1decb1b
This commit is contained in:
lethalman 2015-07-13 16:37:47 +02:00
commit 54f308c740
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchgit, cmake, elfutils, zlib }:
stdenv.mkDerivation {
name = "pahole-head";
src = fetchgit {
url = https://git.kernel.org/pub/scm/devel/pahole/pahole.git;
sha256 = "05f8a14ea6c200c20e9c6738593b38e4ced73a9cef86499ccd7af910eb9b74b3";
rev = "1decb1bc4a412a0902b7b25190d755a875022d03";
};
buildInputs = [ cmake elfutils zlib ];
postInstall = ''
for p in $out/bin/*; do
rpath=`patchelf --print-rpath $p`:$out
patchelf --set-rpath $rpath $p
done
'';
meta = with stdenv.lib; {
homepage = https://git.kernel.org/cgit/devel/pahole/pahole.git/;
description = "Pahole and other DWARF utils";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bosu ];
};
}

View File

@ -13376,6 +13376,8 @@ let
qt = qt4;
};
pahole = callPackage ../development/tools/misc/pahole {};
yed = callPackage ../applications/graphics/yed {};
ykpers = callPackage ../applications/misc/ykpers {};