Merge pull request #165293 from mweinelt/home-assistant

This commit is contained in:
Martin Weinelt 2022-03-26 02:46:59 +01:00 committed by GitHub
commit 1b4504c731
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
}:
@ -15,6 +16,14 @@ buildPythonPackage rec {
sha256 = "sha256-pl2NWRfFCYyM2qvBt4Ic3wgbGkYZvAO6pX2Set8zYW8=";
};
patches = [
(fetchpatch {
# Fix flapping test; https://github.com/python-metar/python-metar/issues/161
url = "https://github.com/python-metar/python-metar/commit/716fa76682e6c2936643d1cf62e3d302ef29aedd.patch";
hash = "sha256-y82NN+KDryOiH+eG+2ycXCO9lqQLsah4+YpGn6lM2As=";
})
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "metar" ];

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2022.3.5";
version = "2022.3.6";
components = {
"abode" = ps: with ps; [ abodepy ];
"accuweather" = ps: with ps; [ accuweather ];

View file

@ -164,7 +164,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating
hassVersion = "2022.3.5";
hassVersion = "2022.3.6";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -182,7 +182,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
hash = "sha256-VXE2zQH/HHhogo5qjneC0zlo9892wgGN1qd3ZFKfyqw=";
hash = "sha256-Cw3OLUDHkbGsxY3gQaAXcfoKeh5udODS8vVlT0Qta9Y=";
};
# leave this in, so users don't have to constantly update their downstream patch handling