add zoxide.vim
This commit is contained in:
parent
6c588d3e01
commit
14c5e44ebd
2 changed files with 28 additions and 0 deletions
7
plugins/zoxide.vim/default.nix
Normal file
7
plugins/zoxide.vim/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{lib, pkgs, ...}:{
|
||||||
|
extra = {
|
||||||
|
packages = [
|
||||||
|
(import ./package.nix { inherit lib pkgs; })
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
21
plugins/zoxide.vim/package.nix
Normal file
21
plugins/zoxide.vim/package.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
let
|
||||||
|
version = "b1e70b6fc1682a83929aee63680d2b43456fe9a5";
|
||||||
|
owner = "nanotee";
|
||||||
|
repo = "zoxide.vim";
|
||||||
|
in
|
||||||
|
pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "zoxide.vim";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = builtins.fetchTarball {
|
||||||
|
url = "http://github.com/${owner}/${repo}/archive/${version}.tar.gz";
|
||||||
|
sha256 = "sha256:025rqfs0n2ryi7xwzpq5h2r7jhvxbrb2gjp6fqa072hapgqr0igb";
|
||||||
|
};
|
||||||
|
# src = pkgs.fetchFromGitHub {
|
||||||
|
# owner = "nanotee";
|
||||||
|
# repo = "zoxide.vim";
|
||||||
|
# rev = version;
|
||||||
|
# hash = "";
|
||||||
|
# };
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue