bulk versions.json

This commit is contained in:
mjallen18
2026-01-21 12:53:13 -06:00
parent 7cc4e8c99e
commit 2b9908e760
52 changed files with 1033 additions and 335 deletions

View File

@@ -6,19 +6,21 @@
}:
let
version = "0.0.49";
publisher = "jeanp413";
name = "open-remote-ssh";
inherit (lib.trivial) importJSON;
versionSpec = importJSON ./version.json;
versioning = import ../../../lib/versioning.nix { inherit lib pkgs; };
selected = versioning.selectVariant versionSpec null null;
vars = selected.variables or {};
sources = versioning.mkAllSources selected;
in
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
inherit name publisher version;
name = vars.name;
publisher = vars.publisher;
version = vars.version;
};
vsix = fetchurl {
url = "https://open-vsx.org/api/${publisher}/${name}/${version}/file/${publisher}.${name}-${version}.vsix";
sha256 = "sha256-QfJnAAx+kO2iJ1EzWoO5HLogJKg3RiC3hg1/u2Jm6t4=";
};
vsix = sources.vsix;
unpackPhase = ''
${lib.getExe pkgs.unzip} -q $src

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.0.49",
"publisher": "jeanp413",
"name": "open-remote-ssh"
},
"sources": {
"vsix": {
"fetcher": "url",
"urlTemplate": "https://open-vsx.org/api/${publisher}/${name}/${version}/file/${publisher}.${name}-${version}.vsix",
"hash": "sha256-QfJnAAx+kO2iJ1EzWoO5HLogJKg3RiC3hg1/u2Jm6t4="
}
}
}