gperftools: 2.4 -> 2.5

Also, maintain the package.
This commit is contained in:
Vladimír Čunát 2016-09-13 16:03:37 +02:00
parent 7a9dd489d6
commit 15fa31d33e

View file

@ -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 ];
};
}