python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / di / diagnostic-languageserver / package.nix
blob85f35db24ec9366297a7e7aa1503a52958117f11
2   lib,
3   stdenv,
4   fetchYarnDeps,
5   fetchFromGitHub,
6   nix-update-script,
7   yarnConfigHook,
8   yarnBuildHook,
9   npmHooks,
10   nodejs,
12 stdenv.mkDerivation (finalAttrs: {
13   pname = "diagnostic-languageserver";
14   version = "1.15.0";
16   src = fetchFromGitHub {
17     owner = "iamcco";
18     repo = "diagnostic-languageserver";
19     rev = "v${finalAttrs.version}";
20     hash = "sha256-EFkvxMvtA5L6ZiDxrZxGnNAphNn/P3ra6ZrslplScZg=";
21   };
23   yarnOfflineCache = fetchYarnDeps {
24     yarnLock = "${finalAttrs.src}/yarn.lock";
25     hash = "sha256-T8ppt8EDljtMhGp9i0VleU2Nw3tJexE2ufT6C4EtAz0=";
26   };
28   nativeBuildInputs = [
29     yarnConfigHook
30     yarnBuildHook
31     npmHooks.npmInstallHook
32     nodejs
33   ];
35   passthru.updateScript = nix-update-script { };
37   meta = {
38     description = "General purpose Language Server that integrate with linter to support diagnostic features";
39     homepage = "https://github.com/iamcco/diagnostic-languageserver";
40     changelog = "https://github.com/iamcco/diagnostic-languageserver/releases/tag/v${finalAttrs.version}";
41     license = lib.licenses.mit;
42     mainProgram = "diagnostic-languageserver";
43     maintainers = with lib.maintainers; [ pyrox0 ];
44   };