mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-10 15:53:36 +00:00
32 lines
888 B
Nix
32 lines
888 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.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KDE";
|
|
repo = "heaptrack";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-AzHQnPYhmCHGco7JoKal57PC6NKUoMTeflHtFsBxQpA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|