python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / pyscreenshot / default.nix
blob6112062c91e9b8865aaf29ba5c75af7e121bbab0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   isPy3k,
6   easyprocess,
7   entrypoint2,
8   jeepney,
9   mss,
10   pillow,
13 buildPythonPackage rec {
14   pname = "pyscreenshot";
15   version = "3.1";
16   format = "setuptools";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-jA6T8K72amv+Vahqv87WvTlq5LT2zB428EoorSYlWU0=";
21   };
23   propagatedBuildInputs =
24     [
25       easyprocess
26       entrypoint2
27       pillow
28     ]
29     ++ lib.optionals (isPy3k) [
30       jeepney
31       mss
32     ];
34   # recursive dependency on pyvirtualdisplay
35   doCheck = false;
37   pythonImportsCheck = [ "pyscreenshot" ];
39   meta = with lib; {
40     description = "python screenshot";
41     homepage = "https://github.com/ponty/pyscreenshot";
42     license = licenses.bsd3;
43     maintainers = [ ];
44   };