Merge pull request #301043 from malob/update-inshellisense

inshellisense: 0.0.1-rc.4 -> 0.0.1-rc.12

authored by Nick Cao and committed by GitHub 5d401f9e b337ae1f

+14 -4
+14 -4
pkgs/by-name/in/inshellisense/package.nix
··· 1 - { lib, buildNpmPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildNpmPackage, fetchFromGitHub, cacert }: 2 2 3 3 buildNpmPackage rec { 4 4 pname = "inshellisense"; 5 - version = "0.0.1-rc.4"; 5 + version = "0.0.1-rc.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "microsoft"; 9 9 repo = pname; 10 10 rev = "refs/tags/${version}"; 11 - hash = "sha256-PYSonVyclGSH3ArbqJuKrBNGbJaQEp6XemwnHboVwPk="; 11 + hash = "sha256-dDjIKVV1dSCIa2Y2d1AQQAw9Rcflh0AnKlwsQSblIhs="; 12 12 }; 13 13 14 - npmDepsHash = "sha256-sjr4Hy1/zWPAlVGsMkyQIQcBT86KLaN2/UAaAd7Mn6Q="; 14 + npmDepsHash = "sha256-uBsPaUvEiR5oCl8rZvpyNPXSB/Vlcx937lT4WqgekHI="; 15 + 16 + # Needed for dependency `@homebridge/node-pty-prebuilt-multiarch` 17 + # On Darwin systems the build fails with, 18 + # 19 + # npm ERR! ../src/unix/pty.cc:413:13: error: use of undeclared identifier 'openpty' 20 + # npm ERR! int ret = openpty(&master, &slave, nullptr, NULL, static_cast<winsi ze*>(&winp)); 21 + # 22 + # when `node-gyp` tries to build the dep. The below allows `npm` to download the prebuilt binary. 23 + makeCacheWritable = stdenv.isDarwin; 24 + nativeBuildInputs = lib.optional stdenv.isDarwin cacert; 15 25 16 26 meta = with lib; { 17 27 description = "IDE style command line auto complete";