Atlassian SourceTree icon

Atlassian SourceTree 4.2.16,307

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.16,307",
  "src": {
    "url": "https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.16_307.zip",
    "sha256": "de80f562fa5fa0f3000e11f11db08d3a1ecb086c659d87a8df3b1c29737664a8"
  },
  "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/"
  }
}