Merge pull request #327176 from pyrox0/pythonpackages/pyaprilaire-init

python3Packages.pyaprilaire: init at 0.7.4
This commit is contained in:
Martin Weinelt 2024-07-14 23:31:32 +02:00 committed by GitHub
commit c74ffd40a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
crc,
setuptools,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "pyaprilaire";
version = "0.7.4";
pyproject = true;
src = fetchFromGitHub {
owner = "chamberlain2007";
repo = "pyaprilaire";
rev = "refs/tags/${version}";
hash = "sha256-+/yQO0JF2nkxaM71iNj6ODB8raM9s4qiLLi6/borcr4=";
};
build-system = [ setuptools ];
dependencies = [ crc ];
pythonImportsCheck = [ "pyaprilaire" ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
meta = {
changelog = "https://github.com/chamberlain2007/pyaprilaire/releases/tag/${version}";
description = "Python library for interacting with Aprilaire thermostats.";
homepage = "https://github.com/chamberlain2007/pyaprilaire";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

View File

@ -209,7 +209,8 @@
apprise
];
"aprilaire" = ps: with ps; [
]; # missing inputs: pyaprilaire
pyaprilaire
];
"aprs" = ps: with ps; [
aprslib
geopy
@ -5266,6 +5267,7 @@
"apple_tv"
"application_credentials"
"apprise"
"aprilaire"
"aprs"
"aranet"
"arcam_fmj"

View File

@ -9928,6 +9928,8 @@ self: super: with self; {
psrpcore = callPackage ../development/python-modules/psrpcore { };
pyaprilaire = callPackage ../development/python-modules/pyaprilaire { };
pybars3 = callPackage ../development/python-modules/pybars3 { };
pymeta3 = callPackage ../development/python-modules/pymeta3 { };