2012-08-07 23:49:12 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl }:
|
|
|
|
|
2012-11-17 01:13:25 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tig-1.1";
|
2012-08-07 23:49:12 +01:00
|
|
|
src = fetchurl {
|
2012-11-17 01:13:25 +00:00
|
|
|
url = "http://jonas.nitro.dk/tig/releases/${name}.tar.gz";
|
|
|
|
md5 = "adeb797a8320962eeb345a615257cbac";
|
2012-08-07 23:49:12 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ncurses asciidoc xmlto docbook_xsl];
|
|
|
|
installPhase = ''
|
|
|
|
make install
|
|
|
|
make install-doc
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
homepage = "http://jonas.nitro.dk/tig/";
|
2012-11-17 01:13:25 +00:00
|
|
|
description = "Tig is a git repository browser that additionally can act as a pager for output from various git commands";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
2012-11-17 01:20:07 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-08-07 23:49:12 +01:00
|
|
|
};
|
|
|
|
}
|