nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 939 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 gdb, 7 kdePackages, 8 wrapQtAppsHook, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "seer"; 13 version = "2.6"; 14 15 src = fetchFromGitHub { 16 owner = "epasveer"; 17 repo = "seer"; 18 rev = "v${version}"; 19 sha256 = "sha256-QXVsjTJYGE/7nTKldlOGN6AnW8OthrBJruVbb/HiPdg="; 20 }; 21 22 preConfigure = '' 23 cd src 24 ''; 25 26 patchPhase = '' 27 substituteInPlace src/{SeerGdbConfigPage,SeerMainWindow,SeerGdbWidget}.cpp \ 28 --replace-fail "/usr/bin/gdb" "${gdb}/bin/gdb" 29 ''; 30 31 buildInputs = with kdePackages; [ 32 qtbase 33 qtcharts 34 qtsvg 35 ]; 36 nativeBuildInputs = [ 37 cmake 38 kdePackages.wrapQtAppsHook 39 ]; 40 41 meta = { 42 description = "Qt gui frontend for GDB"; 43 mainProgram = "seergdb"; 44 homepage = "https://github.com/epasveer/seer"; 45 license = lib.licenses.gpl3Only; 46 platforms = lib.platforms.linux; 47 maintainers = with lib.maintainers; [ foolnotion ]; 48 }; 49}