Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
opgg # OP.GG Desktop
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
opgg # OP.GG Desktop
];
}
Package Definition
{
"pname": "opgg",
"version": "2.0.5",
"src": {
"url": "https://desktop-patch.op.gg/update/general/OP.GG-2.0.5-universal.dmg",
"sha256": "b44d2e37af754953228581d30a4a9e6d03c6d469f41cdcd63167eac5397d2590"
},
"installPhase": [
"mkdir -p \"$out/Applications/OP.GG.app\" && cp -r \"OP.GG.app\" \"$out/Applications\""
],
"meta": {
"description": "Game records and champion analysis",
"homepage": "https://op.gg/desktop/"
}
}