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

32 lines
889 B
Nix
Raw Normal View History

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