ols: nightly-2023-11-04 -> 0-unstable-2024-02-09

This commit is contained in:
Astavie 2024-02-12 12:53:52 +01:00
parent 4dd212239e
commit a0bfe7bcf5

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "ols"; pname = "ols";
version = "nightly-2023-11-04"; version = "0-unstable-2024-02-09";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DanielGavin"; owner = "DanielGavin";
repo = "ols"; repo = "ols";
rev = "b19c24eb17e7c16bcfb3144665fd405fd5e580f3"; rev = "3eb1e0e60a66a4fc7347fb77837ff45ccbe1cabb";
hash = "sha256-c8mHVdXbn7aRKI/QBIZvBvl4sCNK49q+crQmTCjptwM="; hash = "sha256-qPcSZjvlBmFf3M98GrwIu8SGO2VbgdqBKzyFpGSEtrI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,18 +34,17 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin install -Dm755 ols -t $out/bin/
cp ols $out/bin
wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
inherit (odin.meta) platforms;
description = "Language server for the Odin programming language"; description = "Language server for the Odin programming language";
homepage = "https://github.com/DanielGavin/ols"; homepage = "https://github.com/DanielGavin/ols";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ astavie znaniye ]; maintainers = with maintainers; [ astavie znaniye ];
platforms = odin.meta.platforms;
}; };
} }