Lapce icon

Lapce 0.4.3

Open source code editor written in Rust

Installation

System wide:

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

Home Manager:

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

Package Definition

{
  "pname": "lapce",
  "version": "0.4.3",
  "src": {
    "url": "https://github.com/lapce/lapce/releases/download/v0.4.3/Lapce-macos.dmg",
    "sha256": "f4eb6fd004dc85b8aed667663e559265d7c2a9967f1b818c6f1c325b1186c2ce"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/Lapce.app\" && cp -r \"Lapce.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Lapce.app/Contents/MacOS/lapce\" \"$out/bin/lapce\""
  ],
  "meta": {
    "description": "Open source code editor written in Rust",
    "homepage": "https://lapce.dev/"
  }
}