diff options
Diffstat (limited to 'nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix')
-rw-r--r-- | nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix b/nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix index f55a2dbe7b60..80aa40e866cb 100644 --- a/nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix +++ b/nixpkgs/pkgs/misc/tmux-plugins/tmux-thumbs/default.nix @@ -1,16 +1,11 @@ -{ lib, mkTmuxPlugin, fetchFromGitHub, thumbs, substituteAll }: +{ mkTmuxPlugin, thumbs, substituteAll }: -mkTmuxPlugin rec { - pluginName = "tmux-thumbs"; - version = "0.7.1"; - rtpFilePath = "tmux-thumbs.tmux"; +mkTmuxPlugin { + + inherit (thumbs) version src meta; - src = fetchFromGitHub { - owner = "fcsonline"; - repo = pluginName; - rev = version; - sha256 = "sha256-PH1nscmVhxJFupS7dlbOb+qEwG/Pa/2P6XFIbR/cfaQ="; - }; + pluginName = thumbs.src.repo; + rtpFilePath = "tmux-thumbs.tmux"; patches = [ (substituteAll { @@ -19,11 +14,4 @@ mkTmuxPlugin rec { }) ]; - meta = with lib; { - homepage = "https://github.com/fcsonline/tmux-thumbs"; - description = "A lightning fast version of tmux-fingers written in Rust for copy pasting with vimium/vimperator like hints."; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ ghostbuster91 ]; - }; } |