nixpkgs-suyu/pkgs/misc/vscode-extensions/default.nix

25 lines
779 B
Nix
Raw Normal View History

2017-08-12 06:27:17 +02:00
{ stdenv, lib, fetchurl, vscode-utils }:
let
inherit (vscode-utils) buildVscodeExtension buildVscodeMarketplaceExtension;
in
#
# Unless there is a good reason not to, we attemp to use the same name as the
# extension's unique identifier (the name the extension gets when installed
# from vscode under `~/.vscode`) and found on the marketplace extension page.
# So an extension's attribute name should be of the form:
# "${mktplcRef.publisher}.${mktplcRef.name}".
#
2017-08-12 06:27:17 +02:00
rec {
bbenoist.Nix = buildVscodeMarketplaceExtension {
2017-08-12 06:27:17 +02:00
mktplcRef = {
name = "Nix";
2017-08-12 06:27:17 +02:00
publisher = "bbenoist";
version = "1.0.1";
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
2017-08-12 06:27:17 +02:00
};
}