2017-02-25 15:44:19 +00:00
|
|
|
{
|
|
|
|
stdenv, fetchFromGitHub, cmake, ecm,
|
|
|
|
zlib, boost162, libunwind, elfutils, sparsehash,
|
|
|
|
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons,
|
|
|
|
}:
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "heaptrack-${version}";
|
|
|
|
version = "2017-02-14";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
|
|
|
rev = "2469003b3172874e1df7e1f81c56e469b80febdb";
|
|
|
|
sha256 = "0dqchd2r4khv9gzj4n0qjii2nqygkj5jclkji8jbvivx5qwsqznc";
|
|
|
|
};
|
|
|
|
|
2017-02-25 15:44:19 +00:00
|
|
|
nativeBuildInputs = [ cmake ecm ];
|
|
|
|
buildInputs = [
|
|
|
|
zlib boost162 libunwind elfutils sparsehash
|
|
|
|
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons
|
|
|
|
];
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Heap memory profiler for Linux";
|
|
|
|
homepage = https://github.com/KDE/heaptrack;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|