Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyscreenshot / default.nix
blob50a1389fbb238707c09d4d4503fd7705ad19346d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy3k
5 , easyprocess
6 , entrypoint2
7 , jeepney
8 , mss
9 , pillow
12 buildPythonPackage rec {
13   pname = "pyscreenshot";
14   version = "3.1";
15   format = "setuptools";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "sha256-jA6T8K72amv+Vahqv87WvTlq5LT2zB428EoorSYlWU0=";
20   };
22   propagatedBuildInputs = [
23     easyprocess
24     entrypoint2
25     pillow
26   ] ++ lib.optionals (isPy3k) [
27     jeepney
28     mss
29   ];
31   # recursive dependency on pyvirtualdisplay
32   doCheck = false;
34   pythonImportsCheck = [ "pyscreenshot" ];
36   meta = with lib; {
37     description = "python screenshot";
38     homepage = "https://github.com/ponty/pyscreenshot";
39     license = licenses.bsd3;
40     maintainers = with maintainers; [ ];
41   };