3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/profiling/heaptrack/default.nix

32 lines
889 B
Nix
Raw Normal View History

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