2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub
|
2020-12-25 13:55:36 +00:00
|
|
|
, buildPythonPackage, isPy27
|
|
|
|
, pillow
|
|
|
|
, twisted
|
|
|
|
, pexpect
|
|
|
|
, nose
|
|
|
|
, ptyprocess
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "vncdo";
|
2020-12-25 13:55:36 +00:00
|
|
|
version = "0.12.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sibson";
|
|
|
|
repo = "vncdotool";
|
2020-12-25 13:55:36 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0h3ccr8zi7xpgn6hz43x1045x5l4bhha7py8x00g8bv6gaqlbwxn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
propagatedBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
pillow
|
|
|
|
twisted
|
|
|
|
pexpect
|
|
|
|
nose
|
|
|
|
ptyprocess
|
|
|
|
];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
doCheck = !isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/sibson/vncdotool";
|
|
|
|
description = "A command line VNC client and python library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|