parent
7a9dd489d6
commit
15fa31d33e
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, fetchurl, unzip, libunwind }:
|
||||
{ stdenv, fetchurl, libunwind }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gperftools-2.4";
|
||||
name = "gperftools-2.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.4.tar.gz";
|
||||
sha256 = "0b8aqgch8dyapzw2zd9g89x6gsnm2ml0gf169rql0bxldqi3falq";
|
||||
url = "https://github.com/gperftools/gperftools/releases/download/${name}/${name}.tar.gz";
|
||||
sha256 = "0wsix3lhkpjv8lxmcbml549mfwifdv7n1qak09slvx6d3a7p98kg";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isLinux libunwind;
|
||||
buildInputs = stdenv.lib.optional stdenv.isLinux libunwind;
|
||||
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile.am --replace stdc++ c++
|
||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Fast, multi-threaded malloc() and nifty performance analysis tools";
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
maintainers = with maintainers; [ vcunat wkennington ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue