2022-05-08 07:43:53 +00:00
|
|
|
{ lib, stdenv, fetchurl, libXt, libXaw, libXtst
|
|
|
|
, libXi, libXpm, pkg-config, xorgproto, Xaw3d }:
|
2014-11-15 20:35:52 +00:00
|
|
|
|
2022-05-08 07:43:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xvkbd";
|
2022-05-08 07:43:53 +00:00
|
|
|
version = "4.1";
|
2014-11-15 20:35:52 +00:00
|
|
|
src = fetchurl {
|
2022-05-08 07:43:53 +00:00
|
|
|
url = "http://t-sato.in.coocan.jp/xvkbd/xvkbd-${version}.tar.gz";
|
|
|
|
sha256 = "1x5yldv9y99cw5hzzs73ygdn1z80zns9hz0baa355r711zghfbcm";
|
2014-11-15 20:35:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-08 07:43:53 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ] ;
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ libXt libXaw libXtst xorgproto libXi Xaw3d libXpm ];
|
2022-05-08 07:43:53 +00:00
|
|
|
|
2018-11-28 03:37:05 +00:00
|
|
|
makeFlags = [
|
2022-05-08 07:43:53 +00:00
|
|
|
# avoid default libXt location
|
|
|
|
"appdefaultdir=${placeholder "out"}/share/X11/app-defaults"
|
|
|
|
"datarootdir=${placeholder "out"}/share"
|
2018-11-28 03:37:05 +00:00
|
|
|
];
|
2014-11-15 20:35:52 +00:00
|
|
|
|
2022-05-08 07:43:53 +00:00
|
|
|
preInstall = ''
|
|
|
|
# workaround absence of libXt in $DESTDIR location.
|
|
|
|
mkdir -p $out/share/X11
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Virtual keyboard for X window system";
|
2014-11-15 20:35:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://t-sato.in.coocan.jp/xvkbd";
|
2014-11-15 20:35:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.bennofs ];
|
2014-11-19 11:38:46 +00:00
|
|
|
platforms = platforms.linux;
|
2014-11-15 20:35:52 +00:00
|
|
|
};
|
|
|
|
}
|