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
34 lines
895 B
Nix
34 lines
895 B
Nix
{
|
|
graphviz,
|
|
jre,
|
|
lib,
|
|
makeWrapper,
|
|
vscode-utils,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension rec {
|
|
mktplcRef = {
|
|
name = "context-mapper-vscode-extension";
|
|
publisher = "contextmapper";
|
|
version = "6.12.0";
|
|
hash = "sha256-iGaVipNvx6J3NgZ2KbBJOSVCwG+lr25u7mfMCY4yB18=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ graphviz ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/share/vscode/extensions/contextmapper.context-mapper-vscode-extension/lsp/bin/context-mapper-lsp \
|
|
--set JAVA_HOME "${jre}"
|
|
'';
|
|
|
|
meta = {
|
|
description = "VSCode extension for Context Mapper";
|
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=${mktplcRef.publisher}.${mktplcRef.name}";
|
|
homepage = "https://github.com/ContextMapper/vscode-extension";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.rhoriguchi ];
|
|
};
|
|
}
|