2009-01-20 23:15:42 +01:00
|
|
|
/* moving all git tools into one attribute set because git is unlikely to be
|
|
|
|
* referenced by other packages and you can get a fast overview.
|
|
|
|
*/
|
|
|
|
args: with args; with pkgs;
|
|
|
|
let
|
2009-10-27 18:46:37 +01:00
|
|
|
inherit (pkgs) stdenv fetchurl getConfig subversion;
|
2009-01-20 23:15:42 +01:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
|
|
|
|
git = import ./git {
|
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl gettext
|
|
|
|
asciidoc texinfo xmlto docbook2x
|
2009-11-03 16:57:31 +01:00
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
2009-01-20 23:15:42 +01:00
|
|
|
cpio tcl tk makeWrapper subversion;
|
|
|
|
svnSupport = getConfig ["git" "svnSupport"] false; # for git-svn support
|
|
|
|
guiSupport = getConfig ["git" "guiSupport"] false;
|
2009-04-23 12:56:23 +02:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion];
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
gitGit = import ./git/git-git.nix {
|
2009-12-11 14:58:23 +01:00
|
|
|
inherit fetchurl sourceFromHead stdenv curl openssl zlib expat perl gettext
|
2009-01-20 23:15:42 +01:00
|
|
|
asciidoc texinfo xmlto docbook2x
|
2009-11-03 16:57:31 +01:00
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
2009-01-20 23:15:42 +01:00
|
|
|
cpio tcl tk makeWrapper subversion autoconf;
|
|
|
|
svnSupport = getConfig ["git" "svnSupport"] false; # for git-svn support
|
|
|
|
guiSupport = getConfig ["git" "guiSupport"] false;
|
2009-04-23 12:56:23 +02:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion];
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
qgit = import ./qgit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXext libX11;
|
2009-04-24 14:31:33 +02:00
|
|
|
qt = qt4;
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
qgitGit = import ./qgit/qgit-git.nix {
|
2009-12-11 14:58:23 +01:00
|
|
|
inherit fetchurl sourceFromHead stdenv;
|
2009-01-20 23:15:42 +01:00
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
stgit = import ./stgit {
|
|
|
|
inherit fetchurl stdenv python git;
|
|
|
|
};
|
|
|
|
|
|
|
|
topGit = stdenv.mkDerivation {
|
2009-09-27 01:33:08 +02:00
|
|
|
name = "TopGit-git"; # official release 0.8
|
2009-12-21 09:55:31 +01:00
|
|
|
# REGION AUTO UPDATE: { name = "topGit"; type="git"; url="http://repo.or.cz/w/topgit.git"; }
|
|
|
|
src= sourceFromHead "topGit-341a3713f5c399f97c5c68a74772b12bb3d2ca57.tar.gz"
|
|
|
|
(fetchurl { url = "http://mawercer.de/~nix/repos/topGit-341a3713f5c399f97c5c68a74772b12bb3d2ca57.tar.gz"; sha256 = "4d53343ed9ba735fb598d6576b20f2641d5a8374a5a11b21fcbcdc6da885e872"; });
|
2009-12-11 14:58:23 +01:00
|
|
|
# END
|
2009-04-27 03:18:07 +02:00
|
|
|
phases="unpackPhase patchPhase installPhase";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/etc/bash_completion.d
|
|
|
|
make prefix=$out \
|
|
|
|
install
|
|
|
|
mv contrib/tg-completion.bash $out/etc/bash_completion.d
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "TopGit aims to make handling of large amount of interdependent topic branches easier";
|
2009-10-19 14:27:51 +02:00
|
|
|
maintainers = [lib.maintainers.marcweber];
|
2009-04-27 03:18:07 +02:00
|
|
|
homepage = http://repo.or.cz/w/topgit.git; # maybe there is also another one, I haven't checked
|
|
|
|
license = "GPLv2";
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-02-24 23:00:35 +01:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-10-27 18:46:37 +01:00
|
|
|
gitFastExport = import ./fast-export {
|
2009-12-11 14:58:23 +01:00
|
|
|
inherit fetchurl sourceFromHead stdenv mercurial coreutils git makeWrapper
|
|
|
|
subversion;
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|