Merge pull request #286459 from fabaff/aioapcaccess

python311Packages.aioapcaccess: init at 0.4.2
This commit is contained in:
Fabian Affolter 2024-02-06 23:51:20 +01:00 committed by GitHub
commit ce969af85f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "aioapcaccess";
version = "0.4.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "yuxincs";
repo = "aioapcaccess";
rev = "refs/tags/v${version}";
hash = "sha256-Ig9aQduM9wby3DzPjvbubihopwhdMXHovMo3Id47mRk=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"aioapcaccess"
];
meta = with lib; {
description = "Module for working with apcaccess";
homepage = "https://github.com/yuxincs/aioapcaccess";
changelog = "https://github.com/yuxincs/aioapcaccess/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -188,7 +188,8 @@
aiokafka
];
"apcupsd" = ps: with ps; [
]; # missing inputs: aioapcaccess
aioapcaccess
];
"api" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
@ -5752,6 +5753,7 @@
"anova"
"anthemav"
"apache_kafka"
"apcupsd"
"api"
"apple_tv"
"application_credentials"

View File

@ -153,6 +153,8 @@ self: super: with self; {
aioambient = callPackage ../development/python-modules/aioambient { };
aioapcaccess = callPackage ../development/python-modules/aioapcaccess { };
aioapns = callPackage ../development/python-modules/aioapns { };
aiocron = callPackage ../development/python-modules/aiocron { };