nixpkgs/pkgs/development/tools/gammaray/default.nix
2023-03-14 17:26:27 +08:00

44 lines
754 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, wayland
, elfutils
, libbfd
}:
stdenv.mkDerivation rec {
pname = "GammaRay";
version = "2.11.3";
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
hash = "sha256-ZFLHBPIjkbHlsatwuXdut1C5MpdkVUb9T7TTNhtP764=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
wayland
elfutils
libbfd
];
meta = with lib; {
description = "A software introspection tool for Qt applications developed by KDAB";
homepage = "https://github.com/KDAB/GammaRay";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}