diff --git a/pkgs/tools/X11/xvkbd/default.nix b/pkgs/tools/X11/xvkbd/default.nix new file mode 100644 index 000000000000..f365065c9c4b --- /dev/null +++ b/pkgs/tools/X11/xvkbd/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, imake, libXt, libXaw, libXtst, libXi, libXpm, xextproto, gccmakedep, Xaw3d }: + +stdenv.mkDerivation rec { + name = "xvkbd-${version}"; + version = "3.5"; + src = fetchurl { + url = "http://homepage3.nifty.com/tsato/xvkbd/xvkbd-${version}.tar.gz"; + sha256 = "1vlg5gl1bflx80prvwg6glw0g4fvbi6k3cy0pya0h7cz6nxbs6c8"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd5037db13a2..6ba6539655e1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2820,6 +2820,10 @@ let xvfb_run = callPackage ../tools/misc/xvfb-run { inherit (texFunctions) fontsConf; }; + xvkbd = callPackage ../tools/X11/xvkbd { + inherit (xlibs) libXt libXaw libXtst xextproto libXi libXpm gccmakedep; + }; + youtube-dl = callPackage ../tools/misc/youtube-dl { }; zbar = callPackage ../tools/graphics/zbar {