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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sibson";
|
|
|
|
repo = "vncdotool";
|
2023-11-16 04:20:00 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "sha256-m8msWa8uUuDEjEUlXHCgYi0HFPKXLVXpXLyuQ3quNbA=";
|
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;
|
|
|
|
};
|
|
|
|
}
|