2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, perl }:
|
2016-11-30 01:38:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "rxvt-unicode-vtwheel";
|
|
|
|
version = "0.3.2";
|
2016-11-30 01:38:11 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2021-11-07 13:50:48 +00:00
|
|
|
url = "https://aur.archlinux.org/urxvt-vtwheel.git";
|
|
|
|
rev = "36d3e861664aeae36a45f96100f10f8fe2218035";
|
|
|
|
sha256 = "1h3vrsbli5q9kr84j5ijbivlhpwlh3l8cv233pg362v2zz4ja8i7";
|
2016-11-30 01:38:11 +00:00
|
|
|
};
|
2020-10-28 15:34:17 +00:00
|
|
|
|
2016-11-30 01:38:11 +00:00
|
|
|
installPhase = ''
|
|
|
|
sed -i 's|#! perl|#! ${perl}/bin/perl|g' vtwheel
|
|
|
|
mkdir -p $out/lib/urxvt/perl
|
|
|
|
cp vtwheel $out/lib/urxvt/perl
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-30 01:38:11 +00:00
|
|
|
description = "Pass mouse wheel commands to secondary screens (screen, less, nano, etc)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://aur.archlinux.org/packages/urxvt-vtwheel";
|
2016-11-30 01:38:11 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ danbst ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
2020-10-28 15:34:17 +00:00
|
|
|
|
2020-02-13 08:38:16 +00:00
|
|
|
}
|