CotEditor icon

CotEditor 6.1.1

Plain-text editor for web pages, program source codes and more

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    coteditor # CotEditor
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    coteditor # CotEditor
  ];
}

Package Definition

{
  "pname": "coteditor",
  "version": "6.1.1",
  "src": {
    "url": "https://github.com/coteditor/CotEditor/releases/download/6.1.1/CotEditor_6.1.1.dmg",
    "sha256": "93afaadf9963a963549bc8a830ba03a09c3608925d41a2d52605bbf84a03c93e"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/CotEditor.app\" && cp -r \"CotEditor.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/CotEditor.app/Contents/SharedSupport/bin/cot\" \"$out/bin/cot\""
  ],
  "meta": {
    "description": "Plain-text editor for web pages, program source codes and more",
    "homepage": "https://coteditor.com/"
  }
}