Merge pull request #172100 from mweinelt/home-assistant
home-assistant: 2022.5.2 -> 2022.5.3
This commit is contained in:
commit
5178a1ed8d
58
pkgs/development/python-modules/ukrainealarm/default.nix
Normal file
58
pkgs/development/python-modules/ukrainealarm/default.nix
Normal file
@ -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!
|
||||
|
||||
{
|
||||
version = "2022.5.2";
|
||||
version = "2022.5.3";
|
||||
components = {
|
||||
"abode" = ps: with ps; [
|
||||
abodepy
|
||||
@ -2823,6 +2823,9 @@
|
||||
];
|
||||
"uk_transport" = ps: with ps; [
|
||||
];
|
||||
"ukraine_alarm" = ps: with ps; [
|
||||
ukrainealarm
|
||||
];
|
||||
"unifi" = ps: with ps; [
|
||||
aiounifi
|
||||
];
|
||||
@ -3710,6 +3713,7 @@
|
||||
"twinkly"
|
||||
"twitch"
|
||||
"uk_transport"
|
||||
"ukraine_alarm"
|
||||
"unifi"
|
||||
"unifi_direct"
|
||||
"universal"
|
||||
|
@ -179,7 +179,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.5.2";
|
||||
hassVersion = "2022.5.3";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -197,7 +197,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
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
|
||||
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||
# 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
|
||||
pname = "home-assistant-frontend";
|
||||
version = "20220504.0";
|
||||
version = "20220504.1";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
sha256 = "sha256-CYhUId5SGfPX9beAZH0ZemwciVDxchbDcTvQcRhJwog=";
|
||||
sha256 = "sha256-EU9I/0+EmcNr7eYq3Z5J5/KiWu+Qz0+wn7UZMJFBxp0=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -10579,6 +10579,8 @@ in {
|
||||
|
||||
ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { };
|
||||
|
||||
ukrainealarm = callPackage ../development/python-modules/ukrainealarm { };
|
||||
|
||||
umalqurra = callPackage ../development/python-modules/umalqurra { };
|
||||
|
||||
umap-learn = callPackage ../development/python-modules/umap-learn { };
|
||||
|
Loading…
Reference in New Issue
Block a user