1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python.pkgs.virtkey: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:27:25 +03:00
parent 2cad4e61db
commit c17b05e94e
2 changed files with 24 additions and 25 deletions

View file

@ -0,0 +1,23 @@
{ 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 ];
};
}

View file

@ -17560,31 +17560,7 @@ in {
};
};
virtkey = buildPythonPackage rec {
name = "virtkey-${version}";
majorVersion = "0.63";
version = "${majorVersion}.0";
src = pkgs.fetchurl {
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
};
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs =
[ pkgs.gtk2 ]
++ (with pkgs.xorg; [ libX11 libXtst libXi libxkbfile xextproto xproto ]);
meta = {
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 ];
};
};
virtkey = callPackage ../development/python-modules/virtkey { };
virtual-display = buildPythonPackage rec {
name = "PyVirtualDisplay-0.1.5";