1 { stdenv, fetchFromGitHub, makeBinaryWrapper, odin, lib }:
5 version = "0-unstable-2024-04-15";
7 src = fetchFromGitHub {
10 rev = "aa1aabda1cce68a6038c48429cc759f09ad2ebab";
11 hash = "sha256-yM+Syx8hWiSZatWfFFGz8lUJTOCozkZWPdPUhRW0/Ow=";
23 patchShebangs build.sh
37 install -Dm755 ols -t $out/bin/
38 wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
44 inherit (odin.meta) platforms;
45 description = "Language server for the Odin programming language";
47 homepage = "https://github.com/DanielGavin/ols";
48 license = licenses.mit;
49 maintainers = with maintainers; [ astavie znaniye ];