python312Packages.winctl: init at 0.4

pywinctl
This commit is contained in:
Sigmanificient 2024-08-19 19:31:37 +02:00
parent d45e32544a
commit 35840986b6
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
ewmhlib,
pymonctl,
pywinbox,
xlib,
typing-extensions,
}:
buildPythonPackage rec {
version = "0.4";
pname = "pywinctl";
pyproject = true;
src = fetchFromGitHub {
owner = "Kalmat";
repo = "pywinctl";
rev = "refs/tags/v${version}";
hash = "sha256-n7P12+8e1pPnJQrsYnRiYlzsKJTIYPH+iF1FuRx8A7M=";
};
build-system = [ setuptools ];
dependencies = [
ewmhlib
pymonctl
pywinbox
xlib
typing-extensions
];
# requires x session (use ewmhlib)
pythonImportsCheck = [ ];
doCheck = false;
meta = {
homepage = "https://github.com/Kalmat/PyWinCtl";
license = lib.licenses.bsd3;
description = "Cross-Platform module to get info on and control windows on screen";
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@ -13856,6 +13856,8 @@ self: super: with self; {
pywinbox = callPackage ../development/python-modules/pywinbox { };
pywinctl = callPackage ../development/python-modules/pywinctl { };
pywinrm = callPackage ../development/python-modules/pywinrm { };
pywizlight = callPackage ../development/python-modules/pywizlight { };