push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
{
stdenv,
jq,
lib,
moreutils,
typos-lsp,
vscode-utils,
vscode-extension-update-script,
}:
let
inherit (stdenv.hostPlatform) system;
extInfo =
{
x86_64-linux = {
arch = "linux-x64";
hash = "sha256-wOlZPf43h/xHgmKRxPWuCdqqorft/cV/V1qlSR7/r3Y=";
};
aarch64-linux = {
arch = "linux-arm64";
hash = "sha256-LcNCD3OHq1IREEZ5y9fkCcdtjXBOd5UuhvG833oAx3Q=";
};
x86_64-darwin = {
arch = "darwin-x64";
hash = "sha256-I+2SYCPHXTIrZg2imWRpdj4KbuPcdJ3GQdrxu3bInbs=";
};
aarch64-darwin = {
arch = "darwin-arm64";
hash = "sha256-PaXHB8lMKpKgaOekBPvzmYPsokaR2pZTzJsIcYujS3A=";
};
}
.${system} or (throw "Unsupported system: ${system}");
in
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "typos-vscode";
publisher = "tekumara";
# Please update the corresponding binary (typos-lsp)
# when updating this extension.
# See pkgs/by-name/ty/typos-lsp/package.nix
version = "0.1.44";
inherit (extInfo) hash arch;
};
nativeBuildInputs = [
jq
moreutils
];
buildInputs = [ typos-lsp ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."typos.path".default = "${lib.getExe typos-lsp}"' package.json | sponge package.json
'';
passthru.updateScript = vscode-extension-update-script { };
meta = {
changelog = "https://marketplace.visualstudio.com/items/tekumara.typos-vscode/changelog";
description = "VSCode extension for providing a low false-positive source code spell checker";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode";
homepage = "https://github.com/tekumara/typos-lsp";
license = lib.licenses.mit;
platforms = [
"aarch64-linux"
"aarch64-darwin"
"x86_64-linux"
"x86_64-darwin"
];
maintainers = [ ];
};
}