Atlassian SourceTree icon

Atlassian SourceTree 4.2.21,326

Graphical client for Git version control

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    sourcetree # Atlassian SourceTree
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    sourcetree # Atlassian SourceTree
  ];
}

Package Definition

{
  "pname": "sourcetree",
  "version": "4.2.21,326",
  "src": {
    "url": "https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.21_326.zip",
    "sha256": "2d369e0266cae6ddc436e6af07d6bc56cbbadbe05153e2529a2046d29d0ba2f4"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/Sourcetree.app\" && cp -r \"Sourcetree.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Sourcetree.app/Contents/Resources/stree\" \"$out/bin/stree\""
  ],
  "meta": {
    "description": "Graphical client for Git version control",
    "homepage": "https://www.sourcetreeapp.com/"
  }
}