mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-22 08:54:59 +00:00
30 lines
757 B
Nix
30 lines
757 B
Nix
|
{ lib, mkTmuxPlugin, fetchFromGitHub, thumbs, substituteAll }:
|
||
|
|
||
|
mkTmuxPlugin rec {
|
||
|
pluginName = "tmux-thumbs";
|
||
|
version = "0.5.1-infdev";
|
||
|
rtpFilePath = "tmux-thumbs.tmux";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "FliegendeWurst";
|
||
|
repo = pluginName;
|
||
|
rev = "60824a826a0f64403fd45ded9be8cf3a130476b2";
|
||
|
sha256 = "sha256-3MKhZq2ks2rBYACf1kkfRxxXNexHjnQ6/+s1wCfqHeo=";
|
||
|
};
|
||
|
|
||
|
patches = [
|
||
|
(substituteAll {
|
||
|
src = ./fix.patch;
|
||
|
tmuxThumbsDir = "${thumbs}/bin";
|
||
|
})
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://github.com/FliegendeWurst/tmux-thumbs";
|
||
|
description = "tmux-thumbs with color support";
|
||
|
license = licenses.mit;
|
||
|
platforms = platforms.unix;
|
||
|
maintainers = with maintainers; [ fliegendewurst ];
|
||
|
};
|
||
|
}
|