567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
56 lines
992 B
Nix
56 lines
992 B
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
fetchurl,
|
|
extra-cmake-modules,
|
|
shared-mime-info,
|
|
qtsvg,
|
|
qtxmlpatterns,
|
|
karchive,
|
|
kconfig,
|
|
kcoreaddons,
|
|
kparts,
|
|
kio,
|
|
ki18n,
|
|
kdiagram,
|
|
kgraphviewer,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "massif-visualizer";
|
|
version = "0.7.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/massif-visualizer/${version}/src/${pname}-${version}.tar.xz";
|
|
sha256 = "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q";
|
|
};
|
|
|
|
patches = [ ./cmake-minimum-required.patch ];
|
|
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
shared-mime-info
|
|
];
|
|
|
|
buildInputs = [
|
|
qtsvg
|
|
qtxmlpatterns
|
|
karchive
|
|
kconfig
|
|
kcoreaddons
|
|
kparts
|
|
kio
|
|
ki18n
|
|
kdiagram
|
|
kgraphviewer
|
|
];
|
|
|
|
meta = {
|
|
description = "Tool that visualizes massif data generated by valgrind";
|
|
mainProgram = "massif-visualizer";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ zraexy ];
|
|
};
|
|
}
|