nixpkgs/pkgs/development/tools/misc/cgdb/default.nix
2021-01-23 20:30:03 +07:00

27 lines
644 B
Nix

{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:
stdenv.mkDerivation rec {
pname = "cgdb";
version = "0.7.1";
src = fetchurl {
url = "https://cgdb.me/files/${pname}-${version}.tar.gz";
sha256 = "1671gpz5gx5j0zga8xy2x7h33vqh3nij93lbb6dbb366ivjknwmv";
};
buildInputs = [ ncurses readline flex texinfo ];
meta = with 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 ];
};
}