Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
cmd # cmd
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
cmd # cmd
];
}
Package Definition
{
"pname": "cmd",
"version": "0.1.30",
"src": {
"url": "https://github.com/getcmd-dev/cmd/releases/download/v0.1.30/cmd.dmg",
"sha256": "400a2a11983ebca57fec4fbd94f99f043e4a30b20ed8a9996144d8fe3188d33d"
},
"installPhase": [
"mkdir -p \"$out/Applications/cmd.app\" && cp -r \"cmd.app\" \"$out/Applications\""
],
"meta": {
"description": "AI assistant for development in Xcode",
"homepage": "https://getcmd.dev/"
}
}