Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
970 B
Nix
39 lines
970 B
Nix
{
|
|
lib,
|
|
vscode-utils,
|
|
jq,
|
|
moreutils,
|
|
wgsl-analyzer,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension {
|
|
mktplcRef = {
|
|
name = "wgsl-analyzer";
|
|
publisher = "wgsl-analyzer";
|
|
version = "0.11.39";
|
|
hash = "sha256-r2epJdgXn+2oUcgix+eDXeezslr5akxfCkj4uGDadqI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
jq
|
|
moreutils
|
|
];
|
|
|
|
postPatch = ''
|
|
jq '(.contributes.configuration[] | select(.title == "server") | .properties."wgsl-analyzer.server.path".default) = $s' \
|
|
--arg s "${lib.getExe wgsl-analyzer}" \
|
|
package.json | sponge package.json
|
|
'';
|
|
|
|
meta = {
|
|
description = "Extension that integrates wgsl-analyzer a wgsl language server into VSCode";
|
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=wgsl-analyzer.wgsl-analyzer";
|
|
homepage = "https://github.com/wgsl-analyzer/wgsl-analyzer";
|
|
license = with lib.licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
maintainers = with lib.maintainers; [ timon ];
|
|
};
|
|
}
|