1{ lib, fetchFromGitHub
2, buildPythonPackage, isPy27
3, pillow
4, twisted
5, pexpect
6, nose
7, ptyprocess
8}:
9
10buildPythonPackage rec {
11 pname = "vncdo";
12 version = "1.1.0";
13
14 src = fetchFromGitHub {
15 owner = "sibson";
16 repo = "vncdotool";
17 rev = "refs/tags/v${version}";
18 sha256 = "sha256-m8msWa8uUuDEjEUlXHCgYi0HFPKXLVXpXLyuQ3quNbA=";
19 };
20
21 propagatedBuildInputs = [
22 pillow
23 twisted
24 pexpect
25 nose
26 ptyprocess
27 ];
28
29 doCheck = !isPy27;
30
31 meta = with lib; {
32 homepage = "https://github.com/sibson/vncdotool";
33 description = "A command line VNC client and python library";
34 license = licenses.mit;
35 maintainers = with maintainers; [ elitak ];
36 mainProgram = pname;
37 platforms = with platforms; linux ++ darwin;
38 };
39}