about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/language-servers/glslls/default.nix
blob: 093f6c583b166f74a00fbd9078e43ed5104ad1b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, stdenv
, fetchFromGitHub
, cmake
, ninja
, python3
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "glslls";
  version = "0.5.0";

  src = fetchFromGitHub {
    owner = "svenstaro";
    repo = "glsl-language-server";
    rev = finalAttrs.version;
    fetchSubmodules = true;
    hash = "sha256-wi1QiqaWRh1DmIhwmu94lL/4uuMv6DnB+whM61Jg1Zs=";
  };

  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;
  };
})