nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv, fetchFromGitHub, cmake, extra-cmake-modules,
3 zlib, boost162, libunwind, elfutils, sparsehash,
4 qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons,
5}:
6
7stdenv.mkDerivation rec {
8 name = "heaptrack-${version}";
9 version = "2017-02-14";
10
11 src = fetchFromGitHub {
12 owner = "KDE";
13 repo = "heaptrack";
14 rev = "2469003b3172874e1df7e1f81c56e469b80febdb";
15 sha256 = "0dqchd2r4khv9gzj4n0qjii2nqygkj5jclkji8jbvivx5qwsqznc";
16 };
17
18 nativeBuildInputs = [ cmake extra-cmake-modules ];
19 buildInputs = [
20 zlib boost162 libunwind elfutils sparsehash
21 qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons
22 ];
23
24 meta = with stdenv.lib; {
25 description = "Heap memory profiler for Linux";
26 homepage = https://github.com/KDE/heaptrack;
27 license = licenses.lgpl21Plus;
28 maintainers = with maintainers; [ gebner ];
29 platforms = platforms.linux;
30 };
31}