Merge pull request #296997 from fabaff/aioraven
python311Packages.aioraven: init at 0.5.2
This commit is contained in:
commit
69cc0a5ba5
53
pkgs/development/python-modules/aioraven/default.nix
Normal file
53
pkgs/development/python-modules/aioraven/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
, iso4217
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioraven";
|
||||
version = "0.5.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cottsay";
|
||||
repo = "aioraven";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ysmIxWy+gufX5oUfQ7Zw5xv0t/yxihFB+eAdYAWAmXs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
iso4217
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioraven"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for communication with RAVEn devices";
|
||||
homepage = "https://github.com/cottsay/aioraven";
|
||||
changelog = "https://github.com/cottsay/aioraven/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4026,12 +4026,13 @@
|
||||
aiohttp-cors
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
aioraven
|
||||
fnv-hash-fast
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
pyudev
|
||||
sqlalchemy
|
||||
]; # missing inputs: aioraven
|
||||
];
|
||||
"rainmachine" = ps: with ps; [
|
||||
regenmaschine
|
||||
];
|
||||
@ -6396,6 +6397,7 @@
|
||||
"radiotherm"
|
||||
"rainbird"
|
||||
"rainforest_eagle"
|
||||
"rainforest_raven"
|
||||
"rainmachine"
|
||||
"random"
|
||||
"rapt_ble"
|
||||
|
@ -361,6 +361,8 @@ self: super: with self; {
|
||||
|
||||
aioquic = callPackage ../development/python-modules/aioquic { };
|
||||
|
||||
aioraven = callPackage ../development/python-modules/aioraven { };
|
||||
|
||||
aiorecollect = callPackage ../development/python-modules/aiorecollect { };
|
||||
|
||||
aioredis = callPackage ../development/python-modules/aioredis { };
|
||||
|
Loading…
Reference in New Issue
Block a user