at master 919 B view raw
1{ 2 stdenv, 3 lib, 4 buildPythonPackage, 5 fetchurl, 6 pkg-config, 7 gtk2, 8 libX11, 9 libXtst, 10 libXi, 11 libxkbfile, 12 xorgproto, 13}: 14 15let 16 majorVersion = "0.63"; 17 minorVersion = "0"; 18in 19buildPythonPackage rec { 20 pname = "virtkey"; 21 version = "${majorVersion}.${minorVersion}"; 22 format = "setuptools"; 23 24 src = fetchurl { 25 url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz"; 26 sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr"; 27 }; 28 29 nativeBuildInputs = [ pkg-config ]; 30 31 buildInputs = [ 32 gtk2 33 libX11 34 libXtst 35 libXi 36 libxkbfile 37 xorgproto 38 ]; 39 40 meta = with lib; { 41 broken = stdenv.hostPlatform.isDarwin; 42 description = "Extension to emulate keypresses and to get the layout information from the X server"; 43 homepage = "https://launchpad.net/virtkey"; 44 license = licenses.gpl3; 45 maintainers = [ ]; 46 }; 47}