GitHub Desktop icon

GitHub Desktop 3.5.7-c5e06544

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.7-c5e06544",
  "src": {
    "url": "https://desktop.githubusercontent.com/releases/3.5.7-c5e06544/GitHubDesktop-arm64.zip",
    "sha256": "fd566f10b8600ee60ed89be6fd62058e971368c24276501b49999c76bcf5e5bf"
  },
  "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/"
  }
}