Merge pull request #20805 from danbst/rxvt-vtwheel

urxvt: add vtwheel extension
This commit is contained in:
Jörg Thalheim 2016-12-02 08:27:51 +01:00 committed by GitHub
commit acddb5d367
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchgit, perl }:
stdenv.mkDerivation {
name = "rxvt_unicode-vtwheel-0.3.2";
src = fetchgit {
url = "https://aur.archlinux.org/urxvt-vtwheel.git";
rev = "36d3e861664aeae36a45f96100f10f8fe2218035";
sha256 = "1h3vrsbli5q9kr84j5ijbivlhpwlh3l8cv233pg362v2zz4ja8i7";
};
installPhase = ''
sed -i 's|#! perl|#! ${perl}/bin/perl|g' vtwheel
mkdir -p $out/lib/urxvt/perl
cp vtwheel $out/lib/urxvt/perl
'';
meta = with stdenv.lib; {
description = "Pass mouse wheel commands to secondary screens (screen, less, nano, etc)";
homepage = "https://aur.archlinux.org/packages/urxvt-vtwheel";
license = licenses.mit;
maintainers = with maintainers; [ danbst ];
platforms = with platforms; unix;
};
}

View file

@ -14502,6 +14502,7 @@ in
urxvt_tabbedex
urxvt_font_size
urxvt_theme_switch
urxvt_vtwheel
];
};
@ -14511,6 +14512,7 @@ in
urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { };
urxvt_font_size = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-font-size { };
urxvt_theme_switch = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-theme-switch { };
urxvt_vtwheel = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-vtwheel.nix { };
uade123 = callPackage ../applications/audio/uade123 {};