Switch from buildVimPluginFrom2Nix to buildVimPlugin

As this got renamed and would break some day.
This commit is contained in:
Daniel Siepmann 2023-10-02 09:56:37 +02:00
parent cd2f640f2b
commit 9f63ab8ab9
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -8,13 +8,13 @@ let
# The folder contains the expected `~/.config/nvim/` structure # The folder contains the expected `~/.config/nvim/` structure
# This structure is the same for plugins. # This structure is the same for plugins.
# I therefore just load this folder as plugin. # I therefore just load this folder as plugin.
configuration = pkgs.vimUtils.buildVimPluginFrom2Nix { configuration = pkgs.vimUtils.buildVimPlugin {
pname = "configuration"; pname = "configuration";
version = "v1.0.0"; version = "v1.0.0";
src = ./neovim/configuration; src = ./neovim/configuration;
}; };
colorscheme-smyckblue = pkgs.vimUtils.buildVimPluginFrom2Nix rec { colorscheme-smyckblue = pkgs.vimUtils.buildVimPlugin rec {
pname = "colorscheme-smyckblue"; pname = "colorscheme-smyckblue";
version = "v1.2.0"; version = "v1.2.0";
src = pkgs.fetchgit { src = pkgs.fetchgit {
@ -24,7 +24,7 @@ let
}; };
}; };
neotags = pkgs.vimUtils.buildVimPluginFrom2Nix rec { neotags = pkgs.vimUtils.buildVimPlugin rec {
pname = "neotags"; pname = "neotags";
version = "v0.3.0"; version = "v0.3.0";
src = pkgs.fetchgit { src = pkgs.fetchgit {
@ -43,7 +43,7 @@ let
''; '';
}; };
syntax-typoscript = pkgs.vimUtils.buildVimPluginFrom2Nix rec { syntax-typoscript = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-typoscript"; pname = "syntax-typoscript";
version = "v2.0.0"; version = "v2.0.0";
src = pkgs.fetchgit { src = pkgs.fetchgit {
@ -53,7 +53,7 @@ let
}; };
}; };
syntax-nix = pkgs.vimUtils.buildVimPluginFrom2Nix rec { syntax-nix = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-nix"; pname = "syntax-nix";
version = "63b47b39c8d481ebca3092822ca8972e08df769b"; version = "63b47b39c8d481ebca3092822ca8972e08df769b";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -64,7 +64,7 @@ let
}; };
}; };
syntax-fluid = pkgs.vimUtils.buildVimPluginFrom2Nix rec { syntax-fluid = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-fluid"; pname = "syntax-fluid";
version = "cedc4ad871941e8f7134d1d71f9434f1bc3d93d5"; version = "cedc4ad871941e8f7134d1d71f9434f1bc3d93d5";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -75,7 +75,7 @@ let
}; };
}; };
syntax-mustache = pkgs.vimUtils.buildVimPluginFrom2Nix rec { syntax-mustache = pkgs.vimUtils.buildVimPlugin rec {
pname = "syntax-mustahce"; pname = "syntax-mustahce";
version = "0153fe03a919add2d6cf2d41b2d5b6e1188bc0e0"; version = "0153fe03a919add2d6cf2d41b2d5b6e1188bc0e0";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -86,7 +86,7 @@ let
}; };
}; };
ag = pkgs.vimUtils.buildVimPluginFrom2Nix rec { ag = pkgs.vimUtils.buildVimPlugin rec {
pname = "ag"; pname = "ag";
version = "c478f7973074f15bbf82c298a1678b4e23f1767a"; version = "c478f7973074f15bbf82c298a1678b4e23f1767a";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -97,7 +97,7 @@ let
}; };
}; };
vdebug = pkgs.vimUtils.buildVimPluginFrom2Nix rec { vdebug = pkgs.vimUtils.buildVimPlugin rec {
pname = "vdebug"; pname = "vdebug";
version = "f979cc065e63796bdf60f014ae2280ce8e72cded"; version = "f979cc065e63796bdf60f014ae2280ce8e72cded";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -108,7 +108,7 @@ let
}; };
}; };
diff-fold = pkgs.vimUtils.buildVimPluginFrom2Nix rec { diff-fold = pkgs.vimUtils.buildVimPlugin rec {
pname = "diff-fold"; pname = "diff-fold";
version = "48b4505c1b6f14ceb4e4be732aad337147ef36cd"; version = "48b4505c1b6f14ceb4e4be732aad337147ef36cd";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -119,7 +119,7 @@ let
}; };
}; };
neoterm = pkgs.vimUtils.buildVimPluginFrom2Nix rec { neoterm = pkgs.vimUtils.buildVimPlugin rec {
pname = "neoterm"; pname = "neoterm";
version = "e78179a9ceb98de8d0c37bdda435a5deab4d5e71"; version = "e78179a9ceb98de8d0c37bdda435a5deab4d5e71";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -133,7 +133,7 @@ let
]; ];
}; };
tagbar = pkgs.vimUtils.buildVimPluginFrom2Nix rec { tagbar = pkgs.vimUtils.buildVimPlugin rec {
pname = "tagbar"; pname = "tagbar";
version = "v2.7"; version = "v2.7";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -146,7 +146,7 @@ let
# Use `let g:test#last_command="<command>"` to set a test to execute when repeating last. # Use `let g:test#last_command="<command>"` to set a test to execute when repeating last.
# Note that you need to set further variables, or execute a matching test beforehand. # Note that you need to set further variables, or execute a matching test beforehand.
test = pkgs.vimUtils.buildVimPluginFrom2Nix rec { test = pkgs.vimUtils.buildVimPlugin rec {
pname = "test"; pname = "test";
version = "c63b94c1e5089807f4532e05f087351ddb5a207c"; version = "c63b94c1e5089807f4532e05f087351ddb5a207c";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -163,7 +163,7 @@ let
}; };
# Use custom one until nixpkgs updates to that version # Use custom one until nixpkgs updates to that version
fzf-lua = pkgs.vimUtils.buildVimPluginFrom2Nix rec { fzf-lua = pkgs.vimUtils.buildVimPlugin rec {
pname = "fzf-lua"; pname = "fzf-lua";
version = "44f1ec92b57f15745f5f21cf224e521ce9ba0b66"; version = "44f1ec92b57f15745f5f21cf224e521ce9ba0b66";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {