2012-08-07 15:49:12 -07:00
|
|
|
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl }:
|
|
|
|
|
2012-11-16 17:13:25 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tig-1.1";
|
2012-08-07 15:49:12 -07:00
|
|
|
src = fetchurl {
|
2012-11-16 17:13:25 -08:00
|
|
|
url = "http://jonas.nitro.dk/tig/releases/${name}.tar.gz";
|
|
|
|
md5 = "adeb797a8320962eeb345a615257cbac";
|
2012-08-07 15:49:12 -07:00
|
|
|
};
|
|
|
|
buildInputs = [ncurses asciidoc xmlto docbook_xsl];
|
|
|
|
installPhase = ''
|
|
|
|
make install
|
|
|
|
make install-doc
|
2013-04-01 09:37:52 -07:00
|
|
|
mkdir -p $out/etc/bash_completion.d/
|
|
|
|
cp contrib/tig-completion.bash $out/etc/bash_completion.d/
|
2012-08-07 15:49:12 -07:00
|
|
|
'';
|
2013-05-20 10:33:18 -07:00
|
|
|
meta = with stdenv.lib; {
|
2012-08-07 15:49:12 -07:00
|
|
|
homepage = "http://jonas.nitro.dk/tig/";
|
2012-11-16 17:13:25 -08:00
|
|
|
description = "Tig is a git repository browser that additionally can act as a pager for output from various git commands";
|
2013-06-18 13:42:02 -07:00
|
|
|
maintainers = [ maintainers.garbas maintainers.bjornfor maintainers.iElectric ];
|
2013-05-20 10:33:18 -07:00
|
|
|
license = licenses.gpl2;
|
2013-06-18 13:42:02 -07:00
|
|
|
platforms = platforms.linux;
|
2012-08-07 15:49:12 -07:00
|
|
|
};
|
|
|
|
}
|