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