2017-02-25 15:44:19 +00:00
|
|
|
{
|
2017-02-26 12:49:15 +00:00
|
|
|
stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
|
2018-02-08 02:13:31 +00:00
|
|
|
zlib, boost, libunwind, elfutils, sparsehash,
|
2017-02-25 15:44:19 +00:00
|
|
|
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons,
|
|
|
|
}:
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "heaptrack-${version}";
|
2018-02-08 01:56:19 +00:00
|
|
|
version = "2018-01-28";
|
2017-02-14 11:19:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KDE";
|
|
|
|
repo = "heaptrack";
|
2018-02-08 01:56:19 +00:00
|
|
|
rev = "a4534d52788ab9814efca1232d402b2eb319342c";
|
|
|
|
sha256 = "00xfv51kavvcmwgfmcixx0k5vhd06gkj5q0mm8rwxiw6215xp41a";
|
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 = [
|
2018-02-08 02:13:31 +00:00
|
|
|
zlib boost libunwind elfutils sparsehash
|
2017-02-25 15:44:19 +00:00
|
|
|
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons
|
|
|
|
];
|
2017-02-14 11:19:40 +00: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;
|
|
|
|
};
|
|
|
|
}
|