python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / terminal-emulators / rxvt-unicode-plugins / urxvt-font-size / default.nix
blob7824fa2a814b863badc0fbcab3c42854f6ee7539
1 { lib, stdenv, fetchFromGitHub, xrdb, xlsfonts }:
3 stdenv.mkDerivation rec {
4   pname = "urxvt-font-size";
5   version = "1.3";
7   src = fetchFromGitHub {
8     owner = "majutsushi";
9     repo = "urxvt-font-size";
10     rev = "v${version}";
11     sha256 = "1526ap161cp3378f4ijd09nmsh71ld7bkxxhp8p6razdi2v8r16h";
12   };
14   installPhase = ''
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
21   '';
23   meta = with lib; {
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;
29   };