Merge pull request #301043 from malob/update-inshellisense
inshellisense: 0.0.1-rc.4 -> 0.0.1-rc.12
This commit is contained in:
commit
5d401f9ed6
@ -1,17 +1,27 @@
|
|||||||
{ lib, buildNpmPackage, fetchFromGitHub }:
|
{ lib, stdenv, buildNpmPackage, fetchFromGitHub, cacert }:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "inshellisense";
|
pname = "inshellisense";
|
||||||
version = "0.0.1-rc.4";
|
version = "0.0.1-rc.12";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "microsoft";
|
owner = "microsoft";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-PYSonVyclGSH3ArbqJuKrBNGbJaQEp6XemwnHboVwPk=";
|
hash = "sha256-dDjIKVV1dSCIa2Y2d1AQQAw9Rcflh0AnKlwsQSblIhs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-sjr4Hy1/zWPAlVGsMkyQIQcBT86KLaN2/UAaAd7Mn6Q=";
|
npmDepsHash = "sha256-uBsPaUvEiR5oCl8rZvpyNPXSB/Vlcx937lT4WqgekHI=";
|
||||||
|
|
||||||
|
# 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.isDarwin;
|
||||||
|
nativeBuildInputs = lib.optional stdenv.isDarwin cacert;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "IDE style command line auto complete";
|
description = "IDE style command line auto complete";
|
||||||
|
Loading…
Reference in New Issue
Block a user