python312Packages.aiowmi: init at 0.2.3 (#359995)

This commit is contained in:
Fabian Affolter 2024-11-30 10:05:36 +01:00 committed by GitHub
commit c363307fac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -473,6 +473,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 { };