8 stdenv.mkDerivation (finalAttrs: {
9 pname = "glsl_analyzer";
12 src = fetchFromGitHub {
14 repo = "glsl_analyzer";
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-AIzk05T8JZn8HWSI6JDFUIYl4sutd3HR3Zb+xmJll0g=";
24 substituteInPlace build.zig \
25 --replace-fail 'b.run(&.{ "git", "describe", "--tags", "--always" })' '"${finalAttrs.src.rev}"'
29 description = "Language server for GLSL (OpenGL Shading Language)";
30 changelog = "https://github.com/nolanderc/glsl_analyzer/releases/tag/v${finalAttrs.version}";
31 homepage = "https://github.com/nolanderc/glsl_analyzer";
32 mainProgram = "glsl_analyzer";
33 license = lib.licenses.gpl3Only;
34 maintainers = with lib.maintainers; [ wr7 ];
35 platforms = lib.platforms.unix;