Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
sjmcl # SJMCL
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
sjmcl # SJMCL
];
} Package Definition
{
"pname": "sjmcl",
"version": "1.2.0",
"src": {
"url": "https://github.com/UNIkeEN/SJMCL/releases/download/v1.2.0/SJMCL_1.2.0_macos_aarch64.dmg",
"sha256": "d44808704f44c285287ae549bfb51a08afbb77d3f7101479d08ffbca825fe428"
},
"installPhase": [
"mkdir -p \"$out/Applications/SJMCL.app\" && cp -r \"SJMCL.app\" \"$out/Applications\""
],
"meta": {
"description": "Minecraft launcher built with the community",
"homepage": "https://mc.sjtu.cn/sjmcl/"
}
}