From 312c697fef70da6c72e0f67578b32574047d0fad Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 24 Feb 2009 22:00:35 +0000 Subject: [PATCH] added tig (git console browser) svn path=/nixpkgs/trunk/; revision=14236 --- .../git-and-tools/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index 9506e7a5f0e..d16b166416f 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -63,6 +63,24 @@ rec { }; }; + tig = stdenv.mkDerivation { + name = "tig-0.14.1"; + src = fetchurl { + url = "http://jonas.nitro.dk/tig/releases/tig-0.14.1.tar.gz"; + sha256 = "1a8mi1pv36v67n31vs95gcibkifnqq5s1x69lz1cz0218yv9s73r"; + }; + buildInputs = [ncurses asciidoc xmlto docbook_xsl]; + installPhase = '' + make install + make install-doc + ''; + meta = { + description = "console git repository browser that additionally can act as a pager for output from various git commands"; + homepage = http://jonas.nitro.dk/tig/; + license = "GPLv2"; + }; + }; + hg2git = import ./hg2git { inherit fetchurl stdenv mercurial coreutils git makeWrapper; inherit (bleedingEdgeRepos) sourceByName;