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
|
2011-10-22 17:41:20 +02:00
|
|
|
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
2009-01-20 23:15:42 +01:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
|
2010-04-02 14:39:38 +02:00
|
|
|
git = lib.makeOverridable (import ./git) {
|
2010-09-18 14:45:04 +02:00
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
2013-06-29 21:52:12 +02:00
|
|
|
asciidoc xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt cpio tcl
|
|
|
|
tk makeWrapper subversionClient gzip;
|
|
|
|
texinfo = texinfo5;
|
2011-04-13 19:53:39 +02:00
|
|
|
svnSupport = false; # for git-svn support
|
|
|
|
guiSupport = false; # requires tcl/tk
|
|
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
2010-04-02 09:17:11 +02:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
2010-05-15 12:38:28 +02:00
|
|
|
smtpPerlLibs = [
|
|
|
|
perlPackages.NetSMTP perlPackages.NetSMTPSSL
|
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
|
|
|
perlPackages.MIMEBase64 perlPackages.AuthenSASL
|
|
|
|
perlPackages.DigestHMAC
|
|
|
|
];
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
2012-04-16 01:48:11 +02: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;
|
|
|
|
};
|
|
|
|
|
2011-04-13 19:53:26 +02:00
|
|
|
# Git with SVN support, but without GUI.
|
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (git.override {
|
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
2010-01-18 17:07:44 +01:00
|
|
|
# The full-featured Git.
|
2011-07-13 12:46:17 +02:00
|
|
|
gitFull = appendToName "full" (git.override {
|
2010-01-18 17:07:44 +01:00
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
2012-06-21 21:23:40 +02:00
|
|
|
sendEmailSupport = !stdenv.isDarwin;
|
2011-07-13 12:46:17 +02:00
|
|
|
});
|
2010-01-18 17:07:44 +01:00
|
|
|
|
2013-06-03 22:08:57 +02:00
|
|
|
gitAnnex = pkgs.haskellPackages.gitAnnex;
|
2011-03-23 16:57:53 +01:00
|
|
|
|
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 {
|
2011-03-23 11:24:26 +01:00
|
|
|
inherit fetchurl stdenv python git;
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
2011-03-23 11:24:22 +01:00
|
|
|
topGit = lib.makeOverridable (import ./topgit) {
|
2013-03-20 09:50:06 +01:00
|
|
|
inherit stdenv fetchurl;
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
2012-08-08 00:49:12 +02:00
|
|
|
tig = import ./tig {
|
2013-11-09 19:03:16 +01:00
|
|
|
inherit stdenv fetchurl ncurses asciidoc xmlto docbook_xsl docbook_xml_dtd_45;
|
2009-02-24 23:00:35 +01:00
|
|
|
};
|
|
|
|
|
2012-12-12 06:45:43 +01:00
|
|
|
hub = import ./hub {
|
|
|
|
inherit (rubyLibs) rake;
|
2013-08-26 16:47:23 +02:00
|
|
|
inherit stdenv fetchurl groff makeWrapper;
|
2012-12-12 06:45:43 +01:00
|
|
|
};
|
|
|
|
|
2009-10-27 18:46:37 +01:00
|
|
|
gitFastExport = import ./fast-export {
|
2011-10-22 17:41:20 +02:00
|
|
|
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
2010-05-04 12:06:50 +02:00
|
|
|
git2cl = import ./git2cl {
|
|
|
|
inherit fetchgit stdenv perl;
|
|
|
|
};
|
2010-05-07 16:01:39 +02:00
|
|
|
|
2011-05-04 12:11:30 +02:00
|
|
|
svn2git = import ./svn2git {
|
2013-12-09 01:15:16 +01:00
|
|
|
inherit stdenv fetchurl ruby makeWrapper;
|
2011-12-06 16:41:16 +01:00
|
|
|
git = gitSVN;
|
2011-05-04 12:07:56 +02:00
|
|
|
};
|
|
|
|
|
2012-04-04 17:30:29 +02:00
|
|
|
svn2git_kde = callPackage ./svn2git-kde { };
|
|
|
|
|
2012-09-17 05:52:56 +02:00
|
|
|
darcsToGit = callPackage ./darcs-to-git { };
|
2013-10-30 10:28:05 +01:00
|
|
|
|
|
|
|
gitflow = callPackage ./gitflow { };
|
2009-01-20 23:15:42 +01:00
|
|
|
}
|