Skip to content

Commit

Permalink
Merge pull request NixOS#306619 from r-ryantm/auto-update/pyright
Browse files Browse the repository at this point in the history
pyright: 1.1.359 -> 1.1.360
  • Loading branch information
nixpkgs-merge-bot[bot] authored Apr 24, 2024
2 parents 1e1b106 + 5d84dc8 commit 23f72da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/by-name/py/pyright/package.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ lib, buildNpmPackage, fetchFromGitHub, runCommand, jq }:

let
version = "1.1.359";
version = "1.1.360";

src = fetchFromGitHub {
owner = "Microsoft";
repo = "pyright";
rev = "${version}";
hash = "sha256-gqMAfmYjYO6D9sRu+uJv4yJ/+csioFAwsUPBDF29VDs=";
hash = "sha256-aVzQM9yfiIC5y7mgpym7ha2a4UKpOwYs+dUmIG0tlcQ=";
};

patchedPackageJSON = runCommand "package.json" { } ''
Expand Down Expand Up @@ -37,7 +37,7 @@ let
pname = "pyright-internal";
inherit version src;
sourceRoot = "${src.name}/packages/pyright-internal";
npmDepsHash = "sha256-p2KamNFJ3sJHmJm0MEPhI8L/8zAVzfc9NYy24rAdFcQ=";
npmDepsHash = "sha256-lUAPeIw9sj3JyX8G8lMsJk3wf3AOlPRModN4u1iTpcQ=";
dontNpmBuild = true;
installPhase = ''
runHook preInstall
Expand All @@ -51,7 +51,7 @@ buildNpmPackage rec {
inherit version src;

sourceRoot = "${src.name}/packages/pyright";
npmDepsHash = "sha256-U7WdMIYg9U4fJ8YtDruMzloRS2BQAa2QWExle9uwPbU=";
npmDepsHash = "sha256-CcjVFvEqi0f6ltY9O4c7pBFAuxuKgX9WMKZ9TCBYLyk=";

postPatch = ''
chmod +w ../../
Expand Down

0 comments on commit 23f72da

Please sign in to comment.