Files
nixpkgs/pkgs/by-name/co/coc-spell-checker/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
1.1 KiB
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
fetchYarnDeps,
yarnConfigHook,
yarnBuildHook,
yarnInstallHook,
nodejs,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "coc-spell-checker";
version = "1.3.2-unstable-2022-12-18";
src = fetchFromGitHub {
owner = "iamcco";
repo = "coc-spell-checker";
# Upstream has no tagged releases
rev = "51c484169de17b5317e54f5cf06bcd3fb04477e7";
hash = "sha256-WimL7rE+hYW8JoWDnsL3r1zAoEDZBDy6NY2i6Wblm8c=";
};
yarnOfflineCache = fetchYarnDeps {
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = "sha256-nMDcc8dP0L7vpIj6Q1HOJyFCkDZ+19/IdbONxBj1jq8=";
};
nativeBuildInputs = [
yarnConfigHook
yarnBuildHook
yarnInstallHook
nodejs
];
NODE_OPTIONS = "--openssl-legacy-provider";
passthru.updateScript = nix-update-script { };
meta = {
description = "Basic spell checker that works well with camelCase code for (Neo)vim";
homepage = "https://github.com/iamcco/coc-spell-checker";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
})