3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/default.nix

111 lines
2.8 KiB
Nix
Raw Normal View History

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