13 buildPythonPackage rec {
14 pname = "pyscreenshot";
16 format = "setuptools";
19 inherit pname version;
20 hash = "sha256-jA6T8K72amv+Vahqv87WvTlq5LT2zB428EoorSYlWU0=";
23 propagatedBuildInputs =
29 ++ lib.optionals (isPy3k) [
34 # recursive dependency on pyvirtualdisplay
37 pythonImportsCheck = [ "pyscreenshot" ];
40 description = "python screenshot";
41 homepage = "https://github.com/ponty/pyscreenshot";
42 license = licenses.bsd3;