coc-*: update and add updateScript (#464741)

This commit is contained in:
dish
2025-11-26 00:03:38 +00:00
committed by GitHub
7 changed files with 33 additions and 14 deletions
+7 -5
View File
@@ -2,21 +2,23 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage {
pname = "coc-clangd";
version = "0.31.0";
version = "0-unstable-2025-11-18";
src = fetchFromGitHub {
owner = "clangd";
repo = "coc-clangd";
# Upstream has no tagged versions
rev = "3a85a36f1ac08454deab1ed8d2553e0cae00cc1c";
hash = "sha256-uxK0nciLq4ZKFCoMJrO4dR0tuOBHYpgdZUc/KJ+JA/I=";
rev = "72a4edc5ec39c6d7c4fd5a49aee7d9f3f84b8b6e";
hash = "sha256-uNCN3+8KovQ/Grrv7k5YZz6tTCNUX+6EN1Gkm867LMc=";
};
npmDepsHash = "sha256-93MEug2eEL/Hum+RFmXx0JYO6jUygF8QRmL5nTTFyrs=";
npmDepsHash = "sha256-cLW5pY3LaumtE2qyxMMP9WirCMdWq+gsSO+dZNhCc1g=";
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "clangd extension for coc.nvim";
+6 -4
View File
@@ -7,17 +7,17 @@
yarnBuildHook,
nodejs,
npmHooks,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "coc-diagnostic";
version = "0.24.1";
version = "0-unstable-2025-01-15";
src = fetchFromGitHub {
owner = "iamcco";
repo = "coc-diagnostic";
# Upstream has no tagged versions
rev = "f4b8774bccf1c031da51f8ee52b05bc6b2337bf9";
hash = "sha256-+RPNFZ3OmdI9v0mY1VNJPMHs740IXvVJy4WYMgqqQSM=";
rev = "1515cae0c7f8e7e4284d046b6aaad7ba665489e4";
hash = "sha256-t5hB9lzbyHu0s7m/mYtohF/FW0Ymat9PM9zjdXwKiIM=";
};
yarnOfflineCache = fetchYarnDeps {
@@ -37,6 +37,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
unlink $out/lib/node_modules/coc-diagnostic/node_modules/.bin/node-which
'';
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Diagnostic-languageserver extension for coc.nvim";
homepage = "https://github.com/iamcco/coc-diagnostic";
+3
View File
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage (finalAttrs: {
@@ -17,6 +18,8 @@ buildNpmPackage (finalAttrs: {
npmDepsHash = "sha256-ow9viEFfyBUM2yDa63+pQCg6R5cAmznanqfI131fRxc=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Docker language server extension using dockerfile-language-server-nodejs for coc.nvim";
homepage = "https://github.com/josa42/coc-docker";
+3
View File
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage (finalAttrs: {
@@ -23,6 +24,8 @@ buildNpmPackage (finalAttrs: {
npmBuildScript = "prepare";
passthru.updateScript = nix-update-script { };
meta = {
description = "Git integration of coc.nvim";
homepage = "https://github.com/neoclide/coc-git";
+7 -4
View File
@@ -2,21 +2,24 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage {
pname = "coc-pyright";
version = "1.1.371";
version = "0-unstable-2025-11-01";
src = fetchFromGitHub {
owner = "fannheyward";
repo = "coc-pyright";
# No tagged releases, this commit corresponds to the latest release of the package.
rev = "d4cfda2f530622962a2a6e3ac1ddb2ad83ea2387";
hash = "sha256-oNixIW63DhPn2LYJ5t/R4xcReZR3W6nqqFBnCUmo/Wo=";
rev = "9ac99c71ea92810b532283b690f6771601c74ff2";
hash = "sha256-nADl29GiApBZMKW0yQ9QVWBiduaGNXO8Cm4XxZmNfMQ=";
};
npmDepsHash = "sha256-cTAt02RdQbKurP6H/JWwVp+VpoIysbFt9le9R69+DL4=";
npmDepsHash = "sha256-+9bf/3b8vZZgkiC2DA15js9X5PFHzK9dltTA9XJt+GE=";
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Pyright extension for coc.nvim";
+3
View File
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage (finalAttrs: {
@@ -22,6 +23,8 @@ buildNpmPackage (finalAttrs: {
npmDepsHash = "sha256-N8bXRtTEKu9yuUnfv4oIokM74KWnqfTLVh5EvS0b1sw=";
passthru.updateScript = nix-update-script { };
meta = {
description = "bash-language-server for coc.nvim";
homepage = "https://github.com/josa42/coc-sh";
@@ -7,10 +7,11 @@
yarnBuildHook,
yarnInstallHook,
nodejs,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "coc-spell-checker";
version = "1.3.2-unstable-2022-12-18";
version = "0-unstable-2022-12-19";
src = fetchFromGitHub {
owner = "iamcco";
@@ -34,6 +35,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
NODE_OPTIONS = "--openssl-legacy-provider";
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Basic spell checker that works well with camelCase code for (Neo)vim";
homepage = "https://github.com/iamcco/coc-spell-checker";