2015-09-18 15:50:22 +01: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 01:08:48 +01:00
|
|
|
args @ {config, lib, pkgs}: with args; with pkgs;
|
2009-01-20 22:15:42 +00:00
|
|
|
let
|
2016-04-17 00:41:47 +01:00
|
|
|
gitBase = callPackage ./git {
|
2016-02-25 22:23:34 +00:00
|
|
|
svnSupport = false; # for git-svn support
|
|
|
|
guiSupport = false; # requires tcl/tk
|
|
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
2010-04-02 08:17:11 +01:00
|
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
2010-05-15 11:38:28 +01:00
|
|
|
smtpPerlLibs = [
|
2018-07-22 03:03:24 +01:00
|
|
|
perlPackages.libnet perlPackages.NetSMTPSSL
|
2010-05-15 11:38:28 +01:00
|
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
2018-07-22 03:03:24 +01:00
|
|
|
perlPackages.AuthenSASL perlPackages.DigestHMAC
|
2010-05-15 11:38:28 +01:00
|
|
|
];
|
2009-01-20 22:15:42 +00:00
|
|
|
};
|
|
|
|
|
2018-07-08 01:08:48 +01:00
|
|
|
self = rec {
|
2016-02-25 22:23:34 +00:00
|
|
|
# Try to keep this generally alphabetized
|
2014-03-11 16:00:17 +00:00
|
|
|
|
2017-02-12 06:00:29 +00:00
|
|
|
bfg-repo-cleaner = callPackage ./bfg-repo-cleaner { };
|
|
|
|
|
2017-01-05 10:21:06 +00:00
|
|
|
bitbucket-server-cli = callPackage ./bitbucket-server-cli { };
|
|
|
|
|
2020-02-13 20:24:17 +00:00
|
|
|
bump2version = pkgs.python37Packages.callPackage ./bump2version { };
|
|
|
|
|
2019-10-19 03:30:06 +01:00
|
|
|
darcs-to-git = callPackage ./darcs-to-git { };
|
2012-04-16 00:48:11 +01:00
|
|
|
|
2019-10-04 10:20:00 +01:00
|
|
|
delta = callPackage ./delta { };
|
|
|
|
|
2016-06-17 11:34:17 +01:00
|
|
|
diff-so-fancy = callPackage ./diff-so-fancy { };
|
|
|
|
|
2020-03-19 02:21:21 +00:00
|
|
|
gh = callPackage ./gh {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
2020-02-04 02:15:27 +00:00
|
|
|
|
2017-04-15 03:57:38 +01:00
|
|
|
ghq = callPackage ./ghq { };
|
|
|
|
|
2014-03-11 16:00:17 +00:00
|
|
|
git = appendToName "minimal" gitBase;
|
|
|
|
|
2018-11-16 00:39:26 +00:00
|
|
|
git-absorb = callPackage ./git-absorb {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
|
|
|
|
2016-09-08 13:54:36 +01:00
|
|
|
git-annex = pkgs.haskellPackages.git-annex;
|
2011-03-23 15:57:53 +00:00
|
|
|
|
2017-12-08 00:12:47 +00:00
|
|
|
git-annex-metadata-gui = libsForQt5.callPackage ./git-annex-metadata-gui {
|
|
|
|
inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter;
|
|
|
|
};
|
|
|
|
|
2016-06-06 01:28:52 +01:00
|
|
|
git-annex-remote-b2 = callPackage ./git-annex-remote-b2 { };
|
2016-01-26 16:54:53 +00:00
|
|
|
|
2019-04-14 12:41:30 +01:00
|
|
|
git-annex-remote-dbx = callPackage ./git-annex-remote-dbx {
|
|
|
|
inherit (python3Packages)
|
|
|
|
buildPythonApplication
|
|
|
|
fetchPypi
|
|
|
|
dropbox
|
|
|
|
annexremote
|
|
|
|
humanfriendly;
|
|
|
|
};
|
|
|
|
|
2016-11-23 20:01:40 +00:00
|
|
|
git-annex-remote-rclone = callPackage ./git-annex-remote-rclone { };
|
|
|
|
|
2019-10-07 14:48:51 +01:00
|
|
|
git-annex-utils = callPackage ./git-annex-utils { };
|
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
git-appraise = callPackage ./git-appraise {};
|
|
|
|
|
2018-10-23 22:41:36 +01:00
|
|
|
git-bug = callPackage ./git-bug { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
# support for bugzilla
|
|
|
|
git-bz = callPackage ./git-bz { };
|
2009-01-20 22:15:42 +00:00
|
|
|
|
2017-10-30 15:14:24 +00:00
|
|
|
git-codeowners = callPackage ./git-codeowners { };
|
|
|
|
|
2020-02-28 12:12:27 +00:00
|
|
|
git-codereview = callPackage ./git-codereview { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-cola = callPackage ./git-cola { };
|
2009-01-20 22:15:42 +00:00
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-crypt = callPackage ./git-crypt { };
|
|
|
|
|
2018-05-20 03:03:09 +01:00
|
|
|
git-dit = callPackage ./git-dit {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
|
|
|
};
|
2017-02-24 15:38:10 +00:00
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-extras = callPackage ./git-extras { };
|
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
git-fame = callPackage ./git-fame {};
|
|
|
|
|
|
|
|
git-fast-export = callPackage ./fast-export { };
|
|
|
|
|
|
|
|
git-filter-repo = callPackage ./git-filter-repo {
|
|
|
|
pythonPackages = python3Packages;
|
|
|
|
};
|
|
|
|
|
2019-07-08 05:39:45 +01:00
|
|
|
git-gone = callPackage ./git-gone {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
|
|
|
|
2016-04-29 20:40:41 +01:00
|
|
|
git-hub = callPackage ./git-hub { };
|
|
|
|
|
2019-02-25 15:47:18 +00:00
|
|
|
git-ignore = callPackage ./git-ignore { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-imerge = callPackage ./git-imerge { };
|
|
|
|
|
2020-02-03 02:15:10 +00:00
|
|
|
git-interactive-rebase-tool = callPackage ./git-interactive-rebase-tool {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
2020-02-02 06:25:29 +00:00
|
|
|
|
2019-11-22 09:39:14 +00:00
|
|
|
git-machete = python3Packages.callPackage ./git-machete { };
|
|
|
|
|
2019-10-19 03:39:16 +01:00
|
|
|
git-my = callPackage ./git-my { };
|
|
|
|
|
2017-03-13 12:58:07 +00:00
|
|
|
git-octopus = callPackage ./git-octopus { };
|
|
|
|
|
2017-04-15 20:25:59 +01:00
|
|
|
git-open = callPackage ./git-open { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-radar = callPackage ./git-radar { };
|
|
|
|
|
2017-04-16 16:12:53 +01:00
|
|
|
git-recent = callPackage ./git-recent {
|
2018-05-03 06:58:11 +01:00
|
|
|
utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux;
|
2017-04-16 16:12:53 +01:00
|
|
|
};
|
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
git-remote-gcrypt = callPackage ./git-remote-gcrypt { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
git-remote-hg = callPackage ./git-remote-hg { };
|
|
|
|
|
2018-11-28 02:11:06 +00:00
|
|
|
git-reparent = callPackage ./git-reparent { };
|
|
|
|
|
2017-11-10 23:12:41 +00:00
|
|
|
git-secret = callPackage ./git-secret { };
|
|
|
|
|
2018-05-04 23:02:55 +01:00
|
|
|
git-secrets = callPackage ./git-secrets { };
|
|
|
|
|
2019-05-31 10:20:00 +01:00
|
|
|
git-standup = callPackage ./git-standup { };
|
|
|
|
|
2016-02-25 22:45:05 +00:00
|
|
|
git-stree = callPackage ./git-stree { };
|
|
|
|
|
2019-08-24 15:13:00 +01:00
|
|
|
git-subrepo = callPackage ./git-subrepo { };
|
|
|
|
|
2019-11-25 23:00:00 +00:00
|
|
|
git-subtrac = callPackage ./git-subtrac { };
|
|
|
|
|
2018-06-26 11:33:18 +01:00
|
|
|
git-sync = callPackage ./git-sync { };
|
|
|
|
|
2018-12-07 00:00:00 +00:00
|
|
|
git-test = callPackage ./git-test { };
|
|
|
|
|
2020-03-07 09:20:00 +00:00
|
|
|
git-trim = callPackage ./git-trim {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
|
|
|
|
2020-01-09 16:04:37 +00:00
|
|
|
git-workspace = callPackage ./git-workspace {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
|
|
|
|
2016-04-17 00:41:47 +01:00
|
|
|
git2cl = callPackage ./git2cl { };
|
2009-01-20 22:15:42 +00:00
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
# The full-featured Git.
|
|
|
|
gitFull = gitBase.override {
|
|
|
|
svnSupport = true;
|
|
|
|
guiSupport = true;
|
|
|
|
sendEmailSupport = true;
|
|
|
|
withLibsecret = !stdenv.isDarwin;
|
|
|
|
};
|
2009-01-20 22:15:42 +00:00
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
# Git with SVN support, but without GUI.
|
|
|
|
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
|
|
|
|
svnSupport = true;
|
|
|
|
}));
|
|
|
|
|
|
|
|
gita = python3Packages.callPackage ./gita {};
|
2009-02-24 22:00:35 +00:00
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
gitflow = callPackage ./gitflow { };
|
2015-10-25 18:26:08 +00:00
|
|
|
|
2019-05-08 02:47:04 +01:00
|
|
|
gitstatus = callPackage ./gitstatus { };
|
|
|
|
|
2018-01-31 21:37:47 +00:00
|
|
|
grv = callPackage ./grv { };
|
|
|
|
|
2016-04-17 00:41:47 +01:00
|
|
|
hub = callPackage ./hub {
|
2015-02-18 03:30:59 +00:00
|
|
|
inherit (darwin) Security;
|
2012-12-12 05:45:43 +00:00
|
|
|
};
|
|
|
|
|
2018-12-15 14:37:35 +00:00
|
|
|
lab = callPackage ./lab { };
|
|
|
|
|
2020-03-21 10:21:00 +00:00
|
|
|
lefthook = callPackage ./lefthook {
|
|
|
|
inherit (darwin.apple_sdk.frameworks) Security;
|
|
|
|
};
|
2019-09-22 22:18:08 +01:00
|
|
|
|
2018-09-26 13:46:05 +01:00
|
|
|
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
|
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
|
|
|
|
|
2017-02-02 01:55:47 +00:00
|
|
|
qgit = qt5.callPackage ./qgit { };
|
2009-01-20 22:15:42 +00:00
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
stgit = callPackage ./stgit { };
|
2016-02-25 22:23:34 +00:00
|
|
|
|
|
|
|
subgit = callPackage ./subgit { };
|
|
|
|
|
2019-10-19 03:38:41 +01:00
|
|
|
svn-all-fast-export = libsForQt5.callPackage ./svn-all-fast-export { };
|
|
|
|
|
2016-04-17 00:41:47 +01:00
|
|
|
svn2git = callPackage ./svn2git {
|
2011-12-06 15:41:16 +00:00
|
|
|
git = gitSVN;
|
2011-05-04 11:07:56 +01:00
|
|
|
};
|
|
|
|
|
2020-01-20 13:52:26 +00:00
|
|
|
thicket = callPackage ./thicket { };
|
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
tig = callPackage ./tig { };
|
2015-04-07 05:38:20 +01:00
|
|
|
|
2019-10-19 03:30:06 +01:00
|
|
|
top-git = callPackage ./topgit { };
|
2015-08-07 18:15:39 +01:00
|
|
|
|
2016-02-25 22:23:34 +00:00
|
|
|
transcrypt = callPackage ./transcrypt { };
|
2018-03-26 15:52:44 +01:00
|
|
|
|
2020-02-14 22:57:29 +00:00
|
|
|
ydiff = pkgs.python3.pkgs.toPythonApplication pkgs.python3.pkgs.ydiff;
|
|
|
|
|
2018-07-12 01:51:54 +01:00
|
|
|
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
|
2018-03-26 15:52:44 +01:00
|
|
|
# aliases
|
2019-10-19 03:30:06 +01:00
|
|
|
darcsToGit = darcs-to-git;
|
2018-07-08 01:08:48 +01:00
|
|
|
gitAnnex = git-annex;
|
2019-10-19 03:30:06 +01:00
|
|
|
gitFastExport = git-fast-export;
|
|
|
|
gitRemoteGcrypt = git-remote-gcrypt;
|
2018-03-26 15:52:44 +01:00
|
|
|
svn_all_fast_export = svn-all-fast-export;
|
2019-10-19 03:30:06 +01:00
|
|
|
topGit = top-git;
|
2018-07-08 01:08:48 +01:00
|
|
|
});
|
|
|
|
in
|
|
|
|
self
|