depot/third_party/nixpkgs/pkgs/development/python-modules/pygetwindow/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
752 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pyrect,
}:
buildPythonPackage rec {
pname = "pygetwindow";
version = "0.0.9";
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 = 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 ];
};
}