commit
54f308c740
27
pkgs/development/tools/misc/pahole/default.nix
Normal file
27
pkgs/development/tools/misc/pahole/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13376,6 +13376,8 @@ let
|
||||||
qt = qt4;
|
qt = qt4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pahole = callPackage ../development/tools/misc/pahole {};
|
||||||
|
|
||||||
yed = callPackage ../applications/graphics/yed {};
|
yed = callPackage ../applications/graphics/yed {};
|
||||||
|
|
||||||
ykpers = callPackage ../applications/misc/ykpers {};
|
ykpers = callPackage ../applications/misc/ykpers {};
|
||||||
|
|
Loading…
Reference in a new issue