nixpkgs/pkgs/tools/X11/xvkbd/default.nix

31 lines
1.1 KiB
Nix
Raw Normal View History

2014-11-15 20:35:52 +00:00
{ stdenv, fetchurl, imake, libXt, libXaw, libXtst, libXi, libXpm, xextproto, gccmakedep, Xaw3d }:
stdenv.mkDerivation rec {
name = "xvkbd-${version}";
2015-11-01 12:04:22 +00:00
version = "3.7";
2014-11-15 20:35:52 +00:00
src = fetchurl {
url = "http://homepage3.nifty.com/tsato/xvkbd/xvkbd-${version}.tar.gz";
2015-11-01 12:04:22 +00:00
sha256 = "02y9ks9sa4sn3vkbgswjs5qcd85xhwvarnmhg41pq3l2d617cpw9";
2014-11-15 20:35:52 +00:00
};
buildInputs = [ imake libXt libXaw libXtst xextproto libXi Xaw3d libXpm gccmakedep ];
installTargets = [ "install" "install.man" ];
preBuild = ''
makeFlagsArray=( BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults MANPATH=$out/man )
'';
configurePhase = '' xmkmf -a '';
meta = with stdenv.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://homepage3.nifty.com/tsato/xvkbd/;
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
};
}