summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/vscode-extensions
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/vscode-extensions')
-rw-r--r--pkgs/misc/vscode-extensions/cpptools/default.nix4
-rw-r--r--pkgs/misc/vscode-extensions/default.nix307
-rw-r--r--pkgs/misc/vscode-extensions/remote-ssh/default.nix6
-rw-r--r--pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json30
-rwxr-xr-xpkgs/misc/vscode-extensions/update_installed_exts.sh8
-rw-r--r--pkgs/misc/vscode-extensions/wakatime/default.nix4
6 files changed, 307 insertions, 52 deletions
diff --git a/pkgs/misc/vscode-extensions/cpptools/default.nix b/pkgs/misc/vscode-extensions/cpptools/default.nix
index f6c765383ea3..bb547b3d34d0 100644
--- a/pkgs/misc/vscode-extensions/cpptools/default.nix
+++ b/pkgs/misc/vscode-extensions/cpptools/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, vscode-utils
+{ lib, stdenv, vscode-utils
, fetchurl, unzip
, mono, writeScript, runtimeShell
, jq, clang-tools
@@ -92,7 +92,7 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
chmod a+x ./bin/cpptools{-srv,}
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.unfree;
maintainers = [ maintainers.jraygauthier ];
# A 32 bit linux would also be possible with some effort (specific download of binaries +
diff --git a/pkgs/misc/vscode-extensions/default.nix b/pkgs/misc/vscode-extensions/default.nix
index 23df8d30a7c4..0b5612483b1f 100644
--- a/pkgs/misc/vscode-extensions/default.nix
+++ b/pkgs/misc/vscode-extensions/default.nix
@@ -10,7 +10,7 @@ let
# So an extension's attribute name should be of the form:
# "${mktplcRef.publisher}.${mktplcRef.name}".
#
- baseExtensions = self: stdenv.lib.mapAttrs (_n: stdenv.lib.recurseIntoAttrs)
+ baseExtensions = self: lib.mapAttrs (_n: lib.recurseIntoAttrs)
{
a5huynh.vscode-ron = buildVscodeMarketplaceExtension {
mktplcRef = {
@@ -20,7 +20,7 @@ let
sha256 = "0d3p50mhqp550fmj662d3xklj14gvzvhszm2hlqvx4h28v222z97";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -32,7 +32,19 @@ let
sha256 = "1mz0h5zd295i73hbji9ivla8hx02i4yhqcv6l4r23w3f07ql3i8h";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
+ };
+ };
+
+ alexdima.copy-relative-path = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "copy-relative-path";
+ publisher = "alexdima";
+ version = "0.0.2";
+ sha256 = "06g601n9d6wyyiz659w60phgm011gn9jj5fy0gf5wpi2bljk3vcn";
+ };
+ meta = {
+ license = lib.licenses.mit;
};
};
@@ -47,7 +59,7 @@ let
buildInputs = [ nodePackages.pyright ];
meta = {
- license = stdenv.lib.licenses.unfree;
+ license = lib.licenses.unfree;
};
};
@@ -58,11 +70,23 @@ let
version = "1.0.1";
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.mit;
};
};
+ brettm12345.nixfmt-vscode = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "nixfmt-vscode";
+ publisher = "brettm12345";
+ version = "0.0.1";
+ sha256 = "07w35c69vk1l6vipnq3qfack36qcszqxn8j3v332bl0w6m02aa7k";
+ };
+ meta = with lib; {
+ license = licenses.mpl20;
+ };
+ };
+
cmschuetz12.wal = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "wal";
@@ -70,7 +94,36 @@ let
version = "0.1.0";
sha256 = "0q089jnzqzhjfnv0vlb5kf747s3mgz64r7q3zscl66zb2pz5q4zd";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
+ license = licenses.mit;
+ };
+ };
+
+ CoenraadS.bracket-pair-colorizer = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/CoenraadS.bracket-pair-colorizer/changelog";
+ description = "A customizable extension for colorizing matching brackets";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer";
+ homepage = "https://github.com/CoenraadS/BracketPair";
+ license = licenses.mit;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "bracket-pair-colorizer";
+ publisher = "CoenraadS";
+ version = "1.0.61";
+ sha256 = "0r3bfp8kvhf9zpbiil7acx7zain26grk133f0r0syxqgml12i652";
+ };
+ };
+
+ coenraads.bracket-pair-colorizer-2 = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "bracket-pair-colorizer-2";
+ publisher = "CoenraadS";
+ version = "0.2.0";
+ sha256 = "0nppgfbmw0d089rka9cqs3sbd5260dhhiipmjfga3nar9vp87slh";
+ };
+ meta = with lib; {
license = licenses.mit;
};
};
@@ -82,7 +135,7 @@ let
version = "0.0.4";
sha256 = "0sa04srhqmngmw71slnrapi2xay0arj42j4gkan8i11n7bfi1xpf";
};
- meta = { license = stdenv.lib.licenses.mit; };
+ meta = { license = lib.licenses.mit; };
};
dhall.vscode-dhall-lsp-server = buildVscodeMarketplaceExtension {
@@ -92,7 +145,58 @@ let
version = "0.0.4";
sha256 = "1zin7s827bpf9yvzpxpr5n6mv0b5rhh3civsqzmj52mdq365d2js";
};
- meta = { license = stdenv.lib.licenses.mit; };
+ meta = { license = lib.licenses.mit; };
+ };
+
+ donjayamanne.githistory = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/donjayamanne.githistory/changelog";
+ description = "View git log, file history, compare branches or commits";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory";
+ homepage = "https://github.com/DonJayamanne/gitHistoryVSCode/";
+ license = licenses.mit;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "githistory";
+ publisher = "donjayamanne";
+ version = "0.6.14";
+ sha256 = "11x116hzqnhgbryp2kqpki1z5mlnwxb0ly9r1513m5vgbisrsn0i";
+ };
+ };
+
+ esbenp.prettier-vscode = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/esbenp.prettier-vscode/changelog";
+ description = "Code formatter using prettier";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode";
+ homepage = "https://github.com/prettier/prettier-vscode";
+ license = licenses.mit;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "prettier-vscode";
+ publisher = "esbenp";
+ version = "5.8.0";
+ sha256 = "0h7wc4pffyq1i8vpj4a5az02g2x04y7y1chilmcfmzg2w42xpby7";
+ };
+ };
+
+ file-icons.file-icons = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/file-icons.file-icons/changelog";
+ description = "File-specific icons in VSCode for improved visual grepping.";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=file-icons.file-icons";
+ homepage = "https://github.com/file-icons/vscode";
+ license = licenses.mit;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "file-icons";
+ publisher = "file-icons";
+ version = "1.0.28";
+ sha256 = "1lyx0l42xhi2f3rdnjddc3mw7m913kjnchawi98i6vqsx3dv7091";
+ };
};
formulahendry.auto-close-tag = buildVscodeMarketplaceExtension {
@@ -103,7 +207,52 @@ let
sha256 = "058jgmllqb0j6gg5anghdp35nkykii28igfcwqgh4bp10pyvspg0";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
+ };
+ };
+
+ formulahendry.auto-rename-tag = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "auto-rename-tag";
+ publisher = "formulahendry";
+ version = "0.1.6";
+ sha256 = "0cqg9mxkyf41brjq2c764w42lzyn6ffphw6ciw7xnqk1h1x8wwbs";
+ };
+ meta = {
+ license = lib.licenses.mit;
+ };
+ };
+
+ freebroccolo.reasonml = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/freebroccolo.reasonml/changelog";
+ description = "Reason support for Visual Studio Code";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=freebroccolo.reasonml";
+ homepage = "https://github.com/reasonml-editor/vscode-reasonml";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "reasonml";
+ publisher = "freebroccolo";
+ version = "1.0.38";
+ sha256 = "1nay6qs9vcxd85ra4bv93gg3aqg3r2wmcnqmcsy9n8pg1ds1vngd";
+ };
+ };
+
+ github.github-vscode-theme = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "github-vscode-theme";
+ publisher = "github";
+ version = "1.1.5";
+ sha256 = "10f0098cce026d1f0c855fb7a66ea60b5d8acd2b76126ea94fe7361e49cd9ed2";
+ };
+ meta = with lib; {
+ description = "GitHub theme for VS Code";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme";
+ homepage = "https://github.com/primer/github-vscode-theme";
+ license = licenses.mit;
+ maintainers = with maintainers; [ hugolgst ];
};
};
@@ -115,7 +264,7 @@ let
sha256 = "sha256-b2Wa3TULQQnBm1/xnDCB9SZjE+Wxz5wBttjDEtf8qlE=";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -126,7 +275,19 @@ let
version = "1.1.0";
sha256 = "1wg06lyk0qn9jd6gi007sg7v0z9z8gwq7x2449d4ihs9n3w5l0gb";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
+ license = licenses.mit;
+ };
+ };
+
+ ibm.output-colorizer = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "output-colorizer";
+ publisher = "IBM";
+ version = "0.1.2";
+ sha256 = "0i9kpnlk3naycc7k8gmcxas3s06d67wxr3nnyv5hxmsnsx5sfvb7";
+ };
+ meta = with lib; {
license = licenses.mit;
};
};
@@ -138,11 +299,28 @@ let
version = "8.2.0";
sha256 = "1ai16aam4v5jzhxgms589q0l24kyk1a9in6z4i7g05b3sahyxab2";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.mit;
};
};
+ jnoortheen.nix-ide = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/jnoortheen.nix-ide/changelog";
+ description = "Nix language support with formatting and error report";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=jnoortheen.nix-ide";
+ homepage = "https://github.com/jnoortheen/vscode-nix-ide";
+ license = licenses.mit;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "nix-ide";
+ publisher = "jnoortheen";
+ version = "0.1.7";
+ sha256 = "1bw4wyq9abimxbhl7q9g8grvj2ax9qqq6mmqbiqlbsi2arvk0wrm";
+ };
+ };
+
justusadam.language-haskell = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "language-haskell";
@@ -151,7 +329,7 @@ let
sha256 = "0lxp8xz17ciy93nj4lzxqvz71vw1zdyamrnh2n792yair8890rr6";
};
meta = {
- license = stdenv.lib.licenses.bsd3;
+ license = lib.licenses.bsd3;
};
};
@@ -163,7 +341,19 @@ let
sha256 = "1ks6z8wsxmlfhiwa51f7d6digvw11dlxc7mja3hankgxcf5dyj31";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
+ };
+ };
+
+ mechatroner.rainbow-csv = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "rainbow-csv";
+ publisher = "mechatroner";
+ version = "1.7.1";
+ sha256 = "0w5mijs4ll5qjkpyw7qpn1k40pq8spm0b3q72x150ydbcini5hxw";
+ };
+ meta = {
+ license = lib.licenses.mit;
};
};
@@ -175,7 +365,7 @@ let
sha256 = "0n59whmcrx8946xix6skvc50f2vsc85ckvn8cs06w9mqmymm1q0s";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -187,7 +377,7 @@ let
sha256 = "12a4phl1pddsajy3n0ld6rp607iy0pif6pqrs6ljbg2x97fyra28";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -199,6 +389,18 @@ let
extractNuGet = callPackage ./python/extract-nuget.nix { };
};
+ msjsdiag.debugger-for-chrome = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "debugger-for-chrome";
+ publisher = "msjsdiag";
+ version = "4.12.11";
+ sha256 = "sha256-9i3TgCFThnFF5ccwzS4ATj5c2Xoe/4tDFGv75jJxeQ4=";
+ };
+ meta = {
+ license = lib.licenses.mit;
+ };
+ };
+
naumovs.color-highlight = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "color-highlight";
@@ -207,7 +409,7 @@ let
sha256 = "1syzf43ws343z911fnhrlbzbx70gdn930q67yqkf6g0mj8lf2za2";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -219,12 +421,29 @@ let
sha256 = "046kdk73a5xbrwq16ff0l64271c6q6ygjvxaph58z29gyiszfkig";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
matklad.rust-analyzer = callPackage ./rust-analyzer {};
+ ocamllabs.ocaml-platform = buildVscodeMarketplaceExtension {
+ meta = with lib; {
+ changelog = "https://marketplace.visualstudio.com/items/ocamllabs.ocaml-platform/changelog";
+ description = "Official OCaml Support from OCamlLabs";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform";
+ homepage = "https://github.com/ocamllabs/vscode-ocaml-platform";
+ license = licenses.isc;
+ maintainers = with maintainers; [ superherointj ];
+ };
+ mktplcRef = {
+ name = "ocaml-platform";
+ publisher = "ocamllabs";
+ version = "1.5.1";
+ sha256 = "0jkxpcrbr8xmwfl8jphmarjz2jk54hvmc24ww89d4bgx1awayqfh";
+ };
+ };
+
pkief.material-icon-theme = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "material-icon-theme";
@@ -233,7 +452,19 @@ let
sha256 = "1m9mis59j9xnf1zvh67p5rhayaa9qxjiw9iw847nyl9vsy73w8ya";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
+ };
+ };
+
+ ryu1kn.partial-diff = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "partial-diff";
+ publisher = "ryu1kn";
+ version = "1.4.1";
+ sha256 = "1r4kg4slgxncdppr4fn7i5vfhvzcg26ljia2r97n6wvwn8534vs9";
+ };
+ meta = {
+ license = lib.licenses.mit;
};
};
@@ -245,7 +476,7 @@ let
sha256 = "0nrj32a7a86vwc9gfh748xs3mmfwbc304dp7nks61f0lx8b4wzxw";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -257,7 +488,7 @@ let
sha256 = "1afmqzlw3bl9bv59l9b2jrljhbq8djb7vl8rjv58c5wi7nvm2qab";
};
meta = {
- license = stdenv.lib.licenses.asl20;
+ license = lib.licenses.asl20;
};
};
@@ -269,7 +500,7 @@ let
sha256 = "1xk7ayv590hsm3scqpyh6962kvgdlinnpkx0vapr7vs4y08dx72f";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -280,7 +511,7 @@ let
version = "0.2.1";
sha256 = "0y1ivymn81ranmir25zk83kdjpjwcqpnc9r3jwfykjd9x0jib2hl";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.mit;
};
};
@@ -293,7 +524,19 @@ let
sha256 = "16x2y58hkankazpwm93j8lqdn3mala7iayck548kki9zx4qrhhck";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
+ };
+ };
+
+ tyriar.sort-lines = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "sort-lines";
+ publisher = "Tyriar";
+ version = "1.9.0";
+ sha256 = "0l4wibsjnlbzbrl1wcj18vnm1q4ygvxmh347jvzziv8f1l790qjl";
+ };
+ meta = {
+ license = lib.licenses.mit;
};
};
@@ -301,6 +544,18 @@ let
lldb = llvmPackages_latest.lldb;
};
+ vincaslt.highlight-matching-tag = buildVscodeMarketplaceExtension {
+ mktplcRef = {
+ name = "highlight-matching-tag";
+ publisher = "vincaslt";
+ version = "0.10.0";
+ sha256 = "1albwz3lc9i20if77inm1ipwws8apigvx24rbag3d1h3p4vwda49";
+ };
+ meta = {
+ license = lib.licenses.mit;
+ };
+ };
+
ms-vsliveshare.vsliveshare = callPackage ./ms-vsliveshare-vsliveshare {};
vscodevim.vim = buildVscodeMarketplaceExtension {
@@ -311,7 +566,7 @@ let
sha256 = "1smzsgcrkhghbnpy51gp28kh74l7y4s2m8pfxabb4ffb751254j0";
};
meta = {
- license = stdenv.lib.licenses.mit;
+ license = lib.licenses.mit;
};
};
@@ -322,7 +577,7 @@ let
version = "1.9.0";
sha256 = "abd0ef9176eff864f278c548c944032b8f4d8ec97d9ac6e7383d60c92e258c2f";
};
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.mit;
maintainers = [ maintainers.zeratax ];
};
diff --git a/pkgs/misc/vscode-extensions/remote-ssh/default.nix b/pkgs/misc/vscode-extensions/remote-ssh/default.nix
index e58ea98a606f..82924f369ae7 100644
--- a/pkgs/misc/vscode-extensions/remote-ssh/default.nix
+++ b/pkgs/misc/vscode-extensions/remote-ssh/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
, vscode-utils
, useLocalExtensions ? false}:
# Note that useLocalExtensions requires that vscode-server is not running
@@ -21,7 +21,7 @@ let
ln -s ''$localNodePath ''$f
fi
fi
- ${stdenv.lib.optionalString useLocalExtensions ''
+ ${lib.optionalString useLocalExtensions ''
# Use local extensions
if [ -d ~/.vscode/extensions ]; then
if ! test -L "~/.vscode-server/extensions"; then
@@ -45,7 +45,7 @@ in
--replace "# install extensions" '${patch}'
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description ="Use any remote machine with a SSH server as your development environment.";
license = licenses.unfree;
maintainers = with maintainers; [
diff --git a/pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json b/pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
index ea91b6d6470e..aba4ba44097a 100644
--- a/pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
+++ b/pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
@@ -3,24 +3,24 @@
"version": "0.4.0-dev",
"dependencies": {
"node-fetch": "^2.6.1",
- "vscode-languageclient": "7.0.0-next.12",
- "@rollup/plugin-commonjs": "^13.0.2",
- "@rollup/plugin-node-resolve": "^8.4.0",
+ "vscode-languageclient": "7.0.0",
+ "@rollup/plugin-commonjs": "^17.0.0",
+ "@rollup/plugin-node-resolve": "^11.0.0",
"@types/glob": "^7.1.3",
- "@types/mocha": "^7.0.2",
- "@types/node": "~12.7.0",
+ "@types/mocha": "^8.0.4",
+ "@types/node": "~12.12.6",
"@types/node-fetch": "^2.5.7",
- "@types/vscode": "^1.47.1",
- "@typescript-eslint/eslint-plugin": "^3.10.1",
- "@typescript-eslint/parser": "^3.10.1",
- "eslint": "^7.8.0",
+ "@types/vscode": "^1.52.0",
+ "@typescript-eslint/eslint-plugin": "^4.9.0",
+ "@typescript-eslint/parser": "^4.9.0",
+ "eslint": "^7.15.0",
"glob": "^7.1.6",
- "mocha": "^8.1.3",
- "rollup": "^2.26.9",
- "tslib": "^2.0.1",
- "typescript": "^3.9.7",
+ "mocha": "^8.2.1",
+ "rollup": "^2.34.2",
+ "tslib": "^2.0.3",
+ "typescript": "^4.1.2",
"typescript-formatter": "^7.2.2",
- "vsce": "^1.79.5",
- "vscode-test": "^1.4.0"
+ "vsce": "^1.81.1",
+ "vscode-test": "^1.4.1"
}
}
diff --git a/pkgs/misc/vscode-extensions/update_installed_exts.sh b/pkgs/misc/vscode-extensions/update_installed_exts.sh
index fdbc14fb2642..659ed8da791e 100755
--- a/pkgs/misc/vscode-extensions/update_installed_exts.sh
+++ b/pkgs/misc/vscode-extensions/update_installed_exts.sh
@@ -8,7 +8,7 @@ function fail() {
exit 1
}
-# Helper to clean up after ourself if we're killed by SIGINT
+# Helper to clean up after ourselves if we're killed by SIGINT.
function clean_up() {
TDIR="${TMPDIR:-/tmp}"
echo "Script killed, cleaning up tmpdirs: $TDIR/vscode_exts_*" >&2
@@ -18,7 +18,7 @@ function clean_up() {
function get_vsixpkg() {
N="$1.$2"
- # Create a tempdir for the extension download
+ # Create a tempdir for the extension download.
EXTTMP=$(mktemp -d -t vscode_exts_XXXXXXXX)
URL="https://$1.gallery.vsassets.io/_apis/public/gallery/publisher/$1/extension/$2/latest/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"
@@ -32,7 +32,7 @@ function get_vsixpkg() {
# Clean up.
rm -Rf "$EXTTMP"
- # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate
+ # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate.
cat <<-EOF
{
@@ -44,7 +44,7 @@ function get_vsixpkg() {
EOF
}
-# See if can find our code binary somewhere.
+# See if we can find our `code` binary somewhere.
if [ $# -ne 0 ]; then
CODE=$1
else
diff --git a/pkgs/misc/vscode-extensions/wakatime/default.nix b/pkgs/misc/vscode-extensions/wakatime/default.nix
index b1c7142c5917..336cd059f57a 100644
--- a/pkgs/misc/vscode-extensions/wakatime/default.nix
+++ b/pkgs/misc/vscode-extensions/wakatime/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
, wakatime, vscode-utils }:
let
@@ -17,7 +17,7 @@ in
cp -rt wakatime-master --no-preserve=all ${wakatime}/lib/python*/site-packages/wakatime
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = ''
Visual Studio Code plugin for automatic time tracking and metrics generated
from your programming activity