perlPackages.NetAsyncWebSocket: 0.13 -> 0.14 (#352432)
[NixPkgs.git] / pkgs / development / python-modules / vncdo / default.nix
blob76fb2fc98ef54f53523e87ffa19127e91e305539
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pexpect,
6   pillow,
7   pycryptodomex,
8   pytestCheckHook,
9   pythonOlder,
10   pyvirtualdisplay,
11   setuptools,
12   twisted,
15 buildPythonPackage rec {
16   pname = "vncdo";
17   version = "1.2.0";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "sibson";
24     repo = "vncdotool";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-QrD6z/g85FwaZCJ1PRn8CBKCOQcbVjQ9g0NpPIxguqk=";
27   };
29   nativeBuildInputs = [ setuptools ];
31   propagatedBuildInputs = [
32     pillow
33     pycryptodomex
34     twisted
35   ];
37   nativeCheckInputs = [
38     pexpect
39     pytestCheckHook
40     pyvirtualdisplay
41   ];
43   pythonImportsCheck = [ "vncdotool" ];
45   meta = with lib; {
46     description = "Command line VNC client and Python library";
47     homepage = "https://github.com/sibson/vncdotool";
48     changelog = "https://github.com/sibson/vncdotool/releases/tag/v${version}";
49     license = licenses.mit;
50     maintainers = with maintainers; [ elitak ];
51     mainProgram = "vncdo";
52     platforms = with platforms; linux ++ darwin;
53   };