2020-04-24 23:36:52 +00:00
|
|
|
{
|
|
|
|
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
|
2020-10-11 12:50:04 +00:00
|
|
|
zlib, boost, libunwind, elfutils, sparsehash, zstd,
|
2020-04-24 23:36:52 +00:00
|
|
|
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "heaptrack";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
|
|
|
rev = "v${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0pw82c26da014i1qxnaib3fqa52ijhf0m4swhjc3qq4hm2dx9bxj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [
|
2020-10-11 12:50:04 +00:00
|
|
|
zlib boost libunwind elfutils sparsehash zstd
|
2020-04-24 23:36:52 +00:00
|
|
|
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Heap memory profiler for Linux";
|
|
|
|
homepage = "https://github.com/KDE/heaptrack";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|