mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 13:18:00 +00:00
ols: nightly-2023-11-04 -> 0-unstable-2024-02-09
This commit is contained in:
parent
4dd212239e
commit
a0bfe7bcf5
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "ols";
|
||||
version = "nightly-2023-11-04";
|
||||
version = "0-unstable-2024-02-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DanielGavin";
|
||||
repo = "ols";
|
||||
rev = "b19c24eb17e7c16bcfb3144665fd405fd5e580f3";
|
||||
hash = "sha256-c8mHVdXbn7aRKI/QBIZvBvl4sCNK49q+crQmTCjptwM=";
|
||||
rev = "3eb1e0e60a66a4fc7347fb77837ff45ccbe1cabb";
|
||||
hash = "sha256-qPcSZjvlBmFf3M98GrwIu8SGO2VbgdqBKzyFpGSEtrI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -34,18 +34,17 @@ stdenv.mkDerivation {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp ols $out/bin
|
||||
install -Dm755 ols -t $out/bin/
|
||||
wrapProgram $out/bin/ols --set-default ODIN_ROOT ${odin}/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (odin.meta) platforms;
|
||||
description = "Language server for the Odin programming language";
|
||||
homepage = "https://github.com/DanielGavin/ols";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ astavie znaniye ];
|
||||
platforms = odin.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user