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