From db395d9eb376795f1e3e363f048db124b06d87a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 27 Jun 2012 20:29:56 +0200 Subject: [PATCH] cgdb: Packaging cgdb 0.6.6 --- pkgs/development/tools/misc/cgdb/default.nix | 23 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/misc/cgdb/default.nix diff --git a/pkgs/development/tools/misc/cgdb/default.nix b/pkgs/development/tools/misc/cgdb/default.nix new file mode 100644 index 000000000000..adabcec98981 --- /dev/null +++ b/pkgs/development/tools/misc/cgdb/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, ncurses, readline }: + +stdenv.mkDerivation rec { + name = "cgdb-0.6.6"; + + src = fetchurl { + url = "mirror://sourceforge/cgdb/${name}.tar.gz"; + sha256 = "0iap84ikpk1h58wy14zzi1kwszv1hsnvpvnz14swkz54yrh9z7ng"; + }; + + buildInputs = [ ncurses readline ]; + + meta = { + description = "A curses interface to gdb"; + + homepage = http://cgdb.sourceforge.net/; + + license = "GPLv2+"; + + platforms = with stdenv.lib.platforms; linux ++ cygwin; + maintainers = with stdenv.lib.maintainers; [ viric ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fce70532e67e..4dd6a9ea693a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2898,6 +2898,8 @@ let wrapGCC (ccache.links extraConfig)) {}; ccacheStdenv = overrideGCC stdenv ccacheWrapper; + cgdb = callPackage ../development/tools/misc/cgdb { }; + complexity = callPackage ../development/tools/misc/complexity { }; ctags = callPackage ../development/tools/misc/ctags { };