diff options
Diffstat (limited to 'pkgs/development/python-modules/virtkey/default.nix')
-rw-r--r-- | pkgs/development/python-modules/virtkey/default.nix | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/virtkey/default.nix b/pkgs/development/python-modules/virtkey/default.nix index df1d0461e434..553721e83eea 100644 --- a/pkgs/development/python-modules/virtkey/default.nix +++ b/pkgs/development/python-modules/virtkey/default.nix @@ -1,9 +1,22 @@ -{ stdenv, lib, buildPythonPackage, fetchurl, pkg-config, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }: +{ + stdenv, + lib, + buildPythonPackage, + fetchurl, + pkg-config, + gtk2, + libX11, + libXtst, + libXi, + libxkbfile, + xorgproto, +}: let majorVersion = "0.63"; minorVersion = "0"; -in buildPythonPackage rec { +in +buildPythonPackage rec { pname = "virtkey"; version = "${majorVersion}.${minorVersion}"; format = "setuptools"; @@ -15,10 +28,17 @@ in buildPythonPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xorgproto ]; + buildInputs = [ + gtk2 + libX11 + libXtst + libXi + libxkbfile + xorgproto + ]; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; description = "Extension to emulate keypresses and to get the layout information from the X server"; homepage = "https://launchpad.net/virtkey"; license = licenses.gpl3; |