Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
sourcegit # SourceGit
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
sourcegit # SourceGit
];
} Package Definition
{
"pname": "sourcegit",
"version": "2025.40",
"src": {
"url": "https://github.com/ybeapps/homebrew-sourcegit/releases/download/v2025.40-signed/SourceGit-v2025.40-arm64-signed.dmg",
"sha256": "49a868c212162a3f7e59dabece3bce21d763787ab419e3bd725348c29ece1d45"
},
"installPhase": [
"mkdir -p \"$out/Applications/SourceGit.app\" && cp -r \"SourceGit.app\" \"$out/Applications\""
],
"meta": {
"description": "Git GUI client",
"homepage": "https://github.com/sourcegit-scm/sourcegit"
}
}