@@ -1,26 +1,22 @@
1−{ stdenv, binutils, cmake, fetchFromGitHub }:
1+{ stdenv, binutils, cmake, zlib, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
4− version = "2017-10-05";
4+ version = "2018-05-22";
55 name = "bloaty-${version}";
66
77 src = fetchFromGitHub {
88 owner = "google";
99 repo = "bloaty";
10− rev = "e47b21b01ceecf001e1965e9da249d48d86a1749";
11− sha256 = "1il3z49hi0b07agjwr5fg1wzysfxsamfv1snvlp33vrlyl1m7cbm";
10+ rev = "054788b091ccfd43b05b9817062139145096d440";
11+ sha256 = "0pmv66137ipzsjjdz004n61pz3aipjhh3b0w0y1406clqpwkvpjm";
1212 fetchSubmodules = true;
1313 };
1414
1515 nativeBuildInputs = [ cmake ];
1616
17− enableParallelBuilding = true;
17+ buildInputs = [ zlib ];
1818
19− preConfigure = ''
20− substituteInPlace src/bloaty.cc \
21− --replace "c++filt" \
22− "${binutils.bintools}/bin/c++filt"
23− '';
19+ enableParallelBuilding = true;
2420
2521 doCheck = true;
2622