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.3.0",
"src": {
"url": "https://github.com/UNIkeEN/SJMCL/releases/download/v1.3.0/SJMCL_1.3.0_macos_aarch64.dmg",
"sha256": "8fe2c8b73954e39fcc7bcaaed3e5216f282382e49a914e8d4fd905c106b53d25"
},
"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/"
}
}