python312Packages.aiowmi: init at 0.2.3

Python WMI Queries

https://github.com/cesbit/aiowmi
This commit is contained in:
Fabian Affolter 2024-11-24 11:42:19 +01:00
parent 9ef587a977
commit 2b1e9f0252
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodome,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aiowmi";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "cesbit";
repo = "aiowmi";
rev = "refs/tags/v${version}";
hash = "sha256-bKxGIUxGAW1GDa5xlv9NNWr5xLTdpK5dSsym/5y9nGQ=";
};
build-system = [ setuptools ];
dependencies = [ pycryptodome ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aiowmi" ];
meta = {
description = "Python WMI Queries";
homepage = "https://github.com/cesbit/aiowmi";
changelog = "https://github.com/cesbit/aiowmi/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -471,6 +471,8 @@ self: super: with self; {
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
aiowmi = callPackage ../development/python-modules/aiowmi { };
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
aiowithings = callPackage ../development/python-modules/aiowithings { };