···1-ext:
2{
3- url = "https://${ext.publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${ext.publisher}/extension/${ext.name}/${ext.version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
4- sha256 = ext.sha256;
5 # The `*.vsix` file is in the end a simple zip file. Change the extension
6 # so that existing `unzip` hooks takes care of the unpacking.
7- name = "${ext.publisher}-${ext.name}.zip";
8}
···1+{ publisher, name, version, sha256 ? "" }:
2{
3+ url = "https://${publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${publisher}/extension/${name}/${version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
4+ sha256 = sha256;
5 # The `*.vsix` file is in the end a simple zip file. Change the extension
6 # so that existing `unzip` hooks takes care of the unpacking.
7+ name = "${publisher}-${name}.zip";
8}