
If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
31 lines
774 B
Nix
31 lines
774 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pyrect,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pygetwindow";
|
|
version = "0.0.9";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|