inshellisense: 0.0.1-rc.21 -> 0.0.1

Diff: https://github.com/microsoft/inshellisense/compare/0.0.1-rc.21...0.0.1
This commit is contained in:
Malo Bourgon
2026-03-23 13:38:45 -07:00
parent e42a843480
commit d7248c074d
+3 -15
View File
@@ -1,38 +1,26 @@
{
lib,
stdenv,
buildNpmPackage,
fetchFromGitHub,
nodejs_22,
cacert,
}:
buildNpmPackage rec {
pname = "inshellisense";
version = "0.0.1-rc.21";
version = "0.0.1";
src = fetchFromGitHub {
owner = "microsoft";
repo = "inshellisense";
tag = version;
hash = "sha256-zERwrvioPwGm/351kYuK9S3uOrrzs/6OFPRdNSSr7Tc=";
hash = "sha256-X+M4uqWdk5gQvjhqc3tVDOgeI12FpBvsfx8+pO7CHcA=";
};
# Building against nodejs-24 is not yet supported by upstream.
# https://github.com/microsoft/inshellisense/issues/369
nodejs = nodejs_22;
npmDepsHash = "sha256-iD5SvkVbrHh0Hx44y6VtNerwBA8K7vSe/yfvhgndMEw=";
# Needed for dependency `@homebridge/node-pty-prebuilt-multiarch`
# On Darwin systems the build fails with,
#
# npm ERR! ../src/unix/pty.cc:413:13: error: use of undeclared identifier 'openpty'
# npm ERR! int ret = openpty(&master, &slave, nullptr, NULL, static_cast<winsi ze*>(&winp));
#
# when `node-gyp` tries to build the dep. The below allows `npm` to download the prebuilt binary.
makeCacheWritable = stdenv.hostPlatform.isDarwin;
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin cacert;
npmDepsHash = "sha256-670oGCuZhDLKe48hFL+gLMjmHM5YLGEawonG8PZTXpU=";
meta = {
description = "IDE style command line auto complete";