blob: 7d3d69122f6277b1c321b55f7a145f320fe869c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, stdenv, fetchgit, perl }:
stdenv.mkDerivation {
pname = "rxvt-unicode-vtwheel";
version = "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 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;
};
}
|