Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / vncdo / default.nix
blob5f27bba823c471d9b33648a64e97c4160681b3ee
1 { lib, fetchFromGitHub
2 , buildPythonPackage, isPy27
3 , pillow
4 , twisted
5 , pexpect
6 , nose
7 , ptyprocess
8 }:
10 buildPythonPackage rec {
11   pname = "vncdo";
12   version = "1.1.0";
14   src = fetchFromGitHub {
15     owner = "sibson";
16     repo = "vncdotool";
17     rev = "refs/tags/v${version}";
18     sha256 = "sha256-m8msWa8uUuDEjEUlXHCgYi0HFPKXLVXpXLyuQ3quNbA=";
19   };
21   propagatedBuildInputs = [
22     pillow
23     twisted
24     pexpect
25     nose
26     ptyprocess
27   ];
29   doCheck = !isPy27;
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   };