summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pygetwindow/default.nix
blob: cccaf6629b9c4e734a9db1fff1668888b33f8bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pyrect,
}:
buildPythonPackage rec {
  pname = "pygetwindow";
  version = "0.0.9";
  format = "setuptools";

  src = fetchPypi {
    pname = "PyGetWindow";
    inherit version;
    hash = "sha256-F4lDVefSswXNgy1xdwg4QBfBaYqQziT29/vwJC3Qpog=";
  };

  doCheck = false;
  # This lib officially only works completely on Windows and partially on MacOS but pyautogui requires it
  # pythonImportsCheck = [ "pygetwindow" ];

  propagatedBuildInputs = [ pyrect ];

  meta = {
    description = "Simple, cross-platform module for obtaining GUI information on applications' windows";
    homepage = "https://github.com/asweigart/PyGetWindow";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ lucasew ];
  };
}