1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/default.nix

140 lines
3.5 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 {
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
];
};
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 { };
darcsToGit = callPackage ./darcs-to-git { };
diff-so-fancy = callPackage ./diff-so-fancy { };
2017-04-15 03:57:38 +01:00
ghq = callPackage ./ghq { };
git = appendToName "minimal" gitBase;
2017-07-05 13:02:20 +01:00
git-fame = callPackage ./git-fame {};
# The full-featured Git.
gitFull = gitBase.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = !stdenv.isDarwin;
};
# Git with SVN support, but without GUI.
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
svnSupport = true;
}));
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 { };
2016-11-23 20:01:40 +00:00
git-annex-remote-rclone = callPackage ./git-annex-remote-rclone { };
# support for bugzilla
git-bz = callPackage ./git-bz { };
git-codeowners = callPackage ./git-codeowners { };
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
git-extras = callPackage ./git-extras { };
git-hub = callPackage ./git-hub { };
git-imerge = callPackage ./git-imerge { };
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
};
git-remote-hg = callPackage ./git-remote-hg { };
git-secret = callPackage ./git-secret { };
2018-05-04 23:02:55 +01:00
git-secrets = callPackage ./git-secrets { };
2016-02-25 22:45:05 +00:00
git-stree = callPackage ./git-stree { };
git-sync = callPackage ./git-sync { };
2016-04-17 00:41:47 +01:00
git2cl = callPackage ./git2cl { };
2016-04-17 00:41:47 +01:00
gitFastExport = callPackage ./fast-export { };
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
gitflow = callPackage ./gitflow { };
2015-10-25 18:26:08 +00:00
2018-01-31 21:37:47 +00:00
grv = callPackage ./grv { };
2016-04-17 00:41:47 +01:00
hub = callPackage ./hub {
inherit (darwin) Security;
};
2018-05-31 00:35:20 +01:00
hubUnstable = throw "use gitAndTools.hub instead";
qgit = qt5.callPackage ./qgit { };
2016-04-17 00:41:47 +01:00
stgit = callPackage ./stgit {
};
subgit = callPackage ./subgit { };
2016-04-17 00:41:47 +01:00
svn2git = callPackage ./svn2git {
git = gitSVN;
};
svn-all-fast-export = libsForQt5.callPackage ./svn-all-fast-export { };
tig = callPackage ./tig { };
2015-04-07 05:38:20 +01:00
2016-04-17 00:41:47 +01:00
topGit = callPackage ./topgit { };
2015-08-07 18:15:39 +01:00
transcrypt = callPackage ./transcrypt { };
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
# aliases
gitAnnex = git-annex;
svn_all_fast_export = svn-all-fast-export;
});
in
self