2021-01-19 06:50:56 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, pkg-config, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }:
|
2018-02-25 17:27:25 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
let
|
2018-02-25 17:27:25 +00:00
|
|
|
majorVersion = "0.63";
|
2018-06-23 14:27:58 +01:00
|
|
|
minorVersion = "0";
|
|
|
|
in buildPythonPackage rec {
|
|
|
|
pname = "virtkey";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
2018-02-25 17:27:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
|
|
|
|
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-02-25 17:27:25 +00:00
|
|
|
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xorgproto ];
|
2018-02-25 17:27:25 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Extension to emulate keypresses and to get the layout information from the X server";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/virtkey";
|
2018-02-25 17:27:25 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|