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

458 lines
14 KiB
Nix
Raw Normal View History

2020-12-01 18:13:42 +00:00
{ stdenv, config, lib, callPackage, vscode-utils, nodePackages,llvmPackages_8, llvmPackages_latest }:
2017-08-12 05:27:17 +01:00
let
inherit (vscode-utils) buildVscodeMarketplaceExtension;
2020-06-16 16:06:51 +01:00
#
# Unless there is a good reason not to, we attempt 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}".
#
2020-11-24 19:03:58 +00:00
baseExtensions = self: stdenv.lib.mapAttrs (_n: stdenv.lib.recurseIntoAttrs)
2020-06-16 16:06:51 +01:00
{
2020-12-08 23:51:38 +00:00
a5huynh.vscode-ron = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-ron";
publisher = "a5huynh";
version = "0.9.0";
sha256 = "0d3p50mhqp550fmj662d3xklj14gvzvhszm2hlqvx4h28v222z97";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
alanz.vscode-hie-server = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-hie-server";
publisher = "alanz";
version = "0.0.27"; # see the note above
sha256 = "1mz0h5zd295i73hbji9ivla8hx02i4yhqcv6l4r23w3f07ql3i8h";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-12-01 18:13:42 +00:00
ms-python.vscode-pylance = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-pylance";
publisher = "MS-python";
version = "2020.11.2";
sha256 = "0n2dm21vgzir3hx1m3pmx7jq4zy3hdxfsandd2wv5da4fs9b5g50";
};
buildInputs = [ nodePackages.pyright ];
meta = {
license = stdenv.lib.licenses.unfree;
};
};
2020-06-16 16:06:51 +01:00
bbenoist.Nix = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "Nix";
publisher = "bbenoist";
version = "1.0.1";
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
brettm12345.nixfmt-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "nixfmt-vscode";
publisher = "brettm12345";
version = "0.0.1";
sha256 = "07w35c69vk1l6vipnq3qfack36qcszqxn8j3v332bl0w6m02aa7k";
};
meta = with stdenv.lib; {
license = licenses.mpl20;
};
};
2020-06-16 16:06:51 +01:00
cmschuetz12.wal = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "wal";
publisher = "cmschuetz12";
version = "0.1.0";
sha256 = "0q089jnzqzhjfnv0vlb5kf747s3mgz64r7q3zscl66zb2pz5q4zd";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
coenraads.bracket-pair-colorizer-2 = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "bracket-pair-colorizer-2";
publisher = "CoenraadS";
version = "0.2.0";
sha256 = "0nppgfbmw0d089rka9cqs3sbd5260dhhiipmjfga3nar9vp87slh";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
dhall.dhall-lang = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "dhall-lang";
publisher = "dhall";
version = "0.0.4";
sha256 = "0sa04srhqmngmw71slnrapi2xay0arj42j4gkan8i11n7bfi1xpf";
};
meta = { license = stdenv.lib.licenses.mit; };
};
dhall.vscode-dhall-lsp-server = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-dhall-lsp-server";
publisher = "dhall";
version = "0.0.4";
sha256 = "1zin7s827bpf9yvzpxpr5n6mv0b5rhh3civsqzmj52mdq365d2js";
};
meta = { license = stdenv.lib.licenses.mit; };
};
formulahendry.auto-close-tag = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "auto-close-tag";
publisher = "formulahendry";
version = "0.5.6";
sha256 = "058jgmllqb0j6gg5anghdp35nkykii28igfcwqgh4bp10pyvspg0";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
formulahendry.auto-rename-tag = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "auto-rename-tag";
publisher = "formulahendry";
version = "0.1.6";
sha256 = "0cqg9mxkyf41brjq2c764w42lzyn6ffphw6ciw7xnqk1h1x8wwbs";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
golang.Go = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "Go";
publisher = "golang";
version = "0.18.1";
sha256 = "sha256-b2Wa3TULQQnBm1/xnDCB9SZjE+Wxz5wBttjDEtf8qlE=";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
haskell.haskell = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "haskell";
publisher = "haskell";
version = "1.1.0";
sha256 = "1wg06lyk0qn9jd6gi007sg7v0z9z8gwq7x2449d4ihs9n3w5l0gb";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
ibm.output-colorizer = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "output-colorizer";
publisher = "IBM";
version = "0.1.2";
sha256 = "0i9kpnlk3naycc7k8gmcxas3s06d67wxr3nnyv5hxmsnsx5sfvb7";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
james-yu.latex-workshop = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "latex-workshop";
publisher = "James-Yu";
version = "8.2.0";
sha256 = "1ai16aam4v5jzhxgms589q0l24kyk1a9in6z4i7g05b3sahyxab2";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
2021-01-07 20:21:42 +00:00
jnoortheen.nix-ide = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "nix-ide";
publisher = "jnoortheen";
version = "0.1.7";
sha256 = "1bw4wyq9abimxbhl7q9g8grvj2ax9qqq6mmqbiqlbsi2arvk0wrm";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
justusadam.language-haskell = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "language-haskell";
publisher = "justusadam";
version = "3.2.1";
sha256 = "0lxp8xz17ciy93nj4lzxqvz71vw1zdyamrnh2n792yair8890rr6";
};
meta = {
license = stdenv.lib.licenses.bsd3;
};
};
2020-12-08 23:42:29 +00:00
mskelton.one-dark-theme = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "one-dark-theme";
publisher = "mskelton";
version = "1.7.2";
sha256 = "1ks6z8wsxmlfhiwa51f7d6digvw11dlxc7mja3hankgxcf5dyj31";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
mechatroner.rainbow-csv = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "rainbow-csv";
publisher = "mechatroner";
version = "1.7.1";
sha256 = "0w5mijs4ll5qjkpyw7qpn1k40pq8spm0b3q72x150ydbcini5hxw";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
ms-azuretools.vscode-docker = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-docker";
publisher = "ms-azuretools";
version = "0.8.1";
sha256 = "0n59whmcrx8946xix6skvc50f2vsc85ckvn8cs06w9mqmymm1q0s";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ms-kubernetes-tools.vscode-kubernetes-tools = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-kubernetes-tools";
publisher = "ms-kubernetes-tools";
version = "1.0.6";
sha256 = "12a4phl1pddsajy3n0ld6rp607iy0pif6pqrs6ljbg2x97fyra28";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ms-vscode.cpptools = callPackage ./cpptools {};
ms-vscode-remote.remote-ssh = callPackage ./remote-ssh {};
ms-python.python = callPackage ./python {
extractNuGet = callPackage ./python/extract-nuget.nix { };
};
2020-12-09 03:34:09 +00:00
naumovs.color-highlight = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "color-highlight";
publisher = "naumovs";
version = "2.3.0";
sha256 = "1syzf43ws343z911fnhrlbzbx70gdn930q67yqkf6g0mj8lf2za2";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
redhat.vscode-yaml = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-yaml";
publisher = "redhat";
version = "0.13.0";
sha256 = "046kdk73a5xbrwq16ff0l64271c6q6ygjvxaph58z29gyiszfkig";
2020-06-16 16:06:51 +01:00
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
matklad.rust-analyzer = callPackage ./rust-analyzer {};
2020-12-08 22:23:40 +00:00
pkief.material-icon-theme = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "material-icon-theme";
publisher = "pkief";
version = "4.4.0";
sha256 = "1m9mis59j9xnf1zvh67p5rhayaa9qxjiw9iw847nyl9vsy73w8ya";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
ryu1kn.partial-diff = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "partial-diff";
publisher = "ryu1kn";
version = "1.4.1";
sha256 = "1r4kg4slgxncdppr4fn7i5vfhvzcg26ljia2r97n6wvwn8534vs9";
};
meta = {
2020-12-08 22:23:40 +00:00
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
scala-lang.scala = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "scala";
publisher = "scala-lang";
version = "0.4.5";
sha256 = "0nrj32a7a86vwc9gfh748xs3mmfwbc304dp7nks61f0lx8b4wzxw";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
scalameta.metals = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "metals";
publisher = "scalameta";
version = "1.9.7";
sha256 = "0v599yssvk358gxfxnyzzkyk0y5krsbp8n4rkp9wb2ncxqsqladr";
2020-06-16 16:06:51 +01:00
};
meta = {
license = stdenv.lib.licenses.asl20;
};
};
serayuzgur.crates = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "crates";
publisher = "serayuzgur";
version = "0.5.3";
sha256 = "1xk7ayv590hsm3scqpyh6962kvgdlinnpkx0vapr7vs4y08dx72f";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
skyapps.fish-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "fish-vscode";
publisher = "skyapps";
version = "0.2.1";
sha256 = "0y1ivymn81ranmir25zk83kdjpjwcqpnc9r3jwfykjd9x0jib2hl";
};
meta = with stdenv.lib; {
license = licenses.mit;
};
};
2020-12-08 23:00:59 +00:00
tamasfe.even-better-toml = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "even-better-toml";
publisher = "tamasfe";
version = "0.9.3";
sha256 = "16x2y58hkankazpwm93j8lqdn3mala7iayck548kki9zx4qrhhck";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
tyriar.sort-lines = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "sort-lines";
publisher = "Tyriar";
version = "1.9.0";
sha256 = "0l4wibsjnlbzbrl1wcj18vnm1q4ygvxmh347jvzziv8f1l790qjl";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
vadimcn.vscode-lldb = callPackage ./vscode-lldb {
lldb = llvmPackages_latest.lldb;
};
vincaslt.highlight-matching-tag = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "highlight-matching-tag";
publisher = "vincaslt";
version = "0.10.0";
sha256 = "1albwz3lc9i20if77inm1ipwws8apigvx24rbag3d1h3p4vwda49";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
2020-06-16 16:06:51 +01:00
ms-vsliveshare.vsliveshare = callPackage ./ms-vsliveshare-vsliveshare {};
vscodevim.vim = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vim";
publisher = "vscodevim";
version = "1.11.3";
sha256 = "1smzsgcrkhghbnpy51gp28kh74l7y4s2m8pfxabb4ffb751254j0";
};
meta = {
license = stdenv.lib.licenses.mit;
};
};
xaver.clang-format = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "clang-format";
publisher = "xaver";
version = "1.9.0";
sha256 = "abd0ef9176eff864f278c548c944032b8f4d8ec97d9ac6e7383d60c92e258c2f";
};
meta = with stdenv.lib; {
license = licenses.mit;
maintainers = [ maintainers.zeratax ];
};
};
llvm-org.lldb-vscode = llvmPackages_8.lldb;
WakaTime.vscode-wakatime = callPackage ./wakatime {};
2020-11-24 19:03:58 +00:00
};
aliases = self: super: {
2020-06-16 16:06:51 +01:00
# aliases
2020-11-24 19:03:58 +00:00
ms-vscode = lib.recursiveUpdate super.ms-vscode { inherit (super.golang) Go; };
};
# TODO: add overrides overlay, so that we can have a generated.nix
# then apply extension specific modifcations to packages.
# overlays will be applied left to right, overrides should come after aliases.
overlays = lib.optionals (config.allowAliases or true) [ aliases ];
toFix = lib.foldl' (lib.flip lib.extends) baseExtensions overlays;
2017-08-12 05:27:17 +01:00
in
2020-11-24 19:03:58 +00:00
lib.fix toFix