nixpkgs/pkgs/development/tools/profiling/heaptrack/default.nix
2018-02-07 20:56:54 -06:00

32 lines
911 B
Nix

{
stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
zlib, boost162, 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 boost162 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;
};
}