nvim: Use nix-prefetch
This commit is contained in:
parent
9dcaa0255a
commit
8a56347c0d
6 changed files with 110 additions and 188 deletions
12
flake.lock
12
flake.lock
|
@ -73,11 +73,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1650413050,
|
"lastModified": 1650478719,
|
||||||
"narHash": "sha256-e4Ajk6n+xQnF4CmqZf42OaLxsqm4LpJHkofRh5wwad0=",
|
"narHash": "sha256-308c2cM4hW9AW6dSQ080ycXGyEJGkG/OwOINkYL9Mnw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "8ec13d33b17f246e03ddfea100b7c3a143255bea",
|
"rev": "93a69d07389311ffd6ce1f4d01836bbc2faec644",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -154,11 +154,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1650194139,
|
"lastModified": 1650469885,
|
||||||
"narHash": "sha256-kurZsqeOw5fpqA/Ig+8tHvbjwzs5P9AE6WUKOX1m6qM=",
|
"narHash": "sha256-BuILRZ6pzMnGey8/irbjGq1oo3vIvZa1pitSdZCmIXA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bd4dffcdb7c577d74745bd1eff6230172bd176d5",
|
"rev": "df78cc4e2a46fca75d14508a5d2ed3494add28ff",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
2
home.nix
2
home.nix
|
@ -44,7 +44,7 @@
|
||||||
hexyl
|
hexyl
|
||||||
hyperfine
|
hyperfine
|
||||||
lnav
|
lnav
|
||||||
nix-prefetch-github
|
nix-prefetch
|
||||||
nvd
|
nvd
|
||||||
parallel
|
parallel
|
||||||
podman
|
podman
|
||||||
|
|
|
@ -3,169 +3,143 @@
|
||||||
{
|
{
|
||||||
impatient-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
impatient-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "impatient.nvim";
|
pname = "impatient.nvim";
|
||||||
version = "1648714532";
|
version = "2022-03-31";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lewis6991";
|
owner = "lewis6991";
|
||||||
repo = "impatient.nvim";
|
repo = "impatient.nvim";
|
||||||
rev = "2337df7d778e17a58d8709f651653b9039946d8d";
|
rev = "2337df7d778e17a58d8709f651653b9039946d8d";
|
||||||
sha256 = "F7axsGpZoSREVu6BqXSWsvemN5pUe6e5cIFG3DQO/xk=";
|
sha256 = "sha256-F7axsGpZoSREVu6BqXSWsvemN5pUe6e5cIFG3DQO/xk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/lewis6991/impatient.nvim";
|
|
||||||
};
|
};
|
||||||
popup-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
popup-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "popup.nvim";
|
pname = "popup.nvim";
|
||||||
version = "1637254091";
|
version = "2021-11-18";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-lua";
|
owner = "nvim-lua";
|
||||||
repo = "popup.nvim";
|
repo = "popup.nvim";
|
||||||
rev = "b7404d35d5d3548a82149238289fa71f7f6de4ac";
|
rev = "b7404d35d5d3548a82149238289fa71f7f6de4ac";
|
||||||
sha256 = "dNWz/xovUg55fDZUpVs/2kLphk3lqQyvPtc9ATwbeSQ=";
|
sha256 = "sha256-dNWz/xovUg55fDZUpVs/2kLphk3lqQyvPtc9ATwbeSQ=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-lua/popup.nvim";
|
|
||||||
};
|
};
|
||||||
plenary-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
plenary-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "plenary.nvim";
|
pname = "plenary.nvim";
|
||||||
version = "1650205145";
|
version = "2022-04-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-lua";
|
owner = "nvim-lua";
|
||||||
repo = "plenary.nvim";
|
repo = "plenary.nvim";
|
||||||
rev = "9069d14a120cadb4f6825f76821533f2babcab92";
|
rev = "9069d14a120cadb4f6825f76821533f2babcab92";
|
||||||
sha256 = "QKVFz95XaJrwkFaWqUHBirMFagellRn2YpNYnBeI/10=";
|
sha256 = "sha256-QKVFz95XaJrwkFaWqUHBirMFagellRn2YpNYnBeI/10=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-lua/plenary.nvim";
|
|
||||||
};
|
};
|
||||||
legendary-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
legendary-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "legendary.nvim";
|
pname = "legendary.nvim";
|
||||||
version = "1650395874";
|
version = "2022-04-19";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "mrjones2014";
|
owner = "mrjones2014";
|
||||||
repo = "legendary.nvim";
|
repo = "legendary.nvim";
|
||||||
rev = "77b7bc365c2470aff48b7398eb940e8c88789af3";
|
rev = "77b7bc365c2470aff48b7398eb940e8c88789af3";
|
||||||
sha256 = "YQVmnrOXmy/3DKA5VrmewRGob19zZUocTuVJUDTmrnM=";
|
sha256 = "sha256-YQVmnrOXmy/3DKA5VrmewRGob19zZUocTuVJUDTmrnM=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/mrjones2014/legendary.nvim";
|
|
||||||
};
|
};
|
||||||
yanky-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
yanky-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "yanky.nvim";
|
pname = "yanky.nvim";
|
||||||
version = "1649274039";
|
version = "2022-04-06";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "gbprod";
|
owner = "gbprod";
|
||||||
repo = "yanky.nvim";
|
repo = "yanky.nvim";
|
||||||
rev = "1c96ef6d44f6d2a8a034f4eb242ddaa015674d1c";
|
rev = "1c96ef6d44f6d2a8a034f4eb242ddaa015674d1c";
|
||||||
sha256 = "D4UuAdiQVW/kgIMdNkfso8UvSJGkN1tIkAbEilxreXM=";
|
sha256 = "sha256-bNhNCQeMW5tzxKtqccy8esyAHLy0KsWTTKHXmfKUb4U=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/gbprod/yanky.nvim";
|
|
||||||
};
|
};
|
||||||
cutlass-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cutlass-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cutlass.nvim";
|
pname = "cutlass.nvim";
|
||||||
version = "1647531286";
|
version = "2022-03-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "gbprod";
|
owner = "gbprod";
|
||||||
repo = "cutlass.nvim";
|
repo = "cutlass.nvim";
|
||||||
rev = "b46773268e66ecd371d0b32f17f7a85242475649";
|
rev = "b46773268e66ecd371d0b32f17f7a85242475649";
|
||||||
sha256 = "M9Q4wWHv4exOWvp05bierAkzUNlArNGmKendciiiJnA=";
|
sha256 = "sha256-e4z8VNhxNbrJFXnJQgWuzIZrfWBWHpNAfrCPMgy+S3c=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/gbprod/cutlass.nvim";
|
|
||||||
};
|
};
|
||||||
substitute-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
substitute-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "substitute.nvim";
|
pname = "substitute.nvim";
|
||||||
version = "1649272848";
|
version = "2022-04-06";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "gbprod";
|
owner = "gbprod";
|
||||||
repo = "substitute.nvim";
|
repo = "substitute.nvim";
|
||||||
rev = "66379e99812ce5f46aa4810c05460c87b7b40aac";
|
rev = "66379e99812ce5f46aa4810c05460c87b7b40aac";
|
||||||
sha256 = "B0CSMKwRMISfeLJHZuPsiu51BENyZC8I/HhisH+W3Nk=";
|
sha256 = "sha256-cfJMq20RSJe5qEssAgYSLGpuyHuSy8FV6/IshmTPBck=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/gbprod/substitute.nvim";
|
|
||||||
};
|
};
|
||||||
leap-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
leap-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "leap.nvim";
|
pname = "leap.nvim";
|
||||||
version = "1650440510";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ggandor";
|
owner = "ggandor";
|
||||||
repo = "leap.nvim";
|
repo = "leap.nvim";
|
||||||
rev = "2a7965c6ec3f5de9efde92dcec0c53f12c84732a";
|
rev = "2a7965c6ec3f5de9efde92dcec0c53f12c84732a";
|
||||||
sha256 = "VBhzMxYkUQfFFVgUM+ZDtgGoEFQRvcdWX8oH7h54+E8=";
|
sha256 = "sha256-VBhzMxYkUQfFFVgUM+ZDtgGoEFQRvcdWX8oH7h54+E8=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/ggandor/leap.nvim";
|
|
||||||
};
|
};
|
||||||
dracula-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
dracula-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "dracula.nvim";
|
pname = "dracula.nvim";
|
||||||
version = "1643281801";
|
version = "2022-01-27";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "Mofiqul";
|
owner = "Mofiqul";
|
||||||
repo = "dracula.nvim";
|
repo = "dracula.nvim";
|
||||||
rev = "a219971291c56bcca3827cb7bd40aaaef23feeca";
|
rev = "a219971291c56bcca3827cb7bd40aaaef23feeca";
|
||||||
sha256 = "r1VhURChdutQFO9fiF+YV+MJycuj6xohTmR9DYpUFdk=";
|
sha256 = "sha256-r1VhURChdutQFO9fiF+YV+MJycuj6xohTmR9DYpUFdk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/Mofiqul/dracula.nvim";
|
|
||||||
};
|
};
|
||||||
nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-treesitter";
|
pname = "nvim-treesitter";
|
||||||
version = "1650378521";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter";
|
repo = "nvim-treesitter";
|
||||||
rev = "62fa8f77c43ed3a4ac2bbdfa4327f6b4a835bbea";
|
rev = "6d0cee2f570ab848c0049be5a84a20acba3e8217";
|
||||||
sha256 = "GZgU5rdNYUQSsrQablM8n7ZjOCbK3h0J6lwUlfT6ADM=";
|
sha256 = "sha256-MTUtFftQOvYufOaV2Zr/7u9uk4eF2fG0gsJLecUp3GI=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter";
|
|
||||||
};
|
};
|
||||||
nvim-ts-rainbow = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-ts-rainbow = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-ts-rainbow";
|
pname = "nvim-ts-rainbow";
|
||||||
version = "1650194589";
|
version = "2022-04-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "p00f";
|
owner = "p00f";
|
||||||
repo = "nvim-ts-rainbow";
|
repo = "nvim-ts-rainbow";
|
||||||
rev = "04284dc97eac0d0ecfea68e10be824d1a6585de0";
|
rev = "04284dc97eac0d0ecfea68e10be824d1a6585de0";
|
||||||
sha256 = "Q7aRv/UivnkAVLDcuSI6HD9q9LeASqQ3F2KEHCoqEcU=";
|
sha256 = "sha256-Q7aRv/UivnkAVLDcuSI6HD9q9LeASqQ3F2KEHCoqEcU=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/p00f/nvim-ts-rainbow";
|
|
||||||
};
|
};
|
||||||
playground = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
playground = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "playground";
|
pname = "playground";
|
||||||
version = "1649436240";
|
version = "2022-04-08";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "playground";
|
repo = "playground";
|
||||||
rev = "13e2d2d63ce7bc5d875e8bdf89cb070bc8cc7a00";
|
rev = "13e2d2d63ce7bc5d875e8bdf89cb070bc8cc7a00";
|
||||||
sha256 = "2gKGDUvEVCVOX1hbnc4WDlcjsE8YnhrTMqv6POx4k84=";
|
sha256 = "sha256-2gKGDUvEVCVOX1hbnc4WDlcjsE8YnhrTMqv6POx4k84=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-treesitter/playground";
|
|
||||||
};
|
};
|
||||||
telescope-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
telescope-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "telescope.nvim";
|
pname = "telescope.nvim";
|
||||||
version = "1650283557";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-telescope";
|
owner = "nvim-telescope";
|
||||||
repo = "telescope.nvim";
|
repo = "telescope.nvim";
|
||||||
rev = "6e7ed1b9638f09661fcb3a6db68f3ad77c8036be";
|
rev = "92019d5053674676576b021904935d101b059fd5";
|
||||||
sha256 = "vjrBJYfoUNpw+fCOMAzt+zcMNFE8W+fUY2lhwqJf5YY=";
|
sha256 = "sha256-Ss3Ts2LbZm2WisGiTg1pELoySeN49ARqxfEAaaw0lA8=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-telescope/telescope.nvim";
|
|
||||||
};
|
};
|
||||||
telescope-zf-native-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
telescope-zf-native-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "telescope-zf-native.nvim";
|
pname = "telescope-zf-native.nvim";
|
||||||
version = "1647372635";
|
version = "2022-03-15";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
fetchSubmodules = true;
|
||||||
owner = "natecraddock";
|
owner = "natecraddock";
|
||||||
repo = "telescope-zf-native.nvim";
|
repo = "telescope-zf-native.nvim";
|
||||||
rev = "3f64df2cb1e8c4a399154b21dabb2734a1afb8f1";
|
rev = "3f64df2cb1e8c4a399154b21dabb2734a1afb8f1";
|
||||||
sha256 = "pO8EK7CiLZqPS8YDdxpGy24mDd8QYCTaBh2SPqnS1YU=";
|
sha256 = "sha256-pO8EK7CiLZqPS8YDdxpGy24mDd8QYCTaBh2SPqnS1YU=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
nativeBuildInputs = with pkgs; [ just zigpkgs."0.9.1" ];
|
nativeBuildInputs = with pkgs; [ just zigpkgs."0.9.1" ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -174,342 +148,285 @@
|
||||||
mv lib/libzf.so lib/libzf-osx-arm64.so
|
mv lib/libzf.so lib/libzf-osx-arm64.so
|
||||||
rm -rf ./xdg_cache
|
rm -rf ./xdg_cache
|
||||||
'';
|
'';
|
||||||
meta.homepage = "https://github.com/natecraddock/telescope-zf-native.nvim";
|
|
||||||
};
|
};
|
||||||
telescope-ui-select-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
telescope-ui-select-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "telescope-ui-select.nvim";
|
pname = "telescope-ui-select.nvim";
|
||||||
version = "1647808851";
|
version = "2022-03-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-telescope";
|
owner = "nvim-telescope";
|
||||||
repo = "telescope-ui-select.nvim";
|
repo = "telescope-ui-select.nvim";
|
||||||
rev = "186a124a01d7f19e6fcf608d4e1cc61d61ebe939";
|
rev = "186a124a01d7f19e6fcf608d4e1cc61d61ebe939";
|
||||||
sha256 = "65/SEDm1HZ4iuEFJMOILUlMLY2Sq7zXW2os9UEkLodM=";
|
sha256 = "sha256-65/SEDm1HZ4iuEFJMOILUlMLY2Sq7zXW2os9UEkLodM=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-telescope/telescope-ui-select.nvim";
|
|
||||||
};
|
};
|
||||||
nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-lspconfig = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-lspconfig";
|
pname = "nvim-lspconfig";
|
||||||
version = "1650231919";
|
version = "2022-04-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "neovim";
|
owner = "neovim";
|
||||||
repo = "nvim-lspconfig";
|
repo = "nvim-lspconfig";
|
||||||
rev = "ad9903c66bac88f344890acb6532f63f1cd4dac3";
|
rev = "ad9903c66bac88f344890acb6532f63f1cd4dac3";
|
||||||
sha256 = "uoq6HLqH2/zBKGZFYQ7HbzZ+QOLTpJpBaGD6UZ4oz4E=";
|
sha256 = "sha256-uoq6HLqH2/zBKGZFYQ7HbzZ+QOLTpJpBaGD6UZ4oz4E=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/neovim/nvim-lspconfig";
|
|
||||||
};
|
};
|
||||||
virtual-types-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
virtual-types-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "virtual-types.nvim";
|
pname = "virtual-types.nvim";
|
||||||
version = "1647533682";
|
version = "2022-03-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "jubnzv";
|
owner = "jubnzv";
|
||||||
repo = "virtual-types.nvim";
|
repo = "virtual-types.nvim";
|
||||||
rev = "31da847fa54b801f309a08123935626adda4aaad";
|
rev = "31da847fa54b801f309a08123935626adda4aaad";
|
||||||
sha256 = "Qvzfsm0fyLwLc2VNCQsWZjLP+GEzeNrDd8SARnsSD08=";
|
sha256 = "sha256-Qvzfsm0fyLwLc2VNCQsWZjLP+GEzeNrDd8SARnsSD08=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/jubnzv/virtual-types.nvim";
|
|
||||||
};
|
};
|
||||||
nvim-lint = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-lint = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-lint";
|
pname = "nvim-lint";
|
||||||
version = "1650293110";
|
version = "2022-04-18";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "mfussenegger";
|
owner = "mfussenegger";
|
||||||
repo = "nvim-lint";
|
repo = "nvim-lint";
|
||||||
rev = "e5416bdb27a0e61cd213850646534a18bb2ba61d";
|
rev = "e5416bdb27a0e61cd213850646534a18bb2ba61d";
|
||||||
sha256 = "v4bItOqhrutK7Wr/pM1Pkx+lGFTGrLoZ88esm1K/MuM=";
|
sha256 = "sha256-v4bItOqhrutK7Wr/pM1Pkx+lGFTGrLoZ88esm1K/MuM=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/mfussenegger/nvim-lint";
|
|
||||||
};
|
};
|
||||||
LuaSnip = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
LuaSnip = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "LuaSnip";
|
pname = "LuaSnip";
|
||||||
version = "1650006023";
|
version = "2022-04-15";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "L3MON4D3";
|
owner = "L3MON4D3";
|
||||||
repo = "LuaSnip";
|
repo = "LuaSnip";
|
||||||
rev = "6b67cb12747225a6412d8263bb97d6d2b8d9366a";
|
rev = "6b67cb12747225a6412d8263bb97d6d2b8d9366a";
|
||||||
sha256 = "w73j+QzR+qriRplGP56TePaGUCAkQgBbMZjV8dGcQSE=";
|
sha256 = "sha256-w73j+QzR+qriRplGP56TePaGUCAkQgBbMZjV8dGcQSE=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/L3MON4D3/LuaSnip";
|
|
||||||
};
|
};
|
||||||
nvim-cmp = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-cmp = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-cmp";
|
pname = "nvim-cmp";
|
||||||
version = "1650428497";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "nvim-cmp";
|
repo = "nvim-cmp";
|
||||||
rev = "f51dc68e1bb170fc49c2d7e13eb45e5ec83f5ee9";
|
rev = "f51dc68e1bb170fc49c2d7e13eb45e5ec83f5ee9";
|
||||||
sha256 = "U5lDWtslhZuDZBgzSijFmOlNShP+geVJw3FIxKIfxYU=";
|
sha256 = "sha256-U5lDWtslhZuDZBgzSijFmOlNShP+geVJw3FIxKIfxYU=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/nvim-cmp";
|
|
||||||
};
|
};
|
||||||
cmp-nvim-lsp = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-nvim-lsp = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-nvim-lsp";
|
pname = "cmp-nvim-lsp";
|
||||||
version = "1642242623";
|
version = "2022-01-15";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-nvim-lsp";
|
repo = "cmp-nvim-lsp";
|
||||||
rev = "ebdfc204afb87f15ce3d3d3f5df0b8181443b5ba";
|
rev = "ebdfc204afb87f15ce3d3d3f5df0b8181443b5ba";
|
||||||
sha256 = "itlKrCBo8wMNBCknW+7INOyVmwbcwmkGLzpc2lvvqk4=";
|
sha256 = "sha256-itlKrCBo8wMNBCknW+7INOyVmwbcwmkGLzpc2lvvqk4=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp";
|
|
||||||
};
|
};
|
||||||
cmp-nvim-lsp-signature-help = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-nvim-lsp-signature-help = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-nvim-lsp-signature-help";
|
pname = "cmp-nvim-lsp-signature-help";
|
||||||
version = "1648526692";
|
version = "2022-03-29";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-nvim-lsp-signature-help";
|
repo = "cmp-nvim-lsp-signature-help";
|
||||||
rev = "8014f6d120f72fe0a135025c4d41e3fe41fd411b";
|
rev = "8014f6d120f72fe0a135025c4d41e3fe41fd411b";
|
||||||
sha256 = "SdB4pjV3om2J6hSBecTLomq7QxguY1mEgSKAWxNXwcw=";
|
sha256 = "sha256-SdB4pjV3om2J6hSBecTLomq7QxguY1mEgSKAWxNXwcw=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help";
|
|
||||||
};
|
};
|
||||||
cmp_luasnip = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp_luasnip = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp_luasnip";
|
pname = "cmp_luasnip";
|
||||||
version = "1648846007";
|
version = "2022-04-01";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "saadparwaiz1";
|
owner = "saadparwaiz1";
|
||||||
repo = "cmp_luasnip";
|
repo = "cmp_luasnip";
|
||||||
rev = "b10829736542e7cc9291e60bab134df1273165c9";
|
rev = "b10829736542e7cc9291e60bab134df1273165c9";
|
||||||
sha256 = "1JiDa7fK9AEMUxLOFD3SSsxKEVLfd5xR8vfUlLRqz+M=";
|
sha256 = "sha256-1JiDa7fK9AEMUxLOFD3SSsxKEVLfd5xR8vfUlLRqz+M=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/saadparwaiz1/cmp_luasnip";
|
|
||||||
};
|
};
|
||||||
cmp-nvim-lua = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-nvim-lua = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-nvim-lua";
|
pname = "cmp-nvim-lua";
|
||||||
version = "1633919304";
|
version = "2021-10-11";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-nvim-lua";
|
repo = "cmp-nvim-lua";
|
||||||
rev = "d276254e7198ab7d00f117e88e223b4bd8c02d21";
|
rev = "d276254e7198ab7d00f117e88e223b4bd8c02d21";
|
||||||
sha256 = "/xUfw5adjXu8ySZBBFrLVJ1FCNJzfh79wf+wJsW6sIY=";
|
sha256 = "sha256-/xUfw5adjXu8ySZBBFrLVJ1FCNJzfh79wf+wJsW6sIY=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lua";
|
|
||||||
};
|
};
|
||||||
cmp-path = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-path = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-path";
|
pname = "cmp-path";
|
||||||
version = "1643823794";
|
version = "2022-02-02";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-path";
|
repo = "cmp-path";
|
||||||
rev = "466b6b8270f7ba89abd59f402c73f63c7331ff6e";
|
rev = "466b6b8270f7ba89abd59f402c73f63c7331ff6e";
|
||||||
sha256 = "xYzTpqVKpBBnajqqRRzAXlHAC13VGK1D9mFr3bntepY=";
|
sha256 = "sha256-xYzTpqVKpBBnajqqRRzAXlHAC13VGK1D9mFr3bntepY=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-path";
|
|
||||||
};
|
};
|
||||||
cmp-buffer = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-buffer = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-buffer";
|
pname = "cmp-buffer";
|
||||||
version = "1645413199";
|
version = "2022-02-21";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-buffer";
|
repo = "cmp-buffer";
|
||||||
rev = "d66c4c2d376e5be99db68d2362cd94d250987525";
|
rev = "d66c4c2d376e5be99db68d2362cd94d250987525";
|
||||||
sha256 = "itDEtoRvZn1mtLhT9WtqKVXoMRe5Qw0/QUf+TFzGNVk=";
|
sha256 = "sha256-itDEtoRvZn1mtLhT9WtqKVXoMRe5Qw0/QUf+TFzGNVk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-buffer";
|
|
||||||
};
|
};
|
||||||
cmp-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-treesitter = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-treesitter";
|
pname = "cmp-treesitter";
|
||||||
version = "1638415112";
|
version = "2021-12-02";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "ray-x";
|
owner = "ray-x";
|
||||||
repo = "cmp-treesitter";
|
repo = "cmp-treesitter";
|
||||||
rev = "a6b4c95ee922cace635b5a46c7fcc691d2559fbb";
|
rev = "a6b4c95ee922cace635b5a46c7fcc691d2559fbb";
|
||||||
sha256 = "Skdb113mgJqPJGUCk08ymo2IrnCyMO2KY36rOIxFHRk=";
|
sha256 = "sha256-Skdb113mgJqPJGUCk08ymo2IrnCyMO2KY36rOIxFHRk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/ray-x/cmp-treesitter";
|
|
||||||
};
|
};
|
||||||
cmp-cmdline = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-cmdline = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-cmdline";
|
pname = "cmp-cmdline";
|
||||||
version = "1644756337";
|
version = "2022-02-13";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-cmdline";
|
repo = "cmp-cmdline";
|
||||||
rev = "f4beb74e8e036f9532bedbcac0b93c7a55a0f8b0";
|
rev = "f4beb74e8e036f9532bedbcac0b93c7a55a0f8b0";
|
||||||
sha256 = "8KlmtXYfapji+n6tntAGlTcHYT3CJtdZaFR8luEu7Go=";
|
sha256 = "sha256-8KlmtXYfapji+n6tntAGlTcHYT3CJtdZaFR8luEu7Go=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-cmdline";
|
|
||||||
};
|
};
|
||||||
cmp-nvim-lsp-document-symbol = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
cmp-nvim-lsp-document-symbol = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "cmp-nvim-lsp-document-symbol";
|
pname = "cmp-nvim-lsp-document-symbol";
|
||||||
version = "1647917976";
|
version = "2022-03-22";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "hrsh7th";
|
owner = "hrsh7th";
|
||||||
repo = "cmp-nvim-lsp-document-symbol";
|
repo = "cmp-nvim-lsp-document-symbol";
|
||||||
rev = "c3f0086ed9882e52e0ae38dd5afa915f69054941";
|
rev = "c3f0086ed9882e52e0ae38dd5afa915f69054941";
|
||||||
sha256 = "NASM5mm4DjLNupVTnhj7rQR8gx0cNrF8vzMg8A1a+co=";
|
sha256 = "sha256-NASM5mm4DjLNupVTnhj7rQR8gx0cNrF8vzMg8A1a+co=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-document-symbol";
|
|
||||||
};
|
};
|
||||||
nvim-autopairs = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-autopairs = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-autopairs";
|
pname = "nvim-autopairs";
|
||||||
version = "1649893462";
|
version = "2022-04-14";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "windwp";
|
owner = "windwp";
|
||||||
repo = "nvim-autopairs";
|
repo = "nvim-autopairs";
|
||||||
rev = "38d486a1c47ae2722a78cf569008de0a64f4b153";
|
rev = "38d486a1c47ae2722a78cf569008de0a64f4b153";
|
||||||
sha256 = "u/8JiOyc8SIUALHoHtXwEgyK6usTWIDl2pjNiNgZamI=";
|
sha256 = "sha256-u/8JiOyc8SIUALHoHtXwEgyK6usTWIDl2pjNiNgZamI=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/windwp/nvim-autopairs";
|
|
||||||
};
|
};
|
||||||
nvim-ts-autotag = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-ts-autotag = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-ts-autotag";
|
pname = "nvim-ts-autotag";
|
||||||
version = "1646385778";
|
version = "2022-03-04";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "windwp";
|
owner = "windwp";
|
||||||
repo = "nvim-ts-autotag";
|
repo = "nvim-ts-autotag";
|
||||||
rev = "57035b5814f343bc6110676c9ae2eacfcd5340c2";
|
rev = "57035b5814f343bc6110676c9ae2eacfcd5340c2";
|
||||||
sha256 = "gYm8/MLCBBhrH1vSrBxK33wOtG5CYaXJWn9N5e4a0hk=";
|
sha256 = "sha256-gYm8/MLCBBhrH1vSrBxK33wOtG5CYaXJWn9N5e4a0hk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/windwp/nvim-ts-autotag";
|
|
||||||
};
|
};
|
||||||
nvim-treesitter-textobjects = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-treesitter-textobjects = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-treesitter-textobjects";
|
pname = "nvim-treesitter-textobjects";
|
||||||
version = "1650062917";
|
version = "2022-04-16";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter-textobjects";
|
repo = "nvim-treesitter-textobjects";
|
||||||
rev = "29c5e9effe53f19f250e3a88d1427b35031bc90d";
|
rev = "29c5e9effe53f19f250e3a88d1427b35031bc90d";
|
||||||
sha256 = "bIsie9TkSk7LMMQq98StmViXPaZBWS60i5xd7EB7dyU=";
|
sha256 = "sha256-bIsie9TkSk7LMMQq98StmViXPaZBWS60i5xd7EB7dyU=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects";
|
|
||||||
};
|
};
|
||||||
vim-matchup = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
vim-matchup = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "vim-matchup";
|
pname = "vim-matchup";
|
||||||
version = "1650385199";
|
version = "2022-04-19";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "andymass";
|
owner = "andymass";
|
||||||
repo = "vim-matchup";
|
repo = "vim-matchup";
|
||||||
rev = "bb04f9fa64b96bd3d6c4c146c6f9c55a69587fac";
|
rev = "bb04f9fa64b96bd3d6c4c146c6f9c55a69587fac";
|
||||||
sha256 = "GB5QEYAEHfxHcQW7G9wGeSkhbStOGn4w6FfgsZvuL/M=";
|
sha256 = "sha256-GB5QEYAEHfxHcQW7G9wGeSkhbStOGn4w6FfgsZvuL/M=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/andymass/vim-matchup";
|
|
||||||
};
|
};
|
||||||
lualine-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
lualine-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "lualine.nvim";
|
pname = "lualine.nvim";
|
||||||
version = "1650237629";
|
version = "2022-04-18";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "nvim-lualine";
|
owner = "nvim-lualine";
|
||||||
repo = "lualine.nvim";
|
repo = "lualine.nvim";
|
||||||
rev = "18a07f790ed7ed1f11d1b130c02782e9dfd8dd7d";
|
rev = "18a07f790ed7ed1f11d1b130c02782e9dfd8dd7d";
|
||||||
sha256 = "E5ll0ctLQjILvciHLOOV5m1yQZp/uBJ5H8lYeZ6QbiU=";
|
sha256 = "sha256-E5ll0ctLQjILvciHLOOV5m1yQZp/uBJ5H8lYeZ6QbiU=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/nvim-lualine/lualine.nvim";
|
|
||||||
};
|
};
|
||||||
bufferline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
bufferline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "bufferline.nvim";
|
pname = "bufferline.nvim";
|
||||||
version = "1650273959";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "akinsho";
|
owner = "akinsho";
|
||||||
repo = "bufferline.nvim";
|
repo = "bufferline.nvim";
|
||||||
rev = "49172206754f7ee0f3ac1b461bbac1a357cd0879";
|
rev = "f02e19bd29a27944e6bcc1e7a492fe07534b6630";
|
||||||
sha256 = "lRpY392iG01v/0od7ZVZAldgwGmf2CT2eIeltiuZtg4=";
|
sha256 = "sha256-l6kMa0LEIzClC0H/FfRRHxatEVBSkvpcZs/O0yaR/IE=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/akinsho/bufferline.nvim";
|
|
||||||
};
|
};
|
||||||
indent-blankline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
indent-blankline-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "indent-blankline.nvim";
|
pname = "indent-blankline.nvim";
|
||||||
version = "1649991995";
|
version = "2022-04-15";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lukas-reineke";
|
owner = "lukas-reineke";
|
||||||
repo = "indent-blankline.nvim";
|
repo = "indent-blankline.nvim";
|
||||||
rev = "045d9582094b27f5ae04d8b635c6da8e97e53f1d";
|
rev = "045d9582094b27f5ae04d8b635c6da8e97e53f1d";
|
||||||
sha256 = "pMVby6w7UTR2f1Nxp0ZPlV+KrdXNJ+jEQeQe30Pfs3M=";
|
sha256 = "sha256-pMVby6w7UTR2f1Nxp0ZPlV+KrdXNJ+jEQeQe30Pfs3M=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim";
|
|
||||||
};
|
};
|
||||||
virt-column-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
virt-column-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "virt-column.nvim";
|
pname = "virt-column.nvim";
|
||||||
version = "1645684789";
|
version = "2022-02-24";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lukas-reineke";
|
owner = "lukas-reineke";
|
||||||
repo = "virt-column.nvim";
|
repo = "virt-column.nvim";
|
||||||
rev = "29db24c5e94243df1f34f47bbcb4e7803204cae4";
|
rev = "29db24c5e94243df1f34f47bbcb4e7803204cae4";
|
||||||
sha256 = "alIOA1ggGzsefcTfA0cGALaHvndoZXBbBAWkK1u7YRc=";
|
sha256 = "sha256-alIOA1ggGzsefcTfA0cGALaHvndoZXBbBAWkK1u7YRc=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/lukas-reineke/virt-column.nvim";
|
|
||||||
};
|
};
|
||||||
neogit = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
neogit = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "neogit";
|
pname = "neogit";
|
||||||
version = "1649870230";
|
version = "2022-04-13";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "TimUntersberger";
|
owner = "TimUntersberger";
|
||||||
repo = "neogit";
|
repo = "neogit";
|
||||||
rev = "c8dd268091ffcbcb673de59c5b37ff26a2eb24ed";
|
rev = "c8dd268091ffcbcb673de59c5b37ff26a2eb24ed";
|
||||||
sha256 = "wYFp30yBTJ52lEDtK2u33TwLdEgeaeXXCKFXd+kuvig=";
|
sha256 = "sha256-wYFp30yBTJ52lEDtK2u33TwLdEgeaeXXCKFXd+kuvig=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/TimUntersberger/neogit";
|
|
||||||
};
|
};
|
||||||
gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
gitsigns-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "gitsigns.nvim";
|
pname = "gitsigns.nvim";
|
||||||
version = "1650381932";
|
version = "2022-04-20";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lewis6991";
|
owner = "lewis6991";
|
||||||
repo = "gitsigns.nvim";
|
repo = "gitsigns.nvim";
|
||||||
rev = "498abfa13dd749be963bc87a5b37da0d3e42a50e";
|
rev = "f83a2e11cd7a486e92f3c6630e71e93a073a11da";
|
||||||
sha256 = "+2mRED2gumFlgKJRYNt+Ex/ZgmMg25ANKaY++7C9ooU=";
|
sha256 = "sha256-ETL48URksxE9q3kz7eAEiYSBH6VJ3lLNbHxobXbBlxY=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/lewis6991/gitsigns.nvim";
|
|
||||||
};
|
};
|
||||||
spellsitter-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
spellsitter-nvim = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "spellsitter.nvim";
|
pname = "spellsitter.nvim";
|
||||||
version = "1648571721";
|
version = "2022-03-29";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "lewis6991";
|
owner = "lewis6991";
|
||||||
repo = "spellsitter.nvim";
|
repo = "spellsitter.nvim";
|
||||||
rev = "f84e7a31c516f2a9cb857a02e4b551b009a81afb";
|
rev = "f84e7a31c516f2a9cb857a02e4b551b009a81afb";
|
||||||
sha256 = "lYyTA9hvxljNy0n3xZCCwC1e+W1mBBwdGDKXiWY1x4E=";
|
sha256 = "sha256-lYyTA9hvxljNy0n3xZCCwC1e+W1mBBwdGDKXiWY1x4E=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/lewis6991/spellsitter.nvim";
|
|
||||||
};
|
};
|
||||||
nvim-notify = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-notify = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-notify";
|
pname = "nvim-notify";
|
||||||
version = "1650187882";
|
version = "2022-04-17";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "rcarriga";
|
owner = "rcarriga";
|
||||||
repo = "nvim-notify";
|
repo = "nvim-notify";
|
||||||
rev = "2c8f744de34c72a5a1fabcc66da11aa017ffab88";
|
rev = "2c8f744de34c72a5a1fabcc66da11aa017ffab88";
|
||||||
sha256 = "FoFpLMDJANGCJeBSXcGHIaqJ6MaSKdTOknM7MLZDifk=";
|
sha256 = "sha256-FoFpLMDJANGCJeBSXcGHIaqJ6MaSKdTOknM7MLZDifk=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/rcarriga/nvim-notify";
|
|
||||||
};
|
};
|
||||||
nvim-visual-eof-lua = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
nvim-visual-eof-lua = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-visual-eof.lua";
|
pname = "nvim-visual-eof.lua";
|
||||||
version = "1615701642";
|
version = "2021-03-14";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "LumaKernel";
|
owner = "LumaKernel";
|
||||||
repo = "nvim-visual-eof.lua";
|
repo = "nvim-visual-eof.lua";
|
||||||
rev = "3c001c6cda4db5bf62ba33344e61e30230acd9eb";
|
rev = "3c001c6cda4db5bf62ba33344e61e30230acd9eb";
|
||||||
sha256 = "azT2Cv3G5/HHsu/PkW/vW0CmrnZ/T7Q6x9Mlypr6pFY=";
|
sha256 = "sha256-azT2Cv3G5/HHsu/PkW/vW0CmrnZ/T7Q6x9Mlypr6pFY=";
|
||||||
fetchSubmodules = true;
|
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/LumaKernel/nvim-visual-eof.lua";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
# Telescope
|
# Telescope
|
||||||
- src: nvim-telescope/telescope.nvim
|
- src: nvim-telescope/telescope.nvim
|
||||||
- src: natecraddock/telescope-zf-native.nvim
|
- src: natecraddock/telescope-zf-native.nvim
|
||||||
|
fetchSubmodules: true
|
||||||
nativeBuildInputs:
|
nativeBuildInputs:
|
||||||
- just
|
- just
|
||||||
- zigpkgs."0.9.1"
|
- zigpkgs."0.9.1"
|
||||||
|
|
|
@ -36,11 +36,18 @@ for plugin in "${plugin_array[@]}"; do
|
||||||
|
|
||||||
branch="$(echo "$plugin" | jq -r '.branch // empty')"
|
branch="$(echo "$plugin" | jq -r '.branch // empty')"
|
||||||
name="$(echo "$repo" | tr [.] '-')"
|
name="$(echo "$repo" | tr [.] '-')"
|
||||||
|
fetch_submodules="$(echo "$plugin" | jq -r '.fetchSubmodules // empty')"
|
||||||
|
|
||||||
|
if [ "$fetch_submodules" == "true" ]; then
|
||||||
|
nix_submodules="--fetchSubmodules"
|
||||||
|
else
|
||||||
|
nix_submodules=""
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$branch" ]; then
|
if [ -z "$branch" ]; then
|
||||||
src="$(nix-prefetch-github --nix --fetch-submodules --no-deep-clone "$owner" "$repo" 2>/dev/null | tail -n +4)"
|
src="$(nix-prefetch --output nix --silent fetchFromGitHub $nix_submodules --owner "$owner" --repo "$repo")"
|
||||||
else
|
else
|
||||||
src="$(nix-prefetch-github --nix --fetch-submodules --no-deep-clone --rev "$branch" "$owner" "$repo" 2>/dev/null | tail -n +4)"
|
src="$(nix-prefetch --output nix --silent fetchFromGitHub $nix_submodules --owner "$owner" --repo "$repo" --rev "$branch")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rev="$(echo "$src" | grep rev | cut -d '"' -f 2)"
|
rev="$(echo "$src" | grep rev | cut -d '"' -f 2)"
|
||||||
|
@ -51,13 +58,13 @@ for plugin in "${plugin_array[@]}"; do
|
||||||
commit_date="$(echo "$commit_info" | dasel -r json --plain '.commit.author.date')"
|
commit_date="$(echo "$commit_info" | dasel -r json --plain '.commit.author.date')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
version="$(date -d "$commit_date" "+%s")"
|
version="$(date -d "$commit_date" "+%Y-%m-%d")"
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "${name} = pkgs.vimUtils.buildVimPluginFrom2Nix {"
|
echo "${name} = pkgs.vimUtils.buildVimPluginFrom2Nix {"
|
||||||
echo "pname = \"${repo}\";"
|
echo "pname = \"${repo}\";"
|
||||||
echo "version = \"${version}\";"
|
echo "version = \"${version}\";"
|
||||||
echo "src = ${src};"
|
echo "src = pkgs.fetchFromGitHub ${src};"
|
||||||
} >>"$nix_new_file"
|
} >>"$nix_new_file"
|
||||||
|
|
||||||
build_inputs="$(echo "$plugin" | jq -r '.nativeBuildInputs // empty' | jq -r @sh)"
|
build_inputs="$(echo "$plugin" | jq -r '.nativeBuildInputs // empty' | jq -r @sh)"
|
||||||
|
@ -74,10 +81,7 @@ for plugin in "${plugin_array[@]}"; do
|
||||||
printf "buildPhase = ''\n%s\n'';\n" "$build_phase" >>"$nix_new_file"
|
printf "buildPhase = ''\n%s\n'';\n" "$build_phase" >>"$nix_new_file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{
|
echo '};' >>"$nix_new_file"
|
||||||
echo "meta.homepage = \"https://github.com/${owner}/${repo}\";"
|
|
||||||
echo '};'
|
|
||||||
} >>"$nix_new_file"
|
|
||||||
done
|
done
|
||||||
echo "}" >>"$nix_new_file"
|
echo "}" >>"$nix_new_file"
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ mkShell {
|
||||||
dasel
|
dasel
|
||||||
difftastic
|
difftastic
|
||||||
jq
|
jq
|
||||||
nix-prefetch-github
|
nix-prefetch
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue