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

32 lines
879 B
Nix
Raw Normal View History

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