nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:
2
3stdenv.mkDerivation rec {
4 pname = "cgdb";
5 version = "0.7.1";
6
7 src = fetchurl {
8 url = "https://cgdb.me/files/${pname}-${version}.tar.gz";
9 sha256 = "1671gpz5gx5j0zga8xy2x7h33vqh3nij93lbb6dbb366ivjknwmv";
10 };
11
12 buildInputs = [ ncurses readline flex texinfo ];
13
14 meta = with lib; {
15 description = "A curses interface to gdb";
16
17 homepage = "https://cgdb.github.io/";
18
19 repositories.git = "git://github.com/cgdb/cgdb.git";
20
21 license = licenses.gpl2Plus;
22
23 platforms = with platforms; linux ++ cygwin;
24 maintainers = with maintainers; [ vrthra ];
25 };
26}