GitHub Desktop icon

GitHub Desktop 3.4.10-07e3f676

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.4.10-07e3f676",
  "src": {
    "url": "https://desktop.githubusercontent.com/releases/3.4.10-07e3f676/GitHubDesktop-arm64.zip",
    "sha256": "9ed3f7ff736cd54dd4a78bae832191b16632625f0aac1a5cc0687d1618ccd06a"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications\" && cp -r \"GitHub Desktop.app\" \"$out/Applications/GitHub Desktop.app\"",
    "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/"
  }
}