2017-02-25 15:44:19 +00:00
|
|
|
{
|
2020-01-24 12:00:00 +00:00
|
|
|
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
|
2020-10-09 18:44:15 +01:00
|
|
|
zlib, boost, libunwind, elfutils, sparsehash, zstd,
|
2018-02-08 02:53:49 +00:00
|
|
|
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
|
2017-02-25 15:44:19 +00:00
|
|
|
}:
|
2017-02-14 11:19:40 +00:00
|
|
|
|
2020-01-24 12:00:00 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "heaptrack";
|
2020-09-05 01:41:34 +01:00
|
|
|
version = "1.2.0";
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
2018-05-21 21:36:25 +01:00
|
|
|
rev = "v${version}";
|
2020-09-05 01:41:34 +01:00
|
|
|
sha256 = "0pw82c26da014i1qxnaib3fqa52ijhf0m4swhjc3qq4hm2dx9bxj";
|
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 = [
|
2020-10-09 18:44:15 +01:00
|
|
|
zlib boost libunwind elfutils sparsehash zstd
|
2018-02-08 02:53:49 +00:00
|
|
|
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
|
2017-02-25 15:44:19 +00:00
|
|
|
];
|
2017-02-14 11:19:40 +00:00
|
|
|
|
2020-01-24 12:00:00 +00:00
|
|
|
meta = with lib; {
|
2017-02-14 11:19:40 +00:00
|
|
|
description = "Heap memory profiler for Linux";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/KDE/heaptrack";
|
2017-02-14 11:19:40 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|