Merge pull request #20263 from dtzWill/feature/bloaty
bloaty: init at 2016.11.16
This commit is contained in:
commit
77847756f3
@ -129,6 +129,7 @@
|
||||
doublec = "Chris Double <chris.double@double.co.nz>";
|
||||
drets = "Dmytro Rets <dmitryrets@gmail.com>";
|
||||
drewkett = "Andrew Burkett <burkett.andrew@gmail.com>";
|
||||
dtzWill = "Will Dietz <nix@wdtz.org>";
|
||||
ebzzry = "Rommel Martinez <ebzzry@gmail.com>";
|
||||
ederoyd46 = "Matthew Brown <matt@ederoyd.co.uk>";
|
||||
eduarrrd = "Eduard Bachmakov <e.bachmakov@gmail.com>";
|
||||
|
31
pkgs/development/tools/bloaty/default.nix
Normal file
31
pkgs/development/tools/bloaty/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, binutils, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2016.11.16";
|
||||
name = "bloaty-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/google/bloaty.git";
|
||||
rev = "d040e4821ace478f9b43360acd6801aefdd323f7";
|
||||
sha256 = "1qk2wgd7vzr5zy0332y9h69cwkqmy8x7qz97xpgwwnk54amm8i3k";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configurePhase = ''
|
||||
sed -i 's,c++filt,${binutils}/bin/c++filt,' src/bloaty.cc
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 {.,$out/bin}/bloaty
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "a size profiler for binaries";
|
||||
homepage = https://github.com/google/bloaty;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.dtzWill ];
|
||||
};
|
||||
}
|
@ -5864,6 +5864,8 @@ in
|
||||
bison3 = callPackage ../development/tools/parsing/bison/3.x.nix { };
|
||||
bison = bison3;
|
||||
|
||||
bloaty = callPackage ../development/tools/bloaty { };
|
||||
|
||||
bossa = callPackage ../development/tools/misc/bossa {
|
||||
wxGTK = wxGTK30;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user