summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Sellmeier <mail@sebastian-sellmeier.de>2024-04-21 15:54:37 +0200
committerSebastian Sellmeier <mail@sebastian-sellmeier.de>2024-04-21 15:55:57 +0200
commit833f116f2f2f701b99aa32409512cba316dca8aa (patch)
treeb7acd67962dd8c566c0e82bbab2a14436010e20d
parentvscode-extensions: sort arguments (diff)
downloadnixpkgs-origin/vce_nixfmt_rfc.tar.gz
vscode-extensions: format using nixfmt-rfc-styleorigin/vce_nixfmt_rfc
-rw-r--r--pkgs/applications/editors/vscode/extensions/default.nix173
1 files changed, 113 insertions, 60 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix
index 7f13528680bf..ce738de9174c 100644
--- a/pkgs/applications/editors/vscode/extensions/default.nix
+++ b/pkgs/applications/editors/vscode/extensions/default.nix
@@ -39,8 +39,9 @@ let
# This means an extension should be located at
# ${lib.strings.toLower mktplcRef.publisher}.${lib.string.toLower mktplcRef.name}
#
- baseExtensions = self: lib.mapAttrs (_n: lib.recurseIntoAttrs)
- {
+ baseExtensions =
+ self:
+ lib.mapAttrs (_n: lib.recurseIntoAttrs) {
"1Password".op-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "1Password";
@@ -253,8 +254,7 @@ let
};
meta = {
description = "An arctic, north-bluish clean and elegant Visual Studio Code theme.";
- downloadPage =
- "https://marketplace.visualstudio.com/items?itemName=arcticicestudio.nord-visual-studio-code";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=arcticicestudio.nord-visual-studio-code";
homepage = "https://github.com/arcticicestudio/nord-visual-studio-code";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.imgabe ];
@@ -320,7 +320,7 @@ let
homepage = "https://github.com/asdine/vscode-cue";
changelog = "https://marketplace.visualstudio.com/items/asdine.cue/changelog";
license = lib.licenses.mit;
- maintainers = [lib.maintainers.matthewpi];
+ maintainers = [ lib.maintainers.matthewpi ];
};
};
@@ -382,7 +382,10 @@ let
version = "0.13.5";
sha256 = "sha256-sWM7N+axgu1zOGWexR4JVupVmYhZrd4cZz3pmLxRj8Q=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."millet.server.path".default = "${millet}/bin/millet-ls"' package.json | sponge package.json
@@ -402,7 +405,10 @@ let
version = "0.0.1";
sha256 = "sha256-vz2kU36B1xkLci2QwLpl/SBEhfSWltIDJ1r7SorHcr8=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."nixpkgs-fmt.path".default = "${nixpkgs-fmt}/bin/nixpkgs-fmt"' package.json | sponge package.json
@@ -504,7 +510,10 @@ let
version = "2.0.374";
sha256 = "sha256-VwdHOkduSSIrcOvrcVf7K8DSp3N1u9fvbaCVDCxp+bk=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json
@@ -514,7 +523,7 @@ let
};
};
- bierner.docs-view = buildVscodeMarketplaceExtension {
+ bierner.docs-view = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "docs-view";
publisher = "bierner";
@@ -851,7 +860,9 @@ let
};
};
- contextmapper.context-mapper-vscode-extension = callPackage ./contextmapper.context-mapper-vscode-extension { };
+ contextmapper.context-mapper-vscode-extension =
+ callPackage ./contextmapper.context-mapper-vscode-extension
+ { };
coolbear.systemd-unit-file = buildVscodeMarketplaceExtension {
mktplcRef = {
@@ -1000,34 +1011,35 @@ let
};
devsense.phptools-vscode = buildVscodeMarketplaceExtension {
- mktplcRef = let
- sources = {
- "x86_64-linux" = {
- arch = "linux-x64";
- sha256 = "sha256-8i5nRlzd+LnpEh9trWECxfiC1W4S0ekBab5vo18OlsA=";
+ mktplcRef =
+ let
+ sources = {
+ "x86_64-linux" = {
+ arch = "linux-x64";
+ sha256 = "sha256-8i5nRlzd+LnpEh9trWECxfiC1W4S0ekBab5vo18OlsA=";
+ };
+ "x86_64-darwin" = {
+ arch = "darwin-x64";
+ sha256 = "14crw56277rdwhigabb3nsndkfcs3yzzf7gw85jvryxviq32chgy";
+ };
+ "aarch64-linux" = {
+ arch = "linux-arm64";
+ sha256 = "1j1xlvbg3nrfmdd9zm6kywwicdwdkrq0si86lcndaii8m7sj5pfp";
+ };
+ "aarch64-darwin" = {
+ arch = "darwin-arm64";
+ sha256 = "0nlks6iqxkx1xlicsa8lrb1319rgznlxkv2gg7wkwgzph97ik8bi";
+ };
};
- "x86_64-darwin" = {
- arch = "darwin-x64";
- sha256 = "14crw56277rdwhigabb3nsndkfcs3yzzf7gw85jvryxviq32chgy";
- };
- "aarch64-linux" = {
- arch = "linux-arm64";
- sha256 = "1j1xlvbg3nrfmdd9zm6kywwicdwdkrq0si86lcndaii8m7sj5pfp";
- };
- "aarch64-darwin" = {
- arch = "darwin-arm64";
- sha256 = "0nlks6iqxkx1xlicsa8lrb1319rgznlxkv2gg7wkwgzph97ik8bi";
- };
- };
- in {
- name = "phptools-vscode";
- publisher = "devsense";
- version = "1.41.14332";
- } // sources.${stdenv.system};
+ in
+ {
+ name = "phptools-vscode";
+ publisher = "devsense";
+ version = "1.41.14332";
+ }
+ // sources.${stdenv.system};
- nativeBuildInputs = [
- autoPatchelfHook
- ];
+ nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [
zlib
@@ -1045,7 +1057,12 @@ let
homepage = "https://github.com/DEVSENSE/phptools-docs";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.drupol ];
- platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];
+ platforms = [
+ "x86_64-linux"
+ "x86_64-darwin"
+ "aarch64-darwin"
+ "aarch64-linux"
+ ];
};
};
@@ -1073,7 +1090,9 @@ let
version = "0.0.4";
sha256 = "0sa04srhqmngmw71slnrapi2xay0arj42j4gkan8i11n7bfi1xpf";
};
- meta = { license = lib.licenses.mit; };
+ meta = {
+ license = lib.licenses.mit;
+ };
};
dhall.vscode-dhall-lsp-server = buildVscodeMarketplaceExtension {
@@ -1083,7 +1102,9 @@ let
version = "0.0.4";
sha256 = "1zin7s827bpf9yvzpxpr5n6mv0b5rhh3civsqzmj52mdq365d2js";
};
- meta = { license = lib.licenses.mit; };
+ meta = {
+ license = lib.licenses.mit;
+ };
};
dhedgecock.radical-vscode = buildVscodeMarketplaceExtension {
@@ -1110,7 +1131,9 @@ let
version = "0.0.8";
sha256 = "sha256-BQPiSxiPPjdNPtIJI8L+558DVKxngPAI9sscpcJSJUI=";
};
- meta = { license = lib.licenses.asl20; };
+ meta = {
+ license = lib.licenses.asl20;
+ };
};
divyanshuagrawal.competitive-programming-helper = buildVscodeMarketplaceExtension {
@@ -1388,7 +1411,10 @@ let
version = "0.6.4";
sha256 = "sha256-Hxa4VPm3QvJICzpDyfk94fGHu1hr+YN9szVBwDB8X4U=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."magicRacket.general.racketPath".default = "${racket}/bin/racket"' package.json | sponge package.json
@@ -1514,7 +1540,10 @@ let
sha256 = "09z72mdr5bfdcb67xyzlv7lb9vyjlc3k9ackj4jgixfk40c68cnj";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
@@ -1603,7 +1632,9 @@ let
version = "1.14.8";
sha256 = "sha256-kCgnOODT1KDi9PMWs3CATXESWoHnDRhCIZhEUSkm14o=";
};
- meta = { license = lib.licenses.unfree; };
+ meta = {
+ license = lib.licenses.unfree;
+ };
};
github.copilot = buildVscodeMarketplaceExtension {
@@ -1648,8 +1679,7 @@ let
};
meta = {
description = "GitHub theme for VS Code";
- downloadPage =
- "https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme";
+ downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme";
homepage = "https://github.com/primer/github-vscode-theme";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.hugolgst ];
@@ -1684,7 +1714,9 @@ let
version = "0.75.2023101209";
sha256 = "1saz4brd5k1wyy7pz1h3jcl4kq35f78s2q8drjd7v2k97jhy8la1";
};
- meta = { license = lib.licenses.mit; };
+ meta = {
+ license = lib.licenses.mit;
+ };
};
gitlab.gitlab-workflow = buildVscodeMarketplaceExtension {
@@ -2114,7 +2146,10 @@ let
version = "1.0.0";
sha256 = "sha256-COlEjKhm8tK5XfOjrpVUDQ7x3JaOLiYoZ4MdwTL8ktk=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
@@ -2159,7 +2194,10 @@ let
sha256 = "sha256-IueXiN+077tiecAsVCzgYksWYTs00mZv6XJVMtRJ/PQ=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
buildInputs = [ cfn-lint ];
@@ -2342,11 +2380,12 @@ let
sha256 = "sha256-GHD/i+QOnItGEYG0bl/pVl+a4Dvn7SHhICJ14VfqMjE=";
};
- buildInputs = [
- typst-preview
- ];
+ buildInputs = [ typst-preview ];
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
@@ -2795,12 +2834,13 @@ let
sha256 = "sha256-fs+CBg3FwzTn608dm9EvfF2UrI2Sa5hsm0OK/WQyy6o=";
};
- nativeBuildInputs = [ jq moreutils ];
-
- buildInputs = [
- typst-lsp
+ nativeBuildInputs = [
+ jq
+ moreutils
];
+ buildInputs = [ typst-lsp ];
+
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${lib.getExe typst-lsp}"' package.json | sponge package.json
@@ -3536,7 +3576,10 @@ let
version = "0.26.3";
sha256 = "GlyOLc2VrRnA50MkaG83qa0yLUyJYwueqEO+ZeAStYs=";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."shellcheck.executablePath".default = "${shellcheck}/bin/shellcheck"' package.json | sponge package.json
@@ -3639,7 +3682,11 @@ let
downloadPage = "https://marketplace.visualstudio.com/items?itemName=uiua-lang.uiua-vscode";
homepage = "https://github.com/uiua-lang/uiua-vscode";
license = lib.licenses.mit;
- maintainers = with lib.maintainers; [ tomasajt wackbyte defelo ];
+ maintainers = with lib.maintainers; [
+ tomasajt
+ wackbyte
+ defelo
+ ];
};
};
@@ -3691,7 +3738,10 @@ let
sha256 = "1nlrijjwc35n1xgb5lgnr4yvlgfcxd0vdj93ip8lv2xi8x1ni5f6";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
buildInputs = [ jdk ];
@@ -4034,7 +4084,10 @@ let
version = "0.5.4";
sha256 = "08dfl5h1k6s542qw5qx2czm1wb37ck9w2vpjz44kp2az352nmksb";
};
- nativeBuildInputs = [ jq moreutils ];
+ nativeBuildInputs = [
+ jq
+ moreutils
+ ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties.protoc.properties.path.default = "${protobuf}/bin/protoc"' package.json | sponge package.json