depot/third_party/nixpkgs/pkgs/development/tools/profiling/heaptrack/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

31 lines
894 B
Nix

{
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
zlib, boost179, libunwind, elfutils, sparsehash, zstd,
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
}:
mkDerivation rec {
pname = "heaptrack";
version = "1.5.0";
src = fetchFromGitHub {
owner = "KDE";
repo = "heaptrack";
rev = "v${version}";
sha256 = "sha256-pP+s60ERnmOctYTe/vezCg0VYzziApNY0QaF3aTccZU=";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [
zlib boost179 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;
};
}