commit
67d7bf8115
@ -1,14 +1,14 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, gdb, qtcharts, qtbase, wrapQtAppsHook }:
|
{ lib, stdenv, fetchFromGitHub, cmake, gdb, kdePackages, wrapQtAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "seer";
|
pname = "seer";
|
||||||
version = "1.17";
|
version = "2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "epasveer";
|
owner = "epasveer";
|
||||||
repo = "seer";
|
repo = "seer";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lM6w+QwIRYP/2JDx4yynJxhVXt8SouOWgsLGXSwolIw=";
|
sha256 = "sha256-ZvoRC34496fUldL3jOdxcO/TVmfPNmmr2GkJG4gJXzk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \
|
substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \
|
||||||
--replace "/usr/bin/gdb" "${gdb}/bin/gdb"
|
--replace-fail "/usr/bin/gdb" "${gdb}/bin/gdb"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qtbase qtcharts ];
|
buildInputs = with kdePackages; [ qtbase qtcharts qtsvg ];
|
||||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake kdePackages.wrapQtAppsHook ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Qt gui frontend for GDB";
|
description = "A Qt gui frontend for GDB";
|
||||||
|
Loading…
Reference in New Issue
Block a user