Unverified Commit 153d06a8 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

home-assistant: support refoss component
parents 97ebf115 e9f6e698
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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 { };