Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
thor # Thor
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
thor # Thor
];
} Package Definition
{
"pname": "thor",
"version": "1.5.16",
"src": {
"url": "https://github.com/gbammc/Thor/releases/download/1.5.16/Thor_1.5.16.zip",
"sha256": "07bd68a6378ac66d00fe39e0f0f0589694b19a46d89120b5934173a8c3b41a5a"
},
"installPhase": [
"mkdir -p \"$out/Applications/Thor.app\" && cp -r \"Thor.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility to switch between applications",
"homepage": "https://github.com/gbammc/Thor/"
}
}