mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
7ed4633ca3
Signed-off-by: lucasew <lucas59356@gmail.com>
30 lines
733 B
Nix
30 lines
733 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyrect
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "PyGetWindow";
|
|
version = "0.0.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|