1{ lib, buildPythonPackage, fetchurl, pkgconfig, gtk2, libX11, libXtst, libXi, libxkbfile, xextproto, xproto }: 2 3buildPythonPackage rec { 4 name = "virtkey-${version}"; 5 majorVersion = "0.63"; 6 version = "${majorVersion}.0"; 7 8 src = fetchurl { 9 url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz"; 10 sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 15 buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xextproto xproto ]; 16 17 meta = with lib; { 18 description = "Extension to emulate keypresses and to get the layout information from the X server"; 19 homepage = https://launchpad.net/virtkey; 20 license = licenses.gpl3; 21 maintainers = with maintainers; [ abbradar ]; 22 }; 23}