vscode-extensions.betterthantomorrow.calva: 2.0.502 -> 2.0.508 (#404650)

This commit is contained in:
Pol Dellaiera
2025-05-06 23:03:54 +02:00
committed by GitHub
@@ -1,27 +1,36 @@
{
lib,
clojure-lsp,
jq,
lib,
moreutils,
vscode-utils,
vscode-extension-update-script,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "calva";
publisher = "betterthantomorrow";
version = "2.0.502";
hash = "sha256-TEU1+8IUz0GqWoB2DSE+TzyHFLL0nMSMiZyzWD6IoEA=";
version = "2.0.508";
hash = "sha256-9iR42yQAW9wXcTkKeF7TuWFjm/D85V3+CbaZ8LxEu8k=";
};
nativeBuildInputs = [
jq
moreutils
];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json
'';
meta = {
license = lib.licenses.mit;
passthru.updateScript = vscode-extension-update-script {
extraArgs = [
"--override-filename"
"pkgs/applications/editors/vscode/extensions/betterthantomorrow.calva/default.nix"
];
};
meta.license = lib.licenses.mit;
}