1 { lib, stdenv, cmake, zlib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1556gb8gb8jwf5mwxppcqz3mp269b5jhd51kj341iqkbn27zzngk";
12 fetchSubmodules = true;
15 nativeBuildInputs = [ cmake ];
17 buildInputs = [ zlib ];
22 install -Dm755 {.,$out/bin}/bloaty
26 description = "a size profiler for binaries";
27 homepage = "https://github.com/google/bloaty";
28 license = licenses.asl20;
29 platforms = platforms.unix;
30 maintainers = with maintainers; [ dtzWill ];