depot/third_party/nixpkgs/pkgs/development/python-modules/virtkey/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

26 lines
859 B
Nix

{ stdenv, lib, buildPythonPackage, fetchurl, pkg-config, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }:
let
majorVersion = "0.63";
minorVersion = "0";
in buildPythonPackage rec {
pname = "virtkey";
version = "${majorVersion}.${minorVersion}";
src = fetchurl {
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xorgproto ];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Extension to emulate keypresses and to get the layout information from the X server";
homepage = "https://launchpad.net/virtkey";
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}