Merge pull request #333905 from dotlambda/python3Packages.flexit-bacnet

home-assistant: support flexit_bacnet component
This commit is contained in:
Martin Weinelt 2024-08-11 16:28:25 +02:00 committed by GitHub
commit 46385c7b6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "flexit-bacnet";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "piotrbulinski";
repo = "flexit_bacnet";
rev = "refs/tags/${version}";
hash = "sha256-Cy/WHKtJoZWSFOs+9rBYSLqZTF/68WRM1HiYXDyb9KM=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "flexit_bacnet" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/piotrbulinski/flexit_bacnet/releases/tag/${version}";
description = "Client BACnet library for Flexit Nordic series of air handling units";
homepage = "https://github.com/piotrbulinski/flexit_bacnet";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -1265,7 +1265,8 @@
pymodbus
];
"flexit_bacnet" = ps: with ps; [
]; # missing inputs: flexit_bacnet
flexit-bacnet
];
"flexom" = ps: with ps; [
];
"flic" = ps: with ps; [
@ -5046,6 +5047,7 @@
"fitbit"
"fivem"
"fjaraskupan"
"flexit_bacnet"
"flic"
"flick_electric"
"flipr"

View File

@ -4536,6 +4536,8 @@ self: super: with self; {
flexcache = callPackage ../development/python-modules/flexcache { };
flexit-bacnet = callPackage ../development/python-modules/flexit-bacnet { };
flexmock = callPackage ../development/python-modules/flexmock { };
flexparser = callPackage ../development/python-modules/flexparser { };