summary refs log tree commit diff
path: root/pkgs/development/tools/profiling/heaptrack/default.nix
blob: 8df9155eb5cf99ce78257c8ac8a2c3addd0811dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
  zlib, boost, libunwind, elfutils, sparsehash,
  qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons,
}:

stdenv.mkDerivation rec {
  name = "heaptrack-${version}";
  version = "2018-01-28";

  src = fetchFromGitHub {
    owner = "KDE";
    repo = "heaptrack";
    rev = "a4534d52788ab9814efca1232d402b2eb319342c";
    sha256 = "00xfv51kavvcmwgfmcixx0k5vhd06gkj5q0mm8rwxiw6215xp41a";
  };

  nativeBuildInputs = [ cmake extra-cmake-modules ];
  buildInputs = [
    zlib boost libunwind elfutils sparsehash
    qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons
  ];

  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;
  };
}