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