nixpkgs/pkgs/development/python-modules/pygetwindow/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
749 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 = "Simple, cross-platform module for obtaining GUI information on applications' windows";
homepage = "https://github.com/asweigart/PyGetWindow";
license = licenses.bsd3;
maintainers = with maintainers; [ lucasew ];
};
}