2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pyrect
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "pygetwindow";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.0.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "PyGetWindow";
|
|
|
|
inherit version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-F4lDVefSswXNgy1xdwg4QBfBaYqQziT29/vwJC3Qpog=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
# This lib officially only works completely on Windows and partially on MacOS but pyautogui requires it
|
|
|
|
# pythonImportsCheck = [ "pygetwindow" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyrect
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple, cross-platform module for obtaining GUI information on applications' windows.";
|
|
|
|
homepage = "https://github.com/asweigart/PyGetWindow";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ lucasew ];
|
|
|
|
};
|
|
|
|
}
|