mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
24 lines
799 B
Nix
24 lines
799 B
Nix
{ lib, buildPythonPackage, fetchurl, pkgconfig, gtk2, libX11, libXtst, libXi, libxkbfile, xextproto, xproto }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "virtkey-${version}";
|
|
majorVersion = "0.63";
|
|
version = "${majorVersion}.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
|
|
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xextproto xproto ];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|