vncdo: 0.11.2 -> 0.12.0 (#106380)

* Use pythonPackages instead of python2Packages

* Add vncdo to top-level/python-packages so the library can be used by
other Python programs
* Use toPythonApplication for vnc in top-level/all-packages
* run tests if using Python 3+
* move expression to development/python-modules
This commit is contained in:
Evan Stoll
2020-12-10 21:27:43 +00:00
committed by GitHub
parent f8e50c3058
commit 095ecf7356
3 changed files with 15 additions and 8 deletions
-33
View File
@@ -1,33 +0,0 @@
{ stdenv, fetchFromGitHub
, python2Packages
}:
python2Packages.buildPythonPackage {
pname = "vncdo";
version = "0.11.2";
src = fetchFromGitHub {
owner = "sibson";
repo = "vncdotool";
rev = "5c03a82dcb5a3bd9e8f741f8a8d0c1ce082f2834";
sha256 = "0k03b09ipsz8vp362x7sx7z68mxgqw9qzvkii2f8j9vx2y79rjsh";
};
propagatedBuildInputs = with python2Packages; [
pillow
twisted
pexpect
nose
ptyprocess
];
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/sibson/vncdotool";
description = "A command line VNC client and python library";
license = licenses.mit;
maintainers = with maintainers; [ elitak ];
platforms = with platforms; linux ++ darwin;
};
}