nixpkgs/pkgs/development/tools/misc/cgdb/default.nix

27 lines
640 B
Nix

{ stdenv, fetchurl, ncurses, readline, flex, texinfo }:
stdenv.mkDerivation rec {
name = "cgdb-${version}";
version = "0.7.0";
src = fetchurl {
url = "https://cgdb.me/files/${name}.tar.gz";
sha256 = "08slzg3702v5nivjhdx2bciqxc5vqcn8pc4i4lsgkcwdcrj94ymz";
};
buildInputs = [ ncurses readline flex texinfo ];
meta = with stdenv.lib; {
description = "A curses interface to gdb";
homepage = https://cgdb.github.io/;
repositories.git = git://github.com/cgdb/cgdb.git;
license = licenses.gpl2Plus;
platforms = with platforms; linux ++ cygwin;
maintainers = with maintainers; [ vrthra ];
};
}