1 { stdenv, lib, buildPythonPackage, fetchurl, pkg-config, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }:
6 in buildPythonPackage rec {
8 version = "${majorVersion}.${minorVersion}";
12 url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
13 sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
16 nativeBuildInputs = [ pkg-config ];
18 buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xorgproto ];
21 broken = stdenv.isDarwin;
22 description = "Extension to emulate keypresses and to get the layout information from the X server";
23 homepage = "https://launchpad.net/virtkey";
24 license = licenses.gpl3;
25 maintainers = with maintainers; [ abbradar ];