···11-ext:
11+{ publisher, name, version, sha256 ? "" }:
22{
33- url = "https://${ext.publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${ext.publisher}/extension/${ext.name}/${ext.version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
44- sha256 = ext.sha256;
33+ url = "https://${publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${publisher}/extension/${name}/${version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
44+ sha256 = sha256;
55 # The `*.vsix` file is in the end a simple zip file. Change the extension
66 # so that existing `unzip` hooks takes care of the unpacking.
77- name = "${ext.publisher}-${ext.name}.zip";
77+ name = "${publisher}-${name}.zip";
88}