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