2017-02-25 09:44:19 -06:00
|
|
|
{
|
2020-01-24 12:00:00 +00:00
|
|
|
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
|
2018-02-07 20:13:31 -06:00
|
|
|
zlib, boost, libunwind, elfutils, sparsehash,
|
2018-02-07 20:53:49 -06:00
|
|
|
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
|
2017-02-25 09:44:19 -06:00
|
|
|
}:
|
2017-02-14 12:19:40 +01:00
|
|
|
|
2020-01-24 12:00:00 +00:00
|
|
|
mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "heaptrack";
|
2018-05-21 15:36:25 -05:00
|
|
|
version = "1.1.0";
|
2017-02-14 12:19:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
2018-05-21 15:36:25 -05:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0vgwldl5n41r4y3pv8w29gmyln0k2w6m59zrfw9psm4hkxvivzlx";
|
2017-02-14 12:19:40 +01:00
|
|
|
};
|
|
|
|
|
2017-02-26 06:49:15 -06:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
2017-02-25 09:44:19 -06:00
|
|
|
buildInputs = [
|
2018-02-07 20:13:31 -06:00
|
|
|
zlib boost libunwind elfutils sparsehash
|
2018-02-07 20:53:49 -06:00
|
|
|
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
|
2017-02-25 09:44:19 -06:00
|
|
|
];
|
2017-02-14 12:19:40 +01:00
|
|
|
|
2020-01-24 12:00:00 +00:00
|
|
|
meta = with lib; {
|
2017-02-14 12:19:40 +01:00
|
|
|
description = "Heap memory profiler for Linux";
|
2020-03-31 21:11:51 -04: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;
|
|
|
|
};
|
|
|
|
}
|