Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
spectacle-editor # Spectacle Editor
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
spectacle-editor # Spectacle Editor
];
} Package Definition
{
"pname": "spectacle-editor",
"version": "0.1.6",
"src": {
"url": "https://github.com/plotly/spectacle-editor/releases/download/v0.1.6/Spectacle.Editor-0.1.6.dmg",
"sha256": "5dc93387bc6026dd44dbf2f88c9bf7730d931663d5b72f382c0a51bc6c57517b"
},
"installPhase": [
"mkdir -p \"$out/Applications/Spectacle Editor.app\" && cp -r \"Spectacle Editor.app\" \"$out/Applications\""
],
"meta": {
"description": "Drag and drop Spectacle editor",
"homepage": "https://github.com/plotly/spectacle-editor"
}
}