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.7.1",
"src": {
"url": "https://github.com/ruffle-rs/ruffle/releases/download/v0.7.1/ruffle-0.7.1-macos-universal.tar.gz",
"sha256": "7a86a09b0ca1d5756abcbb093108265019d77edad79e91c98689126c940bea4e"
},
"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/"
}
}