git.iko.soy/typeable/nixpkgs
on master help sign in
bloaty: 2017-10-05 -> 2018-05-22

* add zlib dep (cmake tries to find it, provide it JIC) * no need to populate with path to c++filt, handled internally now * continue to copy ourselves, new install target isn't ready yet

commitb7fe62d532307fbe9282b76fa5cc5cbd8cb0eafe authorWill Dietz <w@wdtz.org> dateTue 22 May 2018, 16:04 (9 years ago) parent71da438
1 file changed+6−10
pkgs/development/tools/bloaty/default.nix+6−10
pkgs/development/tools/bloaty/default.nix+6−10
@@ -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