nixpkgs-suyu/pkgs/tools/X11/xvkbd/default.nix
Sergei Trofimovich 79031203b8 xvkbd: explicitly set LIBDIR and CONFDIR
In preparation to fix long-standing `imake` bug #135337 we need
to set `LIBDIR` and `CONFDIR` away from incorrectly embedded
`xorg-cf-files`. Before #135337 the package worked by chance.

Issue: https://github.com/NixOS/nixpkgs/issues/135337
2021-09-06 07:46:13 +01:00

35 lines
1.2 KiB
Nix

{ lib, stdenv, fetchurl, imake, libXt, libXaw, libXtst
, libXi, libXpm, xorgproto, gccmakedep, Xaw3d }:
stdenv.mkDerivation {
pname = "xvkbd";
version = "3.9";
src = fetchurl {
url = "http://t-sato.in.coocan.jp/xvkbd/xvkbd-3.9.tar.gz";
sha256 = "17csj6x5zm3g67izfwhagkal1rbqzpw09lqmmlyrjy3vzgfkf75q";
};
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [ libXt libXaw libXtst xorgproto libXi Xaw3d libXpm ];
installTargets = [ "install" "install.man" ];
makeFlags = [
"BINDIR=${placeholder "out"}/bin"
"CONFDIR=${placeholder "out"}/etc/X11"
"LIBDIR=${placeholder "out"}/lib/X11"
"XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
"MANPATH=${placeholder "out"}/man"
];
meta = with lib; {
description = "Virtual keyboard for X window system";
longDescription = ''
xvkbd is a virtual (graphical) keyboard program for X Window System which provides
facility to enter characters onto other clients (softwares) by clicking on a
keyboard displayed on the screen.
'';
homepage = "http://t-sato.in.coocan.jp/xvkbd";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bennofs ];
platforms = platforms.linux;
};
}