core/pkgs/by-name/gi/git/packages.nix
2024-06-30 09:12:46 +01:00

49 lines
1.1 KiB
Nix

{ ... }:
res: pkgs: super:
with pkgs; {
git = callPackage ./. {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
perlLibs = [
perlPackages.LWP
perlPackages.URI
perlPackages.TermReadKey
];
smtpPerlLibs = [
perlPackages.libnet
perlPackages.NetSMTPSSL
perlPackages.IOSocketSSL
perlPackages.NetSSLeay
perlPackages.AuthenSASL
perlPackages.DigestHMAC
];
};
# The full-featured Git.
gitFull = git.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = true;
withSsh = true;
withLibsecret = !stdenv.isDarwin;
};
# Git with SVN support, but without GUI.
gitSVN = lowPrio (git.override { svnSupport = true; });
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;
gitMinimal = git.override {
withManual = false;
pythonSupport = false;
perlSupport = false;
withpcre2 = false;
};
}