148 lines
5.5 KiB
Nix
148 lines
5.5 KiB
Nix
|
# This file has been generated by node2nix 1.11.1. Do not edit!
|
||
|
|
||
|
{ nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? [ ] }:
|
||
|
|
||
|
let
|
||
|
sources = {
|
||
|
"@angular/language-service-15.1.0" = {
|
||
|
name = "_at_angular_slash_language-service";
|
||
|
packageName = "@angular/language-service";
|
||
|
version = "15.1.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/@angular/language-service/-/language-service-15.1.0.tgz";
|
||
|
sha512 = "+Hup4pCxHQ/QQzS5AIhztMUwVplT//zv5AlG2jtS60CdxhaT2DwYyFiJkF+amIh4cryVh7Hd/eQs/TH055vUhA==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-html-languageservice-4.2.5" = {
|
||
|
name = "vscode-html-languageservice";
|
||
|
packageName = "vscode-html-languageservice";
|
||
|
version = "4.2.5";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-html-languageservice/-/vscode-html-languageservice-4.2.5.tgz";
|
||
|
sha512 = "dbr10KHabB9EaK8lI0XZW7SqOsTfrNyT3Nuj0GoPi4LjGKUmMiLtsqzfedIzRTzqY+w0FiLdh0/kQrnQ0tLxrw==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-jsonrpc-6.0.0" = {
|
||
|
name = "vscode-jsonrpc";
|
||
|
packageName = "vscode-jsonrpc";
|
||
|
version = "6.0.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz";
|
||
|
sha512 = "wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-languageserver-7.0.0" = {
|
||
|
name = "vscode-languageserver";
|
||
|
packageName = "vscode-languageserver";
|
||
|
version = "7.0.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-7.0.0.tgz";
|
||
|
sha512 = "60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-languageserver-protocol-3.16.0" = {
|
||
|
name = "vscode-languageserver-protocol";
|
||
|
packageName = "vscode-languageserver-protocol";
|
||
|
version = "3.16.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.16.0.tgz";
|
||
|
sha512 = "sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-languageserver-textdocument-1.0.8" = {
|
||
|
name = "vscode-languageserver-textdocument";
|
||
|
packageName = "vscode-languageserver-textdocument";
|
||
|
version = "1.0.8";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz";
|
||
|
sha512 = "1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-languageserver-types-3.16.0" = {
|
||
|
name = "vscode-languageserver-types";
|
||
|
packageName = "vscode-languageserver-types";
|
||
|
version = "3.16.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.16.0.tgz";
|
||
|
sha512 = "k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-languageserver-types-3.17.2" = {
|
||
|
name = "vscode-languageserver-types";
|
||
|
packageName = "vscode-languageserver-types";
|
||
|
version = "3.17.2";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2.tgz";
|
||
|
sha512 = "zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-nls-5.2.0" = {
|
||
|
name = "vscode-nls";
|
||
|
packageName = "vscode-nls";
|
||
|
version = "5.2.0";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.2.0.tgz";
|
||
|
sha512 = "RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==";
|
||
|
};
|
||
|
};
|
||
|
"vscode-uri-3.0.3" = {
|
||
|
name = "vscode-uri";
|
||
|
packageName = "vscode-uri";
|
||
|
version = "3.0.3";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.3.tgz";
|
||
|
sha512 = "EcswR2S8bpR7fD0YPeS7r2xXExrScVMxg4MedACaWHEtx9ftCF/qHG1xGkolzTPcEmjTavCQgbVzHUIdTMzFGA==";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
args = {
|
||
|
name = "_at_angular_slash_language-server";
|
||
|
packageName = "@angular/language-server";
|
||
|
version = "15.1.0";
|
||
|
src = ./.;
|
||
|
dependencies = [
|
||
|
sources."@angular/language-service-15.1.0"
|
||
|
sources."vscode-html-languageservice-4.2.5"
|
||
|
sources."vscode-jsonrpc-6.0.0"
|
||
|
sources."vscode-languageserver-7.0.0"
|
||
|
(sources."vscode-languageserver-protocol-3.16.0" // {
|
||
|
dependencies = [
|
||
|
sources."vscode-languageserver-types-3.16.0"
|
||
|
];
|
||
|
})
|
||
|
sources."vscode-languageserver-textdocument-1.0.8"
|
||
|
sources."vscode-languageserver-types-3.17.2"
|
||
|
sources."vscode-nls-5.2.0"
|
||
|
sources."vscode-uri-3.0.3"
|
||
|
];
|
||
|
buildInputs = globalBuildInputs;
|
||
|
meta = {
|
||
|
description = "LSP server for Angular Language Service";
|
||
|
license = "MIT";
|
||
|
};
|
||
|
production = true;
|
||
|
bypassCache = true;
|
||
|
reconstructLock = false;
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
args = args;
|
||
|
sources = sources;
|
||
|
tarball = nodeEnv.buildNodeSourceDist args;
|
||
|
package = nodeEnv.buildNodePackage args;
|
||
|
shell = nodeEnv.buildNodeShell args;
|
||
|
nodeDependencies = nodeEnv.buildNodeDependencies (lib.overrideExisting args {
|
||
|
src = stdenv.mkDerivation {
|
||
|
name = args.name + "-package-json";
|
||
|
src = nix-gitignore.gitignoreSourcePure [
|
||
|
"*"
|
||
|
"!package.json"
|
||
|
"!package-lock.json"
|
||
|
]
|
||
|
args.src;
|
||
|
dontBuild = true;
|
||
|
installPhase = "mkdir -p $out; cp -r ./* $out;";
|
||
|
};
|
||
|
});
|
||
|
}
|