about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/cgdb/default.nix
blob: b44c8e90f45e60be9770c9069159919186b0dca3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:

stdenv.mkDerivation rec {
  pname = "cgdb";
  version = "0.8.0";

  src = fetchurl {
    url = "https://cgdb.me/files/${pname}-${version}.tar.gz";
    sha256 = "sha256-DTi1JNN3JXsQa61thW2K4zBBQOHuJAhTQ+bd8bZYEfE=";
  };

  buildInputs = [ ncurses readline flex texinfo ];

  meta = with lib; {
    description = "Curses interface to gdb";
    mainProgram = "cgdb";

    homepage = "https://cgdb.github.io/";

    license = licenses.gpl2Plus;

    platforms = with platforms; linux ++ cygwin;
    maintainers = with maintainers; [ vrthra ];
  };
}