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