2009-01-20 22:15:42 +00: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 15:41:20 +00:00
|
|
|
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
2009-01-20 22:15:42 +00:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
|
2010-04-02 12:39:38 +00:00
|
|
|
git = lib.makeOverridable (import ./git) {
|
2010-09-18 12:45:04 +00:00
|
|
|
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
2011-04-13 17:53:20 +00:00
|
|
|
asciidoc texinfo xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt
|
2011-09-07 22:52:52 +00:00
|
|
|
cpio tcl tk makeWrapper subversionClient;
|
2011-04-13 17:53:39 +00:00
|
|
|
svnSupport = false; # for git-svn support
|
|
|
|
guiSupport = false; # requires tcl/tk
|
|
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
2010-04-02 07:17:11 +00:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
2010-05-15 10:38:28 +00:00
|
|
|
smtpPerlLibs = [
|
|
|
|
perlPackages.NetSMTP perlPackages.NetSMTPSSL
|
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
|
|
|
perlPackages.MIMEBase64 perlPackages.AuthenSASL
|
|
|
|
perlPackages.DigestHMAC
|
|
|
|
];
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
2012-04-15 23:48:11 +00: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 17:53:26 +00:00
|
|
|
# Git with SVN support, but without GUI.
|
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (git.override {
|
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
2010-01-18 16:07:44 +00:00
|
|
|
# The full-featured Git.
|
2011-07-13 10:46:17 +00:00
|
|
|
gitFull = appendToName "full" (git.override {
|
2010-01-18 16:07:44 +00:00
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
2010-05-19 12:26:17 +00:00
|
|
|
sendEmailSupport = stdenv.isDarwin == false;
|
2011-07-13 10:46:17 +00:00
|
|
|
});
|
2010-01-18 16:07:44 +00:00
|
|
|
|
2011-03-23 15:57:53 +00:00
|
|
|
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
2012-06-08 14:02:28 +00:00
|
|
|
inherit stdenv fetchurl libuuid rsync findutils curl perl git ikiwiki which coreutils openssh;
|
2012-06-18 18:16:23 +00:00
|
|
|
inherit (haskellPackages) ghc MissingH utf8String pcreLight SHA dataenc
|
2012-03-15 18:07:49 +00:00
|
|
|
HTTP testpack hS3 mtl network hslogger hxt json liftedBase monadControl IfElse
|
2012-06-18 18:16:23 +00:00
|
|
|
QuickCheck bloomfilter editDistance;
|
2011-03-23 15:57:53 +00:00
|
|
|
};
|
|
|
|
|
2009-01-20 22:15:42 +00:00
|
|
|
qgit = import ./qgit {
|
|
|
|
inherit fetchurl stdenv;
|
|
|
|
inherit (xlibs) libXext libX11;
|
2009-04-24 12:31:33 +00:00
|
|
|
qt = qt4;
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
qgitGit = import ./qgit/qgit-git.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv;
|
2009-01-20 22:15:42 +00:00
|
|
|
inherit (xlibs) libXext libX11;
|
|
|
|
qt = qt4;
|
|
|
|
};
|
|
|
|
|
|
|
|
stgit = import ./stgit {
|
2011-03-23 10:24:26 +00:00
|
|
|
inherit fetchurl stdenv python git;
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
2011-03-23 10:24:22 +00:00
|
|
|
topGit = lib.makeOverridable (import ./topgit) {
|
|
|
|
inherit stdenv fetchurl unzip;
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
2009-02-24 22:00:35 +00:00
|
|
|
tig = stdenv.mkDerivation {
|
2010-08-28 14:10:49 +00:00
|
|
|
name = "tig-0.16";
|
2009-02-24 22:00:35 +00:00
|
|
|
src = fetchurl {
|
2010-08-28 14:10:49 +00:00
|
|
|
url = "http://jonas.nitro.dk/tig/releases/tig-0.16.tar.gz";
|
|
|
|
sha256 = "167kak44n66wqjj6jrv8q4ijjac07cw22rlpqjqz3brlhx4cb3ix";
|
2009-02-24 22:00:35 +00: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 17:46:37 +00:00
|
|
|
gitFastExport = import ./fast-export {
|
2011-10-22 15:41:20 +00:00
|
|
|
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
2010-05-04 10:06:50 +00:00
|
|
|
git2cl = import ./git2cl {
|
|
|
|
inherit fetchgit stdenv perl;
|
|
|
|
};
|
2010-05-07 14:01:39 +00:00
|
|
|
|
2011-05-04 10:11:30 +00:00
|
|
|
svn2git = import ./svn2git {
|
2011-12-06 15:41:16 +00:00
|
|
|
inherit stdenv fetchgit ruby makeWrapper;
|
|
|
|
git = gitSVN;
|
2011-05-04 10:07:56 +00:00
|
|
|
};
|
|
|
|
|
2012-04-04 15:30:29 +00:00
|
|
|
svn2git_kde = callPackage ./svn2git-kde { };
|
|
|
|
|
2011-09-18 14:56:46 +00:00
|
|
|
gitSubtree = import ./git-subtree {
|
|
|
|
inherit stdenv fetchurl git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt;
|
2010-05-07 14:01:39 +00:00
|
|
|
};
|
2009-01-20 22:15:42 +00:00
|
|
|
}
|