Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4b437f3821a7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a30fa6d9a255
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Nov 23, 2017

  1. gdbgui: init at 0.9.0.1

    Feature rich browser-based frontend with data structure visualizations
    (like DDD), and gdb terminal access. Compatible with C, C++, golang,
    Rust, fortran. Written in Python and JavaScript
    
    gdbgui is at the top of the GDB Front Ends
    list on https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
    yrashk committed Nov 23, 2017

    Verified

    This commit was signed with the committer’s verified signature.
    shlevy Shea Levy
    Copy the full SHA
    fcec492 View commit details
  2. Merge pull request #31959 from yrashk/gdbgui

    gdbgui: init at 0.9.0.1
    Mic92 authored Nov 23, 2017

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    a30fa6d View commit details
Showing with 447 additions and 0 deletions.
  1. +1 −0 lib/maintainers.nix
  2. +40 −0 pkgs/development/tools/misc/gdbgui/default.nix
  3. +404 −0 pkgs/development/tools/misc/gdbgui/requirements.nix
  4. +2 −0 pkgs/top-level/all-packages.nix
1 change: 1 addition & 0 deletions lib/maintainers.nix
Original file line number Diff line number Diff line change
@@ -706,6 +706,7 @@
ylwghst = "Burim Augustin Berisa <ylwghst@onionmail.info>";
yochai = "Yochai <yochai@titat.info>";
yorickvp = "Yorick van Pelt <yorickvanpelt@gmail.com>";
yrashk = "Yurii Rashkovskii <yrashk@gmail.com>";
yuriaisaka = "Yuri Aisaka <yuri.aisaka+nix@gmail.com>";
yurrriq = "Eric Bailey <eric@ericb.me>";
z77z = "Marco Maggesi <maggesi@math.unifi.it>";
40 changes: 40 additions & 0 deletions pkgs/development/tools/misc/gdbgui/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ stdenv, python27Packages, gdb, pkgs }:
let
deps = import ./requirements.nix { inherit pkgs; };
in
python27Packages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "gdbgui";
version = "0.9.0.1";

buildInputs = [ gdb ];
propagatedBuildInputs = builtins.attrValues deps.packages;

src = python27Packages.fetchPypi {
inherit pname version;
sha256 = "1gjc7dycrc4zafhrd9yib7qnh4agh7cpa6rlw4p5405rlmwmsbj3";
};

postInstall = ''
wrapProgram $out/bin/gdbgui \
--prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]}
'';

# make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
export NIX_REDIRECTS=/etc/protocols=${pkgs.iana-etc}/etc/protocols \
LD_PRELOAD=${pkgs.libredirect}/lib/libredirect.so
'';

postCheck = stdenv.lib.optionalString stdenv.isLinux ''
unset NIX_REDIRECTS LD_PRELOAD
'';

meta = with stdenv.lib; {
description = "A browser-based frontend for GDB";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ yrashk ];
};

}
Loading