2015-09-18 16:50:22 +02:00
|
|
|
/* All git-relates tools live here, in a separate attribute set so that users
|
|
|
|
* can get a fast overview over what's available.
|
|
|
|
*/
|
2018-07-08 02:08:48 +02:00
|
|
|
args @ {config, lib, pkgs}: with args; with pkgs;
|
2009-01-20 23:15:42 +01:00
|
|
|
let
|
2016-04-17 01:41:47 +02:00
|
|
|
gitBase = callPackage ./git {
|
2016-02-25 23:23:34 +01: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 = [
|
2018-07-22 04:03:24 +02:00
|
|
|
perlPackages.libnet perlPackages.NetSMTPSSL
|
2010-05-15 12:38:28 +02:00
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
2018-07-22 04:03:24 +02:00
|
|
|
perlPackages.AuthenSASL perlPackages.DigestHMAC
|
2010-05-15 12:38:28 +02:00
|
|
|
];
|
2009-01-20 23:15:42 +01:00
|
|
|
};
|
|
|
|
|
2018-07-08 02:08:48 +02:00
|
|
|
self = rec {
|
2016-02-25 23:23:34 +01:00
|
|
|
# Try to keep this generally alphabetized
|
2014-03-11 17:00:17 +01:00
|
|
|
|
2017-02-12 07:00:29 +01:00
|
|
|
bfg-repo-cleaner = callPackage ./bfg-repo-cleaner { };
|
|
|
|
|
2017-01-05 11:21:06 +01:00
|
|
|
bitbucket-server-cli = callPackage ./bitbucket-server-cli { };
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
darcsToGit = callPackage ./darcs-to-git { };
|
2012-04-16 01:48:11 +02:00
|
|
|
|
2016-06-17 12:34:17 +02:00
|
|
|
diff-so-fancy = callPackage ./diff-so-fancy { };
|
|
|
|
|
2017-04-15 04:57:38 +02:00
|
|
|
ghq = callPackage ./ghq { };
|
|
|
|
|
2014-03-11 17:00:17 +01:00
|
|
|
git = appendToName "minimal" gitBase;
|
|
|
|
|
2018-11-16 01:39:26 +01:00
|
|
|
git-absorb = callPackage ./git-absorb {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
|
|
|
|
2018-09-18 09:48:33 +02:00
|
|
|
git-appraise = callPackage ./git-appraise {};
|
|
|
|
|
2017-07-05 14:02:20 +02:00
|
|
|
git-fame = callPackage ./git-fame {};
|
|
|
|
|
2019-04-25 15:36:12 +02:00
|
|
|
gita = python3Packages.callPackage ./gita {};
|
2019-02-11 11:24:43 +01:00
|
|
|
|
2010-01-18 17:07:44 +01:00
|
|
|
# The full-featured Git.
|
2014-03-11 17:00:17 +01:00
|
|
|
gitFull = gitBase.override {
|
2010-01-18 17:07:44 +01:00
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
2012-06-21 21:23:40 +02:00
|
|
|
sendEmailSupport = !stdenv.isDarwin;
|
2018-07-22 21:20:37 +02:00
|
|
|
withLibsecret = !stdenv.isDarwin;
|
2014-03-11 17:00:17 +01:00
|
|
|
};
|
2010-01-18 17:07:44 +01:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
# Git with SVN support, but without GUI.
|
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
|
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
2016-09-08 14:54:36 +02:00
|
|
|
git-annex = pkgs.haskellPackages.git-annex;
|
2011-03-23 16:57:53 +01:00
|
|
|
|
2017-12-08 01:12:47 +01:00
|
|
|
git-annex-metadata-gui = libsForQt5.callPackage ./git-annex-metadata-gui {
|
|
|
|
inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter;
|
|
|
|
};
|
|
|
|
|
2016-06-06 02:28:52 +02:00
|
|
|
git-annex-remote-b2 = callPackage ./git-annex-remote-b2 { };
|
2016-01-26 17:54:53 +01:00
|
|
|
|
2019-04-14 13:41:30 +02:00
|
|
|
git-annex-remote-dbx = callPackage ./git-annex-remote-dbx {
|
|
|
|
inherit (python3Packages)
|
|
|
|
buildPythonApplication
|
|
|
|
fetchPypi
|
|
|
|
dropbox
|
|
|
|
annexremote
|
|
|
|
humanfriendly;
|
|
|
|
};
|
|
|
|
|
2016-11-23 21:01:40 +01:00
|
|
|
git-annex-remote-rclone = callPackage ./git-annex-remote-rclone { };
|
|
|
|
|
2018-10-23 23:41:36 +02:00
|
|
|
git-bug = callPackage ./git-bug { };
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
# support for bugzilla
|
|
|
|
git-bz = callPackage ./git-bz { };
|
2009-01-20 23:15:42 +01:00
|
|
|
|
2017-10-30 16:14:24 +01:00
|
|
|
git-codeowners = callPackage ./git-codeowners { };
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-cola = callPackage ./git-cola { };
|
2009-01-20 23:15:42 +01:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-crypt = callPackage ./git-crypt { };
|
|
|
|
|
2018-05-20 04:03:09 +02:00
|
|
|
git-dit = callPackage ./git-dit {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
|
|
|
};
|
2017-02-24 16:38:10 +01:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-extras = callPackage ./git-extras { };
|
|
|
|
|
2016-04-29 21:40:41 +02:00
|
|
|
git-hub = callPackage ./git-hub { };
|
|
|
|
|
2019-02-25 16:47:18 +01:00
|
|
|
git-ignore = callPackage ./git-ignore { };
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-imerge = callPackage ./git-imerge { };
|
|
|
|
|
2017-03-13 13:58:07 +01:00
|
|
|
git-octopus = callPackage ./git-octopus { };
|
|
|
|
|
2017-04-15 21:25:59 +02:00
|
|
|
git-open = callPackage ./git-open { };
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-radar = callPackage ./git-radar { };
|
|
|
|
|
2017-04-16 17:12:53 +02:00
|
|
|
git-recent = callPackage ./git-recent {
|
2018-05-03 07:58:11 +02:00
|
|
|
utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux;
|
2017-04-16 17:12:53 +02:00
|
|
|
};
|
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
git-remote-hg = callPackage ./git-remote-hg { };
|
|
|
|
|
2018-11-28 03:11:06 +01:00
|
|
|
git-reparent = callPackage ./git-reparent { };
|
|
|
|
|
2017-11-11 00:12:41 +01:00
|
|
|
git-secret = callPackage ./git-secret { };
|
|
|
|
|
2018-05-05 00:02:55 +02:00
|
|
|
git-secrets = callPackage ./git-secrets { };
|
|
|
|
|
2019-05-31 11:20:00 +02:00
|
|
|
git-standup = callPackage ./git-standup { };
|
|
|
|
|
2016-02-25 23:45:05 +01:00
|
|
|
git-stree = callPackage ./git-stree { };
|
|
|
|
|
2018-06-26 12:33:18 +02:00
|
|
|
git-sync = callPackage ./git-sync { };
|
|
|
|
|
2018-12-07 01:00:00 +01:00
|
|
|
git-test = callPackage ./git-test { };
|
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
git2cl = callPackage ./git2cl { };
|
2009-01-20 23:15:42 +01:00
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
gitFastExport = callPackage ./fast-export { };
|
2009-01-20 23:15:42 +01:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
|
2009-02-24 23:00:35 +01:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
gitflow = callPackage ./gitflow { };
|
2015-10-25 19:26:08 +01:00
|
|
|
|
2019-05-08 03:47:04 +02:00
|
|
|
gitstatus = callPackage ./gitstatus { };
|
|
|
|
|
2018-01-31 22:37:47 +01:00
|
|
|
grv = callPackage ./grv { };
|
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
hub = callPackage ./hub {
|
2015-02-18 04:30:59 +01:00
|
|
|
inherit (darwin) Security;
|
2012-12-12 06:45:43 +01:00
|
|
|
};
|
|
|
|
|
2018-05-31 01:35:20 +02:00
|
|
|
hubUnstable = throw "use gitAndTools.hub instead";
|
2018-04-10 17:09:51 +02:00
|
|
|
|
2018-12-15 15:37:35 +01:00
|
|
|
lab = callPackage ./lab { };
|
|
|
|
|
2018-07-31 01:19:24 +02:00
|
|
|
pre-commit = callPackage ./pre-commit { };
|
|
|
|
|
2018-09-26 14:46:05 +02:00
|
|
|
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
|
|
|
|
|
2017-02-02 02:55:47 +01:00
|
|
|
qgit = qt5.callPackage ./qgit { };
|
2009-01-20 23:15:42 +01:00
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
stgit = callPackage ./stgit {
|
2016-02-25 23:23:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
subgit = callPackage ./subgit { };
|
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
svn2git = callPackage ./svn2git {
|
2011-12-06 16:41:16 +01:00
|
|
|
git = gitSVN;
|
2011-05-04 12:07:56 +02:00
|
|
|
};
|
|
|
|
|
2018-03-26 16:52:44 +02:00
|
|
|
svn-all-fast-export = libsForQt5.callPackage ./svn-all-fast-export { };
|
2012-04-04 17:30:29 +02:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
tig = callPackage ./tig { };
|
2015-04-07 06:38:20 +02:00
|
|
|
|
2016-04-17 01:41:47 +02:00
|
|
|
topGit = callPackage ./topgit { };
|
2015-08-07 19:15:39 +02:00
|
|
|
|
2016-02-25 23:23:34 +01:00
|
|
|
transcrypt = callPackage ./transcrypt { };
|
2018-03-26 16:52:44 +02:00
|
|
|
|
2018-07-12 02:51:54 +02:00
|
|
|
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
|
2018-03-26 16:52:44 +02:00
|
|
|
# aliases
|
2018-07-08 02:08:48 +02:00
|
|
|
gitAnnex = git-annex;
|
2018-03-26 16:52:44 +02:00
|
|
|
svn_all_fast_export = svn-all-fast-export;
|
2018-07-08 02:08:48 +02:00
|
|
|
});
|
|
|
|
in
|
|
|
|
self
|