2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub
|
2020-12-10 21:27:43 +00:00
|
|
|
, buildPythonPackage, isPy27
|
|
|
|
, pillow
|
|
|
|
, twisted
|
|
|
|
, pexpect
|
|
|
|
, nose
|
|
|
|
, ptyprocess
|
2017-12-08 18:43:14 +00:00
|
|
|
}:
|
2020-12-10 21:27:43 +00:00
|
|
|
buildPythonPackage rec {
|
2017-12-08 18:43:14 +00:00
|
|
|
pname = "vncdo";
|
2020-12-10 21:27:43 +00:00
|
|
|
version = "0.12.0";
|
2017-12-08 18:43:14 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sibson";
|
|
|
|
repo = "vncdotool";
|
2020-12-10 21:27:43 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0h3ccr8zi7xpgn6hz43x1045x5l4bhha7py8x00g8bv6gaqlbwxn";
|
2017-12-08 18:43:14 +00:00
|
|
|
};
|
|
|
|
|
2020-12-10 21:27:43 +00:00
|
|
|
propagatedBuildInputs = [
|
2017-12-08 18:43:14 +00:00
|
|
|
pillow
|
|
|
|
twisted
|
|
|
|
pexpect
|
|
|
|
nose
|
|
|
|
ptyprocess
|
|
|
|
];
|
|
|
|
|
2020-12-10 21:27:43 +00:00
|
|
|
doCheck = !isPy27;
|
2020-01-10 20:02:44 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sibson/vncdotool";
|
2017-12-08 18:43:14 +00:00
|
|
|
description = "A command line VNC client and python library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|