Merge pull request #320115 from r-ryantm/auto-update/pyright
pyright: 1.1.366 -> 1.1.367
This commit is contained in:
commit
bd8d034e65
@ -1,13 +1,13 @@
|
|||||||
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:
|
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.1.366";
|
version = "1.1.367";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Microsoft";
|
owner = "Microsoft";
|
||||||
repo = "pyright";
|
repo = "pyright";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
hash = "sha256-xs93PnDTtDsdi9YeZk0nyinCs4+eJJNFg7NagHF15rI=";
|
hash = "sha256-ILhY6O5B38P5PYdCK1DeuvQzTU5SbhL3F4X0KFne9UM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchedPackageJSON = runCommand "package.json" { } ''
|
patchedPackageJSON = runCommand "package.json" { } ''
|
||||||
@ -37,7 +37,7 @@ let
|
|||||||
pname = "pyright-internal";
|
pname = "pyright-internal";
|
||||||
inherit version src;
|
inherit version src;
|
||||||
sourceRoot = "${src.name}/packages/pyright-internal";
|
sourceRoot = "${src.name}/packages/pyright-internal";
|
||||||
npmDepsHash = "sha256-jGLzsrf5RuqfyI3BJpmVsqijxtNlFexsub0186cUR+8=";
|
npmDepsHash = "sha256-MskvUwzlREmTR8qmLlWGxNWVlveIIyHhihigkQ+5seY=";
|
||||||
dontNpmBuild = true;
|
dontNpmBuild = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
@ -51,7 +51,7 @@ buildNpmPackage rec {
|
|||||||
inherit version src;
|
inherit version src;
|
||||||
|
|
||||||
sourceRoot = "${src.name}/packages/pyright";
|
sourceRoot = "${src.name}/packages/pyright";
|
||||||
npmDepsHash = "sha256-8d3gRx93wfusvI3mov2B0jJuG+WpVaL8b+jdFzmqA3w=";
|
npmDepsHash = "sha256-kpqV81iafKWROtdPxLZqi6YVT0WJf82salTFl46Iu24=";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +w ../../
|
chmod +w ../../
|
||||||
|
Loading…
Reference in New Issue
Block a user