2017-02-25 16:44:19 +01:00
|
|
|
{
|
2017-02-26 13:49:15 +01:00
|
|
|
stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
|
2018-02-08 03:13:31 +01:00
|
|
|
zlib, boost, libunwind, elfutils, sparsehash,
|
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
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "heaptrack";
|
2018-05-21 22:36:25 +02:00
|
|
|
version = "1.1.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}";
|
|
|
|
sha256 = "0vgwldl5n41r4y3pv8w29gmyln0k2w6m59zrfw9psm4hkxvivzlx";
|
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 = [
|
2018-02-08 03:13:31 +01:00
|
|
|
zlib boost libunwind elfutils sparsehash
|
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
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|