depot/third_party/nixpkgs/pkgs/development/tools/misc/cgdb/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 lines
609 B
Nix

{ 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 ];
};
}