2009-01-20 14:15:42 -08: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
|
2011-10-22 08:41:20 -07:00
|
|
|
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
2009-01-20 14:15:42 -08:00
|
|
|
|
2014-03-11 09:00:17 -07:00
|
|
|
gitBase = lib.makeOverridable (import ./git) {
|
2010-09-18 05:45:04 -07:00
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
2013-06-29 12:52:12 -07:00
|
|
|
asciidoc xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt cpio tcl
|
2015-02-17 19:30:59 -08:00
|
|
|
tk makeWrapper subversionClient gzip libiconv;
|
2013-06-29 12:52:12 -07:00
|
|
|
texinfo = texinfo5;
|
2011-04-13 10:53:39 -07:00
|
|
|
svnSupport = false; # for git-svn support
|
|
|
|
guiSupport = false; # requires tcl/tk
|
|
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
2010-04-02 00:17:11 -07:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
2010-05-15 03:38:28 -07:00
|
|
|
smtpPerlLibs = [
|
|
|
|
perlPackages.NetSMTP perlPackages.NetSMTPSSL
|
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
|
|
|
perlPackages.MIMEBase64 perlPackages.AuthenSASL
|
|
|
|
perlPackages.DigestHMAC
|
|
|
|
];
|
2009-01-20 14:15:42 -08:00
|
|
|
};
|
|
|
|
|
2014-03-11 09:00:17 -07:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
|
2012-04-15 16:48:11 -07:00
|
|
|
# support for bugzilla
|
|
|
|
gitBz = import ./git-bz {
|
|
|
|
inherit fetchgit stdenv makeWrapper python asciidoc xmlto # docbook2x docbook_xsl docbook_xml_dtd_45 libxslt
|
|
|
|
;
|
|
|
|
inherit (pythonPackages) pysqlite;
|
|
|
|
};
|
|
|
|
|
2014-03-11 09:00:17 -07:00
|
|
|
git = appendToName "minimal" gitBase;
|
|
|
|
|
2011-04-13 10:53:26 -07:00
|
|
|
# Git with SVN support, but without GUI.
|
2014-03-11 09:00:17 -07:00
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
|
2011-04-13 10:53:26 -07:00
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
2010-01-18 08:07:44 -08:00
|
|
|
# The full-featured Git.
|
2014-03-11 09:00:17 -07:00
|
|
|
gitFull = gitBase.override {
|
2010-01-18 08:07:44 -08:00
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
2012-06-21 12:23:40 -07:00
|
|
|
sendEmailSupport = !stdenv.isDarwin;
|
2014-03-11 09:00:17 -07:00
|
|
|
};
|
2010-01-18 08:07:44 -08:00
|
|
|
|
2015-05-26 04:09:01 -07:00
|
|
|
inherit (pkgs.haskellPackages) git-annex;
|
2015-05-30 12:02:03 -07:00
|
|
|
gitAnnex = git-annex;
|
2011-03-23 08:57:53 -07:00
|
|
|
|
2009-01-20 14:15:42 -08:00
|
|
|
qgit = import ./qgit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXext libX11;
|
2009-04-24 05:31:33 -07:00
|
|
|
qt = qt4;
|
2009-01-20 14:15:42 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
qgitGit = import ./qgit/qgit-git.nix {
|
2009-12-11 05:58:23 -08:00
|
|
|
inherit fetchurl sourceFromHead stdenv;
|
2009-01-20 14:15:42 -08:00
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
|
|
|
stgit = import ./stgit {
|
2011-03-23 03:24:26 -07:00
|
|
|
inherit fetchurl stdenv python git;
|
2009-01-20 14:15:42 -08:00
|
|
|
};
|
|
|
|
|
2011-03-23 03:24:22 -07:00
|
|
|
topGit = lib.makeOverridable (import ./topgit) {
|
2013-03-20 01:50:06 -07:00
|
|
|
inherit stdenv fetchurl;
|
2009-01-20 14:15:42 -08:00
|
|
|
};
|
|
|
|
|
2015-01-13 13:51:04 -08:00
|
|
|
tig = callPackage ./tig { };
|
2009-02-24 14:00:35 -08:00
|
|
|
|
2012-12-11 21:45:43 -08:00
|
|
|
hub = import ./hub {
|
2015-01-03 15:28:38 -08:00
|
|
|
inherit go;
|
|
|
|
inherit stdenv fetchgit;
|
2015-02-17 19:30:59 -08:00
|
|
|
inherit (darwin) Security;
|
2012-12-11 21:45:43 -08:00
|
|
|
};
|
|
|
|
|
2009-10-27 10:46:37 -07:00
|
|
|
gitFastExport = import ./fast-export {
|
2011-10-22 08:41:20 -07:00
|
|
|
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
|
2009-01-20 14:15:42 -08:00
|
|
|
};
|
|
|
|
|
2010-05-04 03:06:50 -07:00
|
|
|
git2cl = import ./git2cl {
|
|
|
|
inherit fetchgit stdenv perl;
|
|
|
|
};
|
2010-05-07 07:01:39 -07:00
|
|
|
|
2011-05-04 03:11:30 -07:00
|
|
|
svn2git = import ./svn2git {
|
2013-12-08 16:15:16 -08:00
|
|
|
inherit stdenv fetchurl ruby makeWrapper;
|
2011-12-06 07:41:16 -08:00
|
|
|
git = gitSVN;
|
2011-05-04 03:07:56 -07:00
|
|
|
};
|
|
|
|
|
2012-04-04 08:30:29 -07:00
|
|
|
svn2git_kde = callPackage ./svn2git-kde { };
|
|
|
|
|
2012-09-16 20:52:56 -07:00
|
|
|
darcsToGit = callPackage ./darcs-to-git { };
|
2013-10-30 02:28:05 -07:00
|
|
|
|
|
|
|
gitflow = callPackage ./gitflow { };
|
2014-06-28 06:15:31 -07:00
|
|
|
|
|
|
|
git-remote-hg = callPackage ./git-remote-hg { };
|
|
|
|
|
2014-09-15 12:20:01 -07:00
|
|
|
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
|
2014-11-25 13:40:25 -08:00
|
|
|
|
|
|
|
git-extras = callPackage ./git-extras { };
|
2015-03-07 16:39:29 -08:00
|
|
|
|
|
|
|
git-cola = callPackage ./git-cola { };
|
2015-04-06 21:38:20 -07:00
|
|
|
|
|
|
|
git-imerge = callPackage ./git-imerge { };
|
2009-01-20 14:15:42 -08:00
|
|
|
}
|