nixpkgs/pkgs/development/tools/profiling/heaptrack/default.nix

32 lines
889 B
Nix
Raw Normal View History

2017-02-25 07:44:19 -08:00
{
2020-01-24 04:00:00 -08:00
lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules,
2020-10-09 10:44:15 -07:00
zlib, boost, libunwind, elfutils, sparsehash, zstd,
qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram
2017-02-25 07:44:19 -08:00
}:
2017-02-14 03:19:40 -08:00
2020-01-24 04:00:00 -08:00
mkDerivation rec {
pname = "heaptrack";
2020-09-04 17:41:34 -07:00
version = "1.2.0";
2017-02-14 03:19:40 -08:00
src = fetchFromGitHub {
owner = "KDE";
repo = "heaptrack";
rev = "v${version}";
2020-09-04 17:41:34 -07:00
sha256 = "0pw82c26da014i1qxnaib3fqa52ijhf0m4swhjc3qq4hm2dx9bxj";
2017-02-14 03:19:40 -08:00
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
2017-02-25 07:44:19 -08:00
buildInputs = [
2020-10-09 10:44:15 -07:00
zlib boost libunwind elfutils sparsehash zstd
qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram
2017-02-25 07:44:19 -08:00
];
2017-02-14 03:19:40 -08:00
2020-01-24 04:00:00 -08:00
meta = with lib; {
2017-02-14 03:19:40 -08:00
description = "Heap memory profiler for Linux";
homepage = "https://github.com/KDE/heaptrack";
2017-02-14 03:19:40 -08:00
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ gebner ];
platforms = platforms.linux;
};
}