1{ stdenv, lib, fetchurl, vscode-utils }:
2
3let
4 inherit (vscode-utils) buildVscodeExtension buildVscodeMarketplaceExtension;
5in
6#
7# Unless there is a good reason not to, we attemp to use the same name as the
8# extension's unique identifier (the name the extension gets when installed
9# from vscode under `~/.vscode`) and found on the marketplace extension page.
10# So an extension's attribute name should be of the form:
11# "${mktplcRef.publisher}.${mktplcRef.name}".
12#
13rec {
14 bbenoist.Nix = buildVscodeMarketplaceExtension {
15 mktplcRef = {
16 name = "Nix";
17 publisher = "bbenoist";
18 version = "1.0.1";
19 sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
20 };
21 meta = with stdenv.lib; {
22 license = licenses.mit;
23 };
24 };
25}