Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{
|
|
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";
|
|
};
|
|
}
|