2009-01-21 01:15:42 +03: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
|
2010-04-02 11:17:11 +04:00
|
|
|
inherit (pkgs) stdenv fetchurl subversion;
|
2009-01-21 01:15:42 +03:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
|
2010-04-02 16:39:38 +04:00
|
|
|
git = lib.makeOverridable (import ./git) {
|
2010-09-18 16:45:04 +04:00
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
2011-04-13 21:53:20 +04:00
|
|
|
asciidoc texinfo xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt
|
2009-01-21 01:15:42 +03:00
|
|
|
cpio tcl tk makeWrapper subversion;
|
2011-04-13 21:53:39 +04:00
|
|
|
svnSupport = false; # for git-svn support
|
|
|
|
guiSupport = false; # requires tcl/tk
|
|
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
2010-04-02 11:17:11 +04:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
2010-05-15 14:38:28 +04:00
|
|
|
smtpPerlLibs = [
|
|
|
|
perlPackages.NetSMTP perlPackages.NetSMTPSSL
|
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
|
|
|
perlPackages.MIMEBase64 perlPackages.AuthenSASL
|
|
|
|
perlPackages.DigestHMAC
|
|
|
|
];
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
2011-04-13 21:53:26 +04:00
|
|
|
# Git with SVN support, but without GUI.
|
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (git.override {
|
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
2010-01-18 19:07:44 +03:00
|
|
|
# The full-featured Git.
|
2011-04-13 21:53:33 +04:00
|
|
|
gitFull = lowPrio (appendToName "full" (git.override {
|
2010-01-18 19:07:44 +03:00
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
2010-05-19 16:26:17 +04:00
|
|
|
sendEmailSupport = stdenv.isDarwin == false;
|
2011-04-13 21:53:33 +04:00
|
|
|
}));
|
2010-01-18 19:07:44 +03:00
|
|
|
|
2009-01-21 01:15:42 +03:00
|
|
|
gitGit = import ./git/git-git.nix {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv curl openssl zlib expat perl gettext
|
2009-01-21 01:15:42 +03:00
|
|
|
asciidoc texinfo xmlto docbook2x
|
2009-11-03 18:57:31 +03:00
|
|
|
docbook_xsl docbook_xml_dtd_45 libxslt
|
2009-01-21 01:15:42 +03:00
|
|
|
cpio tcl tk makeWrapper subversion autoconf;
|
2011-04-13 21:53:39 +04:00
|
|
|
svnSupport = false;
|
|
|
|
guiSupport = false;
|
2009-04-23 14:56:23 +04:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion];
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
2011-03-23 18:57:53 +03:00
|
|
|
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
2011-07-08 03:48:22 +04:00
|
|
|
inherit stdenv fetchurl libuuid rsync findutils curl perl git;
|
|
|
|
inherit (haskellPackages) ghc MissingH utf8String QuickCheck2 pcreLight SHA dataenc
|
|
|
|
HTTP testpack;
|
2011-03-23 18:57:53 +03:00
|
|
|
};
|
|
|
|
|
2009-01-21 01:15:42 +03:00
|
|
|
qgit = import ./qgit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXext libX11;
|
2009-04-24 16:31:33 +04:00
|
|
|
qt = qt4;
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
qgitGit = import ./qgit/qgit-git.nix {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv;
|
2009-01-21 01:15:42 +03:00
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
stgit = import ./stgit {
|
2011-03-23 13:24:26 +03:00
|
|
|
inherit fetchurl stdenv python git;
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
2011-03-23 13:24:22 +03:00
|
|
|
topGit = lib.makeOverridable (import ./topgit) {
|
|
|
|
inherit stdenv fetchurl unzip;
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
2009-02-25 01:00:35 +03:00
|
|
|
tig = stdenv.mkDerivation {
|
2010-08-28 18:10:49 +04:00
|
|
|
name = "tig-0.16";
|
2009-02-25 01:00:35 +03:00
|
|
|
src = fetchurl {
|
2010-08-28 18:10:49 +04:00
|
|
|
url = "http://jonas.nitro.dk/tig/releases/tig-0.16.tar.gz";
|
|
|
|
sha256 = "167kak44n66wqjj6jrv8q4ijjac07cw22rlpqjqz3brlhx4cb3ix";
|
2009-02-25 01:00:35 +03:00
|
|
|
};
|
|
|
|
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 20:46:37 +03:00
|
|
|
gitFastExport = import ./fast-export {
|
2009-12-11 16:58:23 +03:00
|
|
|
inherit fetchurl sourceFromHead stdenv mercurial coreutils git makeWrapper
|
|
|
|
subversion;
|
2009-01-21 01:15:42 +03:00
|
|
|
};
|
|
|
|
|
2010-05-04 14:06:50 +04:00
|
|
|
git2cl = import ./git2cl {
|
|
|
|
inherit fetchgit stdenv perl;
|
|
|
|
};
|
2010-05-07 18:01:39 +04:00
|
|
|
|
2011-05-04 14:11:30 +04:00
|
|
|
svn2git = import ./svn2git {
|
2011-05-04 14:07:56 +04:00
|
|
|
inherit stdenv fetchgit qt47 subversion apr;
|
|
|
|
};
|
|
|
|
|
2010-05-07 18:01:39 +04:00
|
|
|
gitSubtree = stdenv.mkDerivation {
|
|
|
|
name = "git-subtree-0.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/apenwarr/git-subtree/tarball/v0.3";
|
|
|
|
# sha256 = "0y57lpbcc2142jgrr4lflyb9xgzs9x33r7g4b919ncn3alb95vdr";
|
|
|
|
sha256 = "f2ccac1e9cff4c35d989dc2a5581133c96b72d96c6a5ed89e51b6446dadac03f";
|
|
|
|
};
|
|
|
|
unpackCmd = "gzip -d < $curSrc | tar xvf -";
|
|
|
|
buildInputs = [ git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt ];
|
|
|
|
configurePhase = "export prefix=$out";
|
|
|
|
buildPhase = "true";
|
|
|
|
installPhase = ''
|
|
|
|
make install prefix=$out gitdir=$out/bin #work around to deal with a wrong makefile
|
|
|
|
'';
|
|
|
|
meta= {
|
|
|
|
description = "An experimental alternative to the git-submodule command";
|
|
|
|
homepage = http://github.com/apenwarr/git-subtree;
|
|
|
|
license = "GPLv2";
|
|
|
|
};
|
|
|
|
};
|
2009-01-21 01:15:42 +03:00
|
|
|
}
|