coc-pyright: migrate from nodePackages (#327171)
This commit is contained in:
commit
ad60caf890
@ -18,6 +18,7 @@
|
|||||||
arrow-cpp
|
arrow-cpp
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, coc-diagnostic
|
, coc-diagnostic
|
||||||
|
, coc-pyright
|
||||||
, code-minimap
|
, code-minimap
|
||||||
, dasht
|
, dasht
|
||||||
, deno
|
, deno
|
||||||
@ -349,6 +350,12 @@
|
|||||||
src = "${coc-diagnostic}/lib/node_modules/coc-diagnostic";
|
src = "${coc-diagnostic}/lib/node_modules/coc-diagnostic";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
coc-pyright = buildVimPlugin {
|
||||||
|
pname = "coc-pyright";
|
||||||
|
inherit (coc-pyright) version meta;
|
||||||
|
src = "${coc-pyright}/lib/node_modules/coc-pyright";
|
||||||
|
};
|
||||||
|
|
||||||
coc-nginx = buildVimPlugin {
|
coc-nginx = buildVimPlugin {
|
||||||
pname = "coc-nginx";
|
pname = "coc-nginx";
|
||||||
inherit (nodePackages."@yaegassy/coc-nginx") version meta;
|
inherit (nodePackages."@yaegassy/coc-nginx") version meta;
|
||||||
@ -2263,7 +2270,6 @@
|
|||||||
"coc-metals"
|
"coc-metals"
|
||||||
"coc-pairs"
|
"coc-pairs"
|
||||||
"coc-prettier"
|
"coc-prettier"
|
||||||
"coc-pyright"
|
|
||||||
"coc-python"
|
"coc-python"
|
||||||
"coc-r-lsp"
|
"coc-r-lsp"
|
||||||
"coc-rls"
|
"coc-rls"
|
||||||
|
27
pkgs/by-name/co/coc-pyright/package.nix
Normal file
27
pkgs/by-name/co/coc-pyright/package.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildNpmPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage {
|
||||||
|
pname = "coc-pyright";
|
||||||
|
version = "1.1.371";
|
||||||
|
|
||||||
|
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=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-cTAt02RdQbKurP6H/JWwVp+VpoIysbFt9le9R69+DL4=";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Pyright extension for coc.nvim";
|
||||||
|
homepage = "https://github.com/fannheyward/coc-pyright";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ pyrox0 ];
|
||||||
|
};
|
||||||
|
}
|
@ -71,6 +71,7 @@ mapAliases {
|
|||||||
inherit (pkgs) clubhouse-cli; # added 2023-08-18
|
inherit (pkgs) clubhouse-cli; # added 2023-08-18
|
||||||
inherit (pkgs) coc-diagnostic; # added 2024-06-29
|
inherit (pkgs) coc-diagnostic; # added 2024-06-29
|
||||||
coc-imselect = throw "coc-imselect was removed because it was broken"; # added 2023-08-21
|
coc-imselect = throw "coc-imselect was removed because it was broken"; # added 2023-08-21
|
||||||
|
inherit (pkgs) coc-pyright; # added 2024-07-14
|
||||||
coinmon = throw "coinmon was removed since it was abandoned upstream"; # added 2024-03-19
|
coinmon = throw "coinmon was removed since it was abandoned upstream"; # added 2024-03-19
|
||||||
coffee-script = pkgs.coffeescript; # added 2023-08-18
|
coffee-script = pkgs.coffeescript; # added 2023-08-18
|
||||||
inherit (pkgs) concurrently; # added 2024-08-05
|
inherit (pkgs) concurrently; # added 2024-08-05
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
, "coc-metals"
|
, "coc-metals"
|
||||||
, "coc-pairs"
|
, "coc-pairs"
|
||||||
, "coc-prettier"
|
, "coc-prettier"
|
||||||
, "coc-pyright"
|
|
||||||
, "coc-python"
|
, "coc-python"
|
||||||
, "coc-r-lsp"
|
, "coc-r-lsp"
|
||||||
, "coc-rls"
|
, "coc-rls"
|
||||||
|
30
pkgs/development/node-packages/node-packages.nix
generated
30
pkgs/development/node-packages/node-packages.nix
generated
@ -43830,15 +43830,6 @@ let
|
|||||||
sha512 = "pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==";
|
sha512 = "pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"pyright-1.1.373" = {
|
|
||||||
name = "pyright";
|
|
||||||
packageName = "pyright";
|
|
||||||
version = "1.1.373";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://registry.npmjs.org/pyright/-/pyright-1.1.373.tgz";
|
|
||||||
sha512 = "ZJSjqnHbeZowUnuAiojZqCLeY1XVzRIc2GvMFFNy/z6YSyJXwChPDQL5Jl2bavTvXNO0ITRmMBVvoKCRN7cc3g==";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"q-1.5.1" = {
|
"q-1.5.1" = {
|
||||||
name = "q";
|
name = "q";
|
||||||
packageName = "q";
|
packageName = "q";
|
||||||
@ -63371,27 +63362,6 @@ in
|
|||||||
bypassCache = true;
|
bypassCache = true;
|
||||||
reconstructLock = true;
|
reconstructLock = true;
|
||||||
};
|
};
|
||||||
coc-pyright = nodeEnv.buildNodePackage {
|
|
||||||
name = "coc-pyright";
|
|
||||||
packageName = "coc-pyright";
|
|
||||||
version = "1.1.371";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://registry.npmjs.org/coc-pyright/-/coc-pyright-1.1.371.tgz";
|
|
||||||
sha512 = "8vgKSjuMVpylSoHIwdzP9edeHwmjUFY+ZyBkcLQMdyjdZtEc3+6OblXS0Dm5nXosjLY/ATc+w+38ITIssqm76g==";
|
|
||||||
};
|
|
||||||
dependencies = [
|
|
||||||
sources."pyright-1.1.373"
|
|
||||||
];
|
|
||||||
buildInputs = globalBuildInputs;
|
|
||||||
meta = {
|
|
||||||
description = "Pyright extension for coc.nvim, static type checker for Python";
|
|
||||||
homepage = "https://github.com/fannheyward/coc-pyright#readme";
|
|
||||||
license = "MIT";
|
|
||||||
};
|
|
||||||
production = true;
|
|
||||||
bypassCache = true;
|
|
||||||
reconstructLock = true;
|
|
||||||
};
|
|
||||||
coc-python = nodeEnv.buildNodePackage {
|
coc-python = nodeEnv.buildNodePackage {
|
||||||
name = "coc-python";
|
name = "coc-python";
|
||||||
packageName = "coc-python";
|
packageName = "coc-python";
|
||||||
|
Loading…
Reference in New Issue
Block a user