mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
bafab52861
By default, seer tries to use gdb from /usr/bin/gdb seer changes
34 lines
836 B
Nix
34 lines
836 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, gdb, qtcharts, qtbase, wrapQtAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "seer";
|
|
version = "1.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "epasveer";
|
|
repo = "seer";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lM6w+QwIRYP/2JDx4yynJxhVXt8SouOWgsLGXSwolIw=";
|
|
};
|
|
|
|
preConfigure = ''
|
|
cd src
|
|
'';
|
|
|
|
patchPhase = ''
|
|
substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \
|
|
--replace "/usr/bin/gdb" "${gdb}/bin/gdb"
|
|
'';
|
|
|
|
buildInputs = [ qtbase qtcharts ];
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
|
|
|
meta = with lib; {
|
|
description = "A Qt gui frontend for GDB";
|
|
homepage = "https://github.com/epasveer/seer";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ foolnotion ];
|
|
};
|
|
}
|