Merge pull request #172100 from mweinelt/home-assistant

home-assistant: 2022.5.2 -> 2022.5.3
main
Martin Weinelt 2 years ago committed by GitHub
commit 5178a1ed8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 58
      pkgs/development/python-modules/ukrainealarm/default.nix
  2. 6
      pkgs/servers/home-assistant/component-packages.nix
  3. 4
      pkgs/servers/home-assistant/default.nix
  4. 4
      pkgs/servers/home-assistant/frontend.nix
  5. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build time
, setuptools-scm
# propagates
, aiohttp
# tests
, pytestCheckHook
}:
let
pname = "ukrainealarm";
version = "0.0.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
src = fetchFromGitHub {
owner = "PaulAnnekov";
repo = pname;
rev = "v${version}";
hash = "sha256-0gsxXQiSkJIM/I0VYsjdCCB3NjPr6QJbD/rBkGrwtW8=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ukrainealarm"
"ukrainealarm.client"
];
meta = with lib; {
changelog = "https://github.com/PaulAnnekov/ukrainealarm/releases/tag/v${version}";
description = "Implements api.ukrainealarm.com API that returns info about Ukraine air raid alarms";
homepage = "https://github.com/PaulAnnekov/ukrainealarm";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2022.5.2"; version = "2022.5.3";
components = { components = {
"abode" = ps: with ps; [ "abode" = ps: with ps; [
abodepy abodepy
@ -2823,6 +2823,9 @@
]; ];
"uk_transport" = ps: with ps; [ "uk_transport" = ps: with ps; [
]; ];
"ukraine_alarm" = ps: with ps; [
ukrainealarm
];
"unifi" = ps: with ps; [ "unifi" = ps: with ps; [
aiounifi aiounifi
]; ];
@ -3710,6 +3713,7 @@
"twinkly" "twinkly"
"twitch" "twitch"
"uk_transport" "uk_transport"
"ukraine_alarm"
"unifi" "unifi"
"unifi_direct" "unifi_direct"
"universal" "universal"

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

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20220504.0"; version = "20220504.1";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
sha256 = "sha256-CYhUId5SGfPX9beAZH0ZemwciVDxchbDcTvQcRhJwog="; sha256 = "sha256-EU9I/0+EmcNr7eYq3Z5J5/KiWu+Qz0+wn7UZMJFBxp0=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

@ -10579,6 +10579,8 @@ in {
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { }; ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
ukrainealarm = callPackage ../development/python-modules/ukrainealarm { };
umalqurra = callPackage ../development/python-modules/umalqurra { }; umalqurra = callPackage ../development/python-modules/umalqurra { };
umap-learn = callPackage ../development/python-modules/umap-learn { }; umap-learn = callPackage ../development/python-modules/umap-learn { };

Loading…
Cancel
Save