1 { lib, stdenv, fetchFromGitHub, xrdb, xlsfonts }:
3 stdenv.mkDerivation rec {
4 pname = "urxvt-font-size";
7 src = fetchFromGitHub {
9 repo = "urxvt-font-size";
11 sha256 = "1526ap161cp3378f4ijd09nmsh71ld7bkxxhp8p6razdi2v8r16h";
15 substituteInPlace font-size \
16 --replace "xrdb -merge" "${xrdb}/bin/xrdb -merge" \
17 --replace "xlsfonts" "${xlsfonts}/bin/xlsfonts"
19 mkdir -p $out/lib/urxvt/perl
20 cp font-size $out/lib/urxvt/perl
24 description = "Change the urxvt font size on the fly";
25 homepage = "https://github.com/majutsushi/urxvt-font-size";
26 license = licenses.mit;
27 maintainers = with maintainers; [ cstrahan ];
28 platforms = with platforms; unix;