Merge pull request #139593 from deviant/vscode-proto3

vsce/zxh404.vscode-proto3: init at 0.5.4
This commit is contained in:
figsoda 2021-09-27 08:42:14 -04:00 committed by GitHub
commit d8f538ea04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@
, jdk
, llvmPackages_8
, nixpkgs-fmt
, protobuf
, jq
, shellcheck
, moreutils
@ -1679,6 +1680,23 @@ let
license = lib.licenses.mit;
};
};
zxh404.vscode-proto3 = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-proto3";
publisher = "zxh404";
version = "0.5.4";
sha256 = "08dfl5h1k6s542qw5qx2czm1wb37ck9w2vpjz44kp2az352nmksb";
};
nativeBuildInputs = [ jq moreutils ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties.protoc.properties.path.default = "${protobuf}/bin/protoc"' package.json | sponge package.json
'';
meta = {
license = lib.licenses.mit;
};
};
};
aliases = self: super: {