Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
swimat # Swimat
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
swimat # Swimat
];
} Package Definition
{
"pname": "swimat",
"version": "1.7.0",
"src": {
"url": "https://github.com/Jintin/Swimat/releases/download/1.7.0/Swimat.zip",
"sha256": "adcf450d98c247fe4c45c68353f19afca3e2039c8431ec080f14000fe9cc36bf"
},
"installPhase": [
"mkdir -p \"$out/Applications/Swimat.app\" && cp -r \"Swimat.app\" \"$out/Applications\""
],
"meta": {
"description": "Xcode formatter plug-in for Swift code",
"homepage": "https://github.com/Jintin/Swimat"
}
}