Merge pull request #40940 from dtzWill/update/bloaty-2018-05-22
bloaty: 2017-10-05 -> 2018-05-22
This commit is contained in:
commit
8343b0a76e
1 changed files with 6 additions and 10 deletions
|
@ -1,26 +1,22 @@
|
|||
{ stdenv, binutils, cmake, fetchFromGitHub }:
|
||||
{ stdenv, binutils, cmake, zlib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2017-10-05";
|
||||
version = "2018-05-22";
|
||||
name = "bloaty-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "bloaty";
|
||||
rev = "e47b21b01ceecf001e1965e9da249d48d86a1749";
|
||||
sha256 = "1il3z49hi0b07agjwr5fg1wzysfxsamfv1snvlp33vrlyl1m7cbm";
|
||||
rev = "054788b091ccfd43b05b9817062139145096d440";
|
||||
sha256 = "0pmv66137ipzsjjdz004n61pz3aipjhh3b0w0y1406clqpwkvpjm";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace src/bloaty.cc \
|
||||
--replace "c++filt" \
|
||||
"${binutils.bintools}/bin/c++filt"
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue