add zoxide.vim

This commit is contained in:
Michael Flossmann 2024-08-30 11:48:20 +02:00
parent 58fd3c46c4
commit c8c5184e36
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{lib, pkgs, ...}:{
extra = {
packages = [
(import ./package.nix { inherit lib pkgs; })
];
};
}

View 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 = "";
# };
}