2018-12-31 03:40:47 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, pkgconfig, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }:
|
2018-02-25 17:27:25 +00:00
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
let
|
2018-02-25 17:27:25 +00:00
|
|
|
majorVersion = "0.63";
|
2018-06-23 13:27:58 +00: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";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
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 01:11:51 +00:00
|
|
|
homepage = "https://launchpad.net/virtkey";
|
2018-02-25 17:27:25 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|