depot/third_party/nixpkgs/pkgs/development/tools/profiling/heaptrack/default.nix
Default email 4a3aa3d7d8 Project import generated by Copybara.
GitOrigin-RevId: 24c9b05ac53e422f1af81a156f1fd58499eb27fb
2020-10-11 14:50:04 +02:00

31 lines
889 B
Nix

{
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
zlib, boost, libunwind, elfutils, sparsehash, zstd,
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
}:
mkDerivation rec {
pname = "heaptrack";
version = "1.2.0";
src = fetchFromGitHub {
owner = "KDE";
repo = "heaptrack";
rev = "v${version}";
sha256 = "0pw82c26da014i1qxnaib3fqa52ijhf0m4swhjc3qq4hm2dx9bxj";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [
zlib boost libunwind elfutils sparsehash zstd
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
];
meta = with lib; {
description = "Heap memory profiler for Linux";
homepage = "https://github.com/KDE/heaptrack";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ gebner ];
platforms = platforms.linux;
};
}