nixpkgs/pkgs/development/tools/gammaray/default.nix

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

47 lines
803 B
Nix
Raw Normal View History

2023-03-14 10:26:27 +01:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, wrapQtAppsHook
2023-09-05 05:25:48 +02:00
, qtbase
2023-03-14 10:26:27 +01:00
, wayland
, elfutils
, libbfd
}:
stdenv.mkDerivation rec {
2023-04-01 21:14:13 +02:00
pname = "gammaray";
2023-09-05 05:25:48 +02:00
version = "3.0.0";
2023-03-14 10:26:27 +01:00
src = fetchFromGitHub {
owner = "KDAB";
repo = pname;
rev = "v${version}";
2023-09-05 05:25:48 +02:00
hash = "sha256-C8bej0q4p8F27hiJUye9G+sZbkAYaV8hW1GKWZyHAis=";
2023-03-14 10:26:27 +01:00
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
2023-09-05 05:25:48 +02:00
qtbase
2023-03-14 10:26:27 +01:00
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 ];
2023-09-05 05:25:48 +02:00
mainProgram = "gammaray";
2023-03-14 10:26:27 +01:00
};
}