core/pkgs/by-name/gi/git/packages.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ ... }:
res: pkgs: super:
2024-05-13 21:24:10 +00:00
with pkgs; {
2024-05-02 00:46:19 +00:00
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; });
2024-05-13 21:24:10 +00: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;
2024-05-02 00:46:19 +00:00
gitMinimal = git.override {
withManual = false;
pythonSupport = false;
perlSupport = false;
withpcre2 = false;
};
}