Merge pull request #205621 from fabaff/aranet4

python310Packages.aranet4: init at 2.1.2
This commit is contained in:
Fabian Affolter 2022-12-12 09:18:20 +01:00 committed by GitHub
commit 3b7307700e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{ lib
, bleak
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "aranet4";
version = "2.1.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Anrijs";
repo = "Aranet4-Python";
rev = "refs/tags/v${version}";
hash = "sha256-5q4eOC9iuN8pUmDsiQ7OwEXkxi4KdL+bhGVjlQlTBAg=";
};
propagatedBuildInputs = [
bleak
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aranet4"
];
meta = with lib; {
description = "Module to interact with Aranet4 devices";
homepage = "https://github.com/Anrijs/Aranet4-Python";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -181,6 +181,7 @@
]; # missing inputs: sharp_aquos_rc
"aranet" = ps: with ps; [
aiohttp-cors
aranet4
bleak-retry-connector
bleak
bluetooth-adapters
@ -194,7 +195,7 @@
pyserial
pyudev
sqlalchemy
]; # missing inputs: aranet4
];
"arcam_fmj" = ps: with ps; [
arcam-fmj
];
@ -4116,6 +4117,7 @@
"application_credentials"
"apprise"
"aprs"
"aranet"
"arcam_fmj"
"aseko_pool_live"
"asuswrt"

View File

@ -548,6 +548,8 @@ self: super: with self; {
arabic-reshaper = callPackage ../development/python-modules/arabic-reshaper { };
aranet4 = callPackage ../development/python-modules/aranet4 { };
arc4 = callPackage ../development/python-modules/arc4 { };
arcam-fmj = callPackage ../development/python-modules/arcam-fmj { };