mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
79031203b8
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
36 lines
1.2 KiB
Nix
36 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;
|
|
};
|
|
}
|