2017-02-25 15:44:19 +00:00
|
|
|
{
|
2017-02-26 12:49:15 +00:00
|
|
|
stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
|
2017-02-25 15:44:19 +00:00
|
|
|
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}";
|
2017-11-16 10:19:46 +00:00
|
|
|
version = "2017-10-30";
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
2017-11-16 10:19:46 +00:00
|
|
|
rev = "2bf49bc4fed144e004a9cabd40580a0f0889758f";
|
|
|
|
sha256 = "0sqxk5cc8r2vsj5k2dj9jkd1f2x2yj3mxgsp65g7ls01bgga0i4d";
|
2017-02-14 11:19:40 +00:00
|
|
|
};
|
|
|
|
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
2017-02-25 15:44:19 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|