depot/third_party/nixpkgs/pkgs/development/tools/gammaray/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

46 lines
803 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
, qtbase
, wayland
, elfutils
, libbfd
}:
stdenv.mkDerivation rec {
pname = "gammaray";
version = "3.0.0";
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
hash = "sha256-C8bej0q4p8F27hiJUye9G+sZbkAYaV8hW1GKWZyHAis=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
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 ];
mainProgram = "gammaray";
};
}