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

243 lines
6 KiB
Nix
Raw Normal View History

/* All git-relates tools live here, in a separate attribute set so that users
* can get a fast overview over what's available.
*/
args @ {config, lib, pkgs}: with args; with pkgs;
let
2016-04-17 00:41:47 +01:00
gitBase = callPackage ./git {
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.libnet perlPackages.NetSMTPSSL
perlPackages.IOSocketSSL perlPackages.NetSSLeay
perlPackages.AuthenSASL perlPackages.DigestHMAC
];
};
self = rec {
# Try to keep this generally alphabetized
2017-02-12 06:00:29 +00:00
bfg-repo-cleaner = callPackage ./bfg-repo-cleaner { };
bitbucket-server-cli = callPackage ./bitbucket-server-cli { };
bump2version = pkgs.python37Packages.callPackage ./bump2version { };
darcs-to-git = callPackage ./darcs-to-git { };
2019-10-04 10:20:00 +01:00
delta = callPackage ./delta { };
diff-so-fancy = callPackage ./diff-so-fancy { };
gh = callPackage ./gh { };
2020-02-04 02:15:27 +00:00
ghq = callPackage ./ghq { };
2017-04-15 03:57:38 +01: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;
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 { };
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 { };
git-annex-utils = callPackage ./git-annex-utils { };
2019-10-19 03:38:41 +01:00
git-appraise = callPackage ./git-appraise {};
git-bug = callPackage ./git-bug { };
# support for bugzilla
git-bz = callPackage ./git-bz { };
git-cinnabar = callPackage ./git-cinnabar { };
git-codeowners = callPackage ./git-codeowners { };
2020-02-28 12:12:27 +00:00
git-codereview = callPackage ./git-codereview { };
git-cola = callPackage ./git-cola { };
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
2020-05-18 15:50:14 +01:00
git-doc = lib.addMetaAttrs {
description = "Additional documentation for Git";
longDescription = ''
This package contains additional documentation (HTML and text files) that
is referenced in the man pages of Git.
'';
} gitFull.doc;
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;
};
git-hub = callPackage ./git-hub { };
git-ignore = callPackage ./git-ignore { };
git-imerge = callPackage ./git-imerge { };
git-interactive-rebase-tool = callPackage ./git-interactive-rebase-tool {
inherit (darwin.apple_sdk.frameworks) Security;
};
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 { };
git-radar = callPackage ./git-radar { };
2017-04-16 16:12:53 +01:00
git-recent = callPackage ./git-recent {
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 { };
git-remote-hg = callPackage ./git-remote-hg { };
git-reparent = callPackage ./git-reparent { };
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 { };
git-subrepo = callPackage ./git-subrepo { };
2020-06-07 10:20:00 +01:00
git-subset = callPackage ./git-subset {
inherit (darwin.apple_sdk.frameworks) Security;
};
git-subtrac = callPackage ./git-subtrac { };
2019-11-25 23:00:00 +00: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;
};
git-workspace = callPackage ./git-workspace {
inherit (darwin.apple_sdk.frameworks) Security;
};
2016-04-17 00:41:47 +01:00
git2cl = callPackage ./git2cl { };
2019-10-19 03:38:41 +01:00
# The full-featured Git.
gitFull = gitBase.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = true;
withLibsecret = !stdenv.isDarwin;
};
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 {};
gitbatch = callPackage ./gitbatch { };
gitflow = callPackage ./gitflow { };
2015-10-25 18:26:08 +00:00
2020-05-24 11:56:53 +01:00
gitin = callPackage ./gitin { };
gitstatus = callPackage ./gitstatus { };
2020-05-01 15:28:35 +01:00
gitui = callPackage ./gitui {
inherit (darwin.apple_sdk.frameworks) Security;
};
2018-01-31 21:37:47 +00:00
grv = callPackage ./grv { };
hub = callPackage ./hub { };
lab = callPackage ./lab { };
2018-12-15 14:37:35 +00:00
lefthook = callPackage ./lefthook { };
2019-12-07 01:34:14 +00:00
legit = callPackage ./legit { };
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;
qgit = qt5.callPackage ./qgit { };
scmpuff = callPackage ./scmpuff { };
2019-10-19 03:38:41 +01:00
stgit = callPackage ./stgit { };
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 {
git = gitSVN;
};
2020-01-20 13:52:26 +00:00
thicket = callPackage ./thicket { };
tig = callPackage ./tig { };
2015-04-07 05:38:20 +01:00
top-git = callPackage ./topgit { };
2015-08-07 18:15:39 +01:00
transcrypt = callPackage ./transcrypt { };
ydiff = pkgs.python3.pkgs.toPythonApplication pkgs.python3.pkgs.ydiff;
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
# aliases
darcsToGit = darcs-to-git;
gitAnnex = git-annex;
gitFastExport = git-fast-export;
gitRemoteGcrypt = git-remote-gcrypt;
svn_all_fast_export = svn-all-fast-export;
topGit = top-git;
});
in
self