Merge pull request #332691 from dotlambda/python3Packages.refoss-ha
home-assistant: support refoss component
This commit is contained in:
commit
153d06a83d
34
pkgs/development/python-modules/refoss-ha/default.nix
Normal file
34
pkgs/development/python-modules/refoss-ha/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user