Atlassian Sourctree icon

Atlassian Sourctree 4.2.21b31,325

Graphical client for Git version control

Installation

System wide:

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

Home Manager:

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

Package Definition

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