Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    play # Play
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    play # Play
  ];
}

Package Definition

{
  "pname": "play",
  "version": "2.0.20",
  "src": {
    "url": "https://github.com/pmsaue0/play/releases/download/v2.0.20/play_2.0.20.dmg.zip",
    "sha256": "101f1392bc03ece2ee6e86683472f33e3ebe0b91a050b41ed121d09253df930c"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/Play.app\" && cp -r \"Play.app\" \"$out/Applications\""
  ],
  "meta": {
    "homepage": "https://pmsaue0.github.io/play/"
  }
}