Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 31 lines 888 B view raw
1{ 2 lib, mkDerivation, fetchFromGitHub, cmake, extra-cmake-modules, 3 zlib, boost, libunwind, elfutils, sparsehash, zstd, 4 qtbase, kio, kitemmodels, threadweaver, kconfigwidgets, kcoreaddons, kdiagram 5}: 6 7mkDerivation rec { 8 pname = "heaptrack"; 9 version = "1.4.0"; 10 11 src = fetchFromGitHub { 12 owner = "KDE"; 13 repo = "heaptrack"; 14 rev = "v${version}"; 15 sha256 = "sha256-AzHQnPYhmCHGco7JoKal57PC6NKUoMTeflHtFsBxQpA="; 16 }; 17 18 nativeBuildInputs = [ cmake extra-cmake-modules ]; 19 buildInputs = [ 20 zlib boost libunwind elfutils sparsehash zstd 21 qtbase kio kitemmodels threadweaver kconfigwidgets kcoreaddons kdiagram 22 ]; 23 24 meta = with 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}