From f55cee06f252a89e8470d9864c8b32c298200c19 Mon Sep 17 00:00:00 2001 From: Declan Rixon Date: Sat, 5 Aug 2023 16:45:39 +1000 Subject: [PATCH] gllsls: init at 0.4.1 --- .../tools/language-servers/glslls/default.nix | 34 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/tools/language-servers/glslls/default.nix diff --git a/pkgs/development/tools/language-servers/glslls/default.nix b/pkgs/development/tools/language-servers/glslls/default.nix new file mode 100644 index 000000000000..59b3e2ad38ee --- /dev/null +++ b/pkgs/development/tools/language-servers/glslls/default.nix @@ -0,0 +1,34 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, ninja +, python3 +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "glslls"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "svenstaro"; + repo = "glsl-language-server"; + rev = finalAttrs.version; + fetchSubmodules = true; + hash = "sha256-UgQXxme0uySKYhhVMOO7+EZ4BL2s8nmq9QxC2SFQqRg="; + }; + + nativeBuildInputs = [ + python3 + cmake + ninja + ]; + + meta = { + description = "A language server implementation for GLSL"; + homepage = "https://github.com/svenstaro/glsl-language-server"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ declan ]; + platforms = lib.platforms.linux; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 51ab19fe7443..41d6c76ff979 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18223,6 +18223,8 @@ with pkgs; fortran-language-server = python3.pkgs.callPackage ../development/tools/language-servers/fortran-language-server { }; + glslls = callPackage ../development/tools/language-servers/glslls { }; + gopls = callPackage ../development/tools/language-servers/gopls { }; helm-ls = callPackage ../development/tools/language-servers/helm-ls { };