mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
neovim-node-client: init at 5.3.0 (#317333)
This commit is contained in:
commit
0acfb651f9
@ -3,7 +3,7 @@
|
|||||||
, ruby
|
, ruby
|
||||||
, nodejs
|
, nodejs
|
||||||
, writeText
|
, writeText
|
||||||
, nodePackages
|
, neovim-node-client
|
||||||
, python3
|
, python3
|
||||||
, callPackage
|
, callPackage
|
||||||
, neovimUtils
|
, neovimUtils
|
||||||
@ -173,7 +173,7 @@ let
|
|||||||
ln -s ${finalAttrs.rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
ln -s ${finalAttrs.rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
||||||
''
|
''
|
||||||
+ lib.optionalString finalAttrs.withNodeJs ''
|
+ lib.optionalString finalAttrs.withNodeJs ''
|
||||||
ln -s ${nodePackages.neovim}/bin/neovim-node-host $out/bin/nvim-node
|
ln -s ${neovim-node-client}/bin/neovim-node-host $out/bin/nvim-node
|
||||||
''
|
''
|
||||||
+ lib.optionalString finalAttrs.withPerl ''
|
+ lib.optionalString finalAttrs.withPerl ''
|
||||||
ln -s ${perlEnv}/bin/perl $out/bin/nvim-perl
|
ln -s ${perlEnv}/bin/perl $out/bin/nvim-perl
|
||||||
|
39
pkgs/by-name/ne/neovim-node-client/package.nix
Normal file
39
pkgs/by-name/ne/neovim-node-client/package.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildNpmPackage,
|
||||||
|
fetchNpmDeps,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildNpmPackage rec {
|
||||||
|
pname = "node-client";
|
||||||
|
version = "5.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "neovim";
|
||||||
|
repo = "node-client";
|
||||||
|
rev = "02a5fdef8e3ec2812d295981db38dbccf82e0728";
|
||||||
|
hash = "sha256-0vPw2hCGUDepSpF1gp/lI71EgwGsCSnw7ePP7ElHsTQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDeps = fetchNpmDeps {
|
||||||
|
inherit src;
|
||||||
|
hash = "sha256-VYoJAi1RzVf5ObjuGmnuiA/1WYBWC+qYPdfWF98+oGw=";
|
||||||
|
};
|
||||||
|
npmWorkspace = "packages/neovim";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
# Overwrite the unwanted wrapper created by buildNpmPackage
|
||||||
|
ln -sf $out/lib/node_modules/neovim/bin/cli.js $out/bin/neovim-node-host
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
mainProgram = "node-client";
|
||||||
|
description = "Nvim msgpack API client and remote plugin provider";
|
||||||
|
homepage = "https://github.com/neovim/node-client";
|
||||||
|
changelog = "https://github.com/neovim/node-client/releases/tag/v${version}";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ fidgetingbits ];
|
||||||
|
};
|
||||||
|
}
|
@ -136,6 +136,7 @@ mapAliases {
|
|||||||
inherit (pkgs) mermaid-cli; # added 2023-10-01
|
inherit (pkgs) mermaid-cli; # added 2023-10-01
|
||||||
musescore-downloader = pkgs.dl-librescore; # added 2023-08-19
|
musescore-downloader = pkgs.dl-librescore; # added 2023-08-19
|
||||||
inherit (pkgs) near-cli; # added 2023-09-09
|
inherit (pkgs) near-cli; # added 2023-09-09
|
||||||
|
neovim = pkgs.neovim-node-client; # added 2024-11-13
|
||||||
node-inspector = throw "node-inspector was removed because it was broken"; # added 2023-08-21
|
node-inspector = throw "node-inspector was removed because it was broken"; # added 2023-08-21
|
||||||
inherit (pkgs) node-gyp; # added 2024-08-13
|
inherit (pkgs) node-gyp; # added 2024-08-13
|
||||||
inherit (pkgs) node-pre-gyp; # added 2024-08-05
|
inherit (pkgs) node-pre-gyp; # added 2024-08-05
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
less = "lessc";
|
less = "lessc";
|
||||||
localtunnel = "lt";
|
localtunnel = "lt";
|
||||||
lua-fmt = "luafmt";
|
lua-fmt = "luafmt";
|
||||||
neovim = "neovim-node-host";
|
|
||||||
parsoid = "parse.js";
|
parsoid = "parse.js";
|
||||||
poor-mans-t-sql-formatter-cli = "sqlformat";
|
poor-mans-t-sql-formatter-cli = "sqlformat";
|
||||||
postcss-cli = "postcss";
|
postcss-cli = "postcss";
|
||||||
|
@ -137,7 +137,6 @@
|
|||||||
, "meat"
|
, "meat"
|
||||||
, "mocha"
|
, "mocha"
|
||||||
, "multi-file-swagger"
|
, "multi-file-swagger"
|
||||||
, "neovim"
|
|
||||||
, "nijs"
|
, "nijs"
|
||||||
, "node-gyp-build"
|
, "node-gyp-build"
|
||||||
, "node2nix"
|
, "node2nix"
|
||||||
|
Loading…
Reference in New Issue
Block a user