Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ruffle # ruffle
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ruffle # ruffle
];
} Package Definition
{
"pname": "ruffle",
"version": "0.6.0",
"src": {
"url": "https://github.com/ruffle-rs/ruffle/releases/download/v0.6.0/ruffle-0.6.0-macos-universal.tar.gz",
"sha256": "83d26cae9d0217cbaeef2095b7e7a104e8cd48aa2dfb327dea07d28f46962805"
},
"installPhase": [
"mkdir -p \"$out/Applications/Ruffle.app\" && cp -r \"Ruffle.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"/Applications/Ruffle.app/Contents/MacOS/ruffle\" \"$out/bin/ruffle\""
],
"meta": {
"description": "Flash Player emulator",
"homepage": "https://ruffle.rs/"
}
}