basedpyright: 1.23.1 -> 1.26.0

Signed-off-by: misilelab <misileminecord@gmail.com>
This commit is contained in:
misilelab
2025-02-08 22:16:17 +09:00
parent fa35a3c8e1
commit d9fb579a17
+5 -3
View File
@@ -16,16 +16,16 @@
buildNpmPackage rec {
pname = "basedpyright";
version = "1.23.1";
version = "1.26.0";
src = fetchFromGitHub {
owner = "detachhead";
repo = "basedpyright";
tag = "v${version}";
hash = "sha256-w3QcvAHwEM1kdRY/780yr2kQQ2tCEvNeLHBm9bgAjMI=";
hash = "sha256-USGndOqosE6+gkCow7UeqEd37R4gYo5om1QEV7iz77g=";
};
npmDepsHash = "sha256-cEpBeEjOdArnLekS5uUk9OrsACZrvY63i8pYYvDSnbI=";
npmDepsHash = "sha256-lpAsDMa3yRtbORmycDh3nGpozmzHej4WORvEml/+buE=";
npmWorkspace = "packages/pyright";
preBuild = ''
@@ -44,6 +44,8 @@ buildNpmPackage rec {
postInstall = ''
mv "$out/bin/pyright" "$out/bin/basedpyright"
mv "$out/bin/pyright-langserver" "$out/bin/basedpyright-langserver"
# Remove dangling symlinks created during installation (remove -delete to just see the files, or -print '%l\n' to see the target
find -L $out -type l -print -delete
'';
nativeInstallCheckInputs = [ versionCheckHook ];