Merge pull request #332691 from dotlambda/python3Packages.refoss-ha

home-assistant: support refoss component
This commit is contained in:
Martin Weinelt 2024-08-06 13:40:15 +02:00 committed by GitHub
commit 153d06a83d
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 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "refoss-ha";
version = "1.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ashionky";
repo = "refoss_ha";
rev = "refs/tags/v${version}";
hash = "sha256-DFP2lEZkjW5L94CnhJS04ydM66gnKzvgpiXOAejs768=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "refoss_ha" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/ashionky/refoss_ha/releases/tag/v${version}";
description = "Refoss support for Home Assistant";
homepage = "https://github.com/ashionky/refoss_ha";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -3693,7 +3693,8 @@
praw
];
"refoss" = ps: with ps; [
]; # missing inputs: refoss-ha
refoss-ha
];
"rejseplanen" = ps: with ps; [
rjpl
];
@ -5817,6 +5818,7 @@
"recorder"
"recovery_mode"
"reddit"
"refoss"
"remote"
"renault"
"renson"

View File

@ -13492,6 +13492,8 @@ self: super: with self; {
reflink = callPackage ../development/python-modules/reflink { };
refoss-ha = callPackage ../development/python-modules/refoss-ha { };
regenmaschine = callPackage ../development/python-modules/regenmaschine { };
regex = callPackage ../development/python-modules/regex { };