GitHub Desktop icon

GitHub Desktop 3.5.1-42a2e52a

Desktop client for GitHub repositories

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    github # GitHub Desktop
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    github # GitHub Desktop
  ];
}

Package Definition

{
  "pname": "github",
  "version": "3.5.1-42a2e52a",
  "src": {
    "url": "https://desktop.githubusercontent.com/releases/3.5.1-42a2e52a/GitHubDesktop-arm64.zip",
    "sha256": "e74f7d8f57e9d9baef5a5614016d4e331a6d7f209f2bb97db79b8d369bfe5944"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/GitHub Desktop.app\" && cp -r \"GitHub Desktop.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/GitHub Desktop.app/Contents/Resources/app/static/github.sh\" \"$out/bin/github\""
  ],
  "meta": {
    "description": "Desktop client for GitHub repositories",
    "homepage": "https://desktop.github.com/"
  }
}