python312Packages.aiowmi: init at 0.2.3 (#359995)
This commit is contained in:
commit
c363307fac
40
pkgs/development/python-modules/aiowmi/default.nix
Normal file
40
pkgs/development/python-modules/aiowmi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user