12 version = "0-unstable-2024-08-05";
14 src = fetchFromGitHub {
15 owner = "DanielGavin";
17 rev = "5f53ba1670b4bd44f6faf589823aa404f3c1a62b";
18 hash = "sha256-4Rw3eNXkmdRMLz9k1UaK6xr0KS4g4AnFpOcrWLos2jg=";
22 patchShebangs build.sh odinfmt.sh
25 nativeBuildInputs = [ makeBinaryWrapper ];
27 buildInputs = [ odin ];
32 ./build.sh && ./odinfmt.sh
40 install -Dm755 ols odinfmt -t $out/bin/
41 wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
46 passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
49 inherit (odin.meta) platforms;
50 description = "Language server for the Odin programming language";
51 homepage = "https://github.com/DanielGavin/ols";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [