about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygetwindow
diff options
context:
space:
mode:
authorlucasew <lucas59356@gmail.com>2021-12-04 07:33:09 -0300
committerlucasew <lucas59356@gmail.com>2021-12-05 15:53:35 -0300
commit7ed4633ca3ae608b2b0d02de25f670f041b5b830 (patch)
treef28ea2aa267b2ceb8fdd0bb52ef276ba3df07a52 /pkgs/development/python-modules/pygetwindow
parent98111a6214fcd5d3bac85cb45e17b2948875642b (diff)
pygetwindow: init at 0.0.9
Signed-off-by: lucasew <lucas59356@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/pygetwindow')
-rw-r--r--pkgs/development/python-modules/pygetwindow/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pygetwindow/default.nix b/pkgs/development/python-modules/pygetwindow/default.nix
new file mode 100644
index 0000000000000..3ca4621157684
--- /dev/null
+++ b/pkgs/development/python-modules/pygetwindow/default.nix
@@ -0,0 +1,29 @@
+{ 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 ];
+  };
+}