Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

72 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
qttools,
wrapQtAppsHook,
qtbase,
qtwayland,
qtsvg,
qt3d,
qtdeclarative,
qtconnectivity,
qtlocation,
qtscxml,
qtwebengine,
kdePackages,
wayland,
elfutils,
libbfd,
}:
stdenv.mkDerivation rec {
pname = "gammaray";
version = "3.3.0";
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
hash = "sha256-1d27hDIxf7pFZlRnblwIbXId7EVItdNuHXtZ/MytQQw=";
};
nativeBuildInputs = [
cmake
pkg-config
qttools
wrapQtAppsHook
];
buildInputs = [
qtbase
qtwayland
qtsvg
qt3d
qtdeclarative
qtconnectivity
qtlocation
qtscxml
qtwebengine
kdePackages.kcoreaddons
wayland
elfutils
libbfd
];
cmakeFlags = [
# FIXME: build failed when enable BUILD_DOCS with qtwayland in buildInputs
"-DGAMMARAY_BUILD_DOCS=OFF"
];
meta = with lib; {
description = "Software introspection tool for Qt applications developed by KDAB";
homepage = "https://github.com/KDAB/GammaRay";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ wineee ];
mainProgram = "gammaray";
};
}