Merge pull request #175759 from mweinelt/home-assistant
This commit is contained in:
commit
f1b44dde82
11 changed files with 124 additions and 46 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "async-upnp-client";
|
pname = "async-upnp-client";
|
||||||
version = "0.29.0";
|
version = "0.31.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||||
owner = "StevenLooman";
|
owner = "StevenLooman";
|
||||||
repo = "async_upnp_client";
|
repo = "async_upnp_client";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-IzT48ABfk/v8VZJRJEMU/Rsi6mJG4IvtF7HNRv6TLeA=";
|
sha256 = "sha256-jxipSHSsipnKJF+d7tez9M6bBlwV4r8XGQ2elI0jsVc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -3,17 +3,17 @@
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pbr
|
, pbr
|
||||||
, requests
|
, httpx
|
||||||
, pycryptodome
|
, pycryptodome
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests-mock
|
, respx
|
||||||
, time-machine
|
, time-machine
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bimmer-connected";
|
pname = "bimmer-connected";
|
||||||
version = "0.8.12";
|
version = "0.9.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||||
owner = "bimmerconnected";
|
owner = "bimmerconnected";
|
||||||
repo = "bimmer_connected";
|
repo = "bimmer_connected";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-0yXEm8cjzw1ClSP8a5TB9RrugzgHSu40tTtyNQU4dfY=";
|
hash = "sha256-ylhvUX5af248KIT54SIe26WP8tysqjZd2y/+Fi+VqHM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -32,14 +32,14 @@ buildPythonPackage rec {
|
||||||
PBR_VERSION = version;
|
PBR_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
httpx
|
||||||
pycryptodome
|
pycryptodome
|
||||||
pyjwt
|
pyjwt
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
requests-mock
|
respx
|
||||||
time-machine
|
time-machine
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
46
pkgs/development/python-modules/bond-async/default.nix
Normal file
46
pkgs/development/python-modules/bond-async/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, aiohttp
|
||||||
|
, aioresponses
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bond-async";
|
||||||
|
version = "0.1.20";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bondhome";
|
||||||
|
repo = "bond-async";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-iBtbHS3VzSB6wfWDFq5UVd3++x3HtQbWQ6soPYfcHiM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aioresponses
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"bond_async"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Asynchronous Python wrapper library over Bond Local API";
|
||||||
|
homepage = "https://github.com/bondhome/bond-async";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dsmr-parser";
|
pname = "dsmr-parser";
|
||||||
version = "0.32";
|
version = "0.33";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "ndokter";
|
owner = "ndokter";
|
||||||
repo = "dsmr_parser";
|
repo = "dsmr_parser";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0hi69gdcmsp5yaspsfbpc3x76iybg20cylxyaxm131fpd5wwan9l";
|
sha256 = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "plexapi";
|
pname = "plexapi";
|
||||||
version = "4.10.1";
|
version = "4.11.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
owner = "pkkid";
|
owner = "pkkid";
|
||||||
repo = "python-plexapi";
|
repo = "python-plexapi";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-0j3uf3wSDFSyDGo3oRi99KNKfhuGP2puSi0KgVjsXnQ=";
|
sha256 = "sha256-N4ic1DDMAHnHYYoD59ZHFqlgLlvFZV8Nn7V47NDXE5U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zwave-js-server-python";
|
pname = "zwave-js-server-python";
|
||||||
version = "0.37.0";
|
version = "0.37.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-321voxogSkeHMsMdLnrjwG3vQOgGDcMjDen0EUKYE1U=";
|
hash = "sha256-ciIodpa1ekOqC6wa4r3qxJKW1gzTdoRqeLLaTW/yJQs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "2022.5.5";
|
version = "2022.6.0";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [
|
"abode" = ps: with ps; [
|
||||||
abodepy
|
abodepy
|
||||||
|
@ -140,6 +140,9 @@
|
||||||
pyatv
|
pyatv
|
||||||
zeroconf
|
zeroconf
|
||||||
];
|
];
|
||||||
|
"application_credentials" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
];
|
||||||
"apprise" = ps: with ps; [
|
"apprise" = ps: with ps; [
|
||||||
apprise
|
apprise
|
||||||
];
|
];
|
||||||
|
@ -236,6 +239,8 @@
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
securetar
|
securetar
|
||||||
];
|
];
|
||||||
|
"baf" = ps: with ps; [
|
||||||
|
]; # missing inputs: aiobafi6
|
||||||
"baidu" = ps: with ps; [
|
"baidu" = ps: with ps; [
|
||||||
]; # missing inputs: baidu-aip
|
]; # missing inputs: baidu-aip
|
||||||
"balboa" = ps: with ps; [
|
"balboa" = ps: with ps; [
|
||||||
|
@ -288,7 +293,7 @@
|
||||||
bimmer-connected
|
bimmer-connected
|
||||||
];
|
];
|
||||||
"bond" = ps: with ps; [
|
"bond" = ps: with ps; [
|
||||||
bond-api
|
bond-async
|
||||||
];
|
];
|
||||||
"bosch_shc" = ps: with ps; [
|
"bosch_shc" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
|
@ -952,6 +957,10 @@
|
||||||
"geo_rss_events" = ps: with ps; [
|
"geo_rss_events" = ps: with ps; [
|
||||||
georss-generic-client
|
georss-generic-client
|
||||||
];
|
];
|
||||||
|
"geocaching" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
geocachingapi
|
||||||
|
];
|
||||||
"geofency" = ps: with ps; [
|
"geofency" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
];
|
];
|
||||||
|
@ -1049,6 +1058,16 @@
|
||||||
"hangouts" = ps: with ps; [
|
"hangouts" = ps: with ps; [
|
||||||
hangups
|
hangups
|
||||||
];
|
];
|
||||||
|
"hardkernel" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
fnvhash
|
||||||
|
home-assistant-frontend
|
||||||
|
lru-dict
|
||||||
|
pillow
|
||||||
|
sqlalchemy
|
||||||
|
];
|
||||||
|
"hardware" = ps: with ps; [
|
||||||
|
];
|
||||||
"harman_kardon_avr" = ps: with ps; [
|
"harman_kardon_avr" = ps: with ps; [
|
||||||
hkavr
|
hkavr
|
||||||
];
|
];
|
||||||
|
@ -1139,7 +1158,7 @@
|
||||||
homematicip
|
homematicip
|
||||||
];
|
];
|
||||||
"homewizard" = ps: with ps; [
|
"homewizard" = ps: with ps; [
|
||||||
aiohwenergy
|
python-homewizard-energy
|
||||||
];
|
];
|
||||||
"homeworks" = ps: with ps; [
|
"homeworks" = ps: with ps; [
|
||||||
pyhomeworks
|
pyhomeworks
|
||||||
|
@ -1187,6 +1206,9 @@
|
||||||
"ialarm" = ps: with ps; [
|
"ialarm" = ps: with ps; [
|
||||||
pyialarm
|
pyialarm
|
||||||
];
|
];
|
||||||
|
"ialarm_xr" = ps: with ps; [
|
||||||
|
pyialarmxr
|
||||||
|
];
|
||||||
"iammeter" = ps: with ps; [
|
"iammeter" = ps: with ps; [
|
||||||
]; # missing inputs: iammeter
|
]; # missing inputs: iammeter
|
||||||
"iaqualink" = ps: with ps; [
|
"iaqualink" = ps: with ps; [
|
||||||
|
@ -1379,6 +1401,9 @@
|
||||||
"launch_library" = ps: with ps; [
|
"launch_library" = ps: with ps; [
|
||||||
pylaunches
|
pylaunches
|
||||||
];
|
];
|
||||||
|
"laundrify" = ps: with ps; [
|
||||||
|
laundrify-aio
|
||||||
|
];
|
||||||
"lcn" = ps: with ps; [
|
"lcn" = ps: with ps; [
|
||||||
pypck
|
pypck
|
||||||
];
|
];
|
||||||
|
@ -1863,7 +1888,6 @@
|
||||||
ondilo
|
ondilo
|
||||||
];
|
];
|
||||||
"onewire" = ps: with ps; [
|
"onewire" = ps: with ps; [
|
||||||
pi1wire
|
|
||||||
pyownet
|
pyownet
|
||||||
];
|
];
|
||||||
"onkyo" = ps: with ps; [
|
"onkyo" = ps: with ps; [
|
||||||
|
@ -2138,13 +2162,21 @@
|
||||||
];
|
];
|
||||||
"rainforest_eagle" = ps: with ps; [
|
"rainforest_eagle" = ps: with ps; [
|
||||||
aioeagle
|
aioeagle
|
||||||
ueagle
|
eagle100
|
||||||
];
|
];
|
||||||
"rainmachine" = ps: with ps; [
|
"rainmachine" = ps: with ps; [
|
||||||
regenmaschine
|
regenmaschine
|
||||||
];
|
];
|
||||||
"random" = ps: with ps; [
|
"random" = ps: with ps; [
|
||||||
];
|
];
|
||||||
|
"raspberry_pi" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
fnvhash
|
||||||
|
home-assistant-frontend
|
||||||
|
lru-dict
|
||||||
|
pillow
|
||||||
|
sqlalchemy
|
||||||
|
];
|
||||||
"raspyrfm" = ps: with ps; [
|
"raspyrfm" = ps: with ps; [
|
||||||
]; # missing inputs: raspyrfm-client
|
]; # missing inputs: raspyrfm-client
|
||||||
"rdw" = ps: with ps; [
|
"rdw" = ps: with ps; [
|
||||||
|
@ -2227,8 +2259,6 @@
|
||||||
];
|
];
|
||||||
"rpi_camera" = ps: with ps; [
|
"rpi_camera" = ps: with ps; [
|
||||||
];
|
];
|
||||||
"rpi_gpio" = ps: with ps; [
|
|
||||||
]; # missing inputs: RPi.GPIO
|
|
||||||
"rpi_power" = ps: with ps; [
|
"rpi_power" = ps: with ps; [
|
||||||
rpi-bad-power
|
rpi-bad-power
|
||||||
];
|
];
|
||||||
|
@ -2287,6 +2317,7 @@
|
||||||
"scrape" = ps: with ps; [
|
"scrape" = ps: with ps; [
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
jsonpath
|
jsonpath
|
||||||
|
lxml
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
"screenlogic" = ps: with ps; [
|
"screenlogic" = ps: with ps; [
|
||||||
|
@ -3035,6 +3066,9 @@
|
||||||
];
|
];
|
||||||
"worxlandroid" = ps: with ps; [
|
"worxlandroid" = ps: with ps; [
|
||||||
];
|
];
|
||||||
|
"ws66i" = ps: with ps; [
|
||||||
|
pyws66i
|
||||||
|
];
|
||||||
"wsdot" = ps: with ps; [
|
"wsdot" = ps: with ps; [
|
||||||
];
|
];
|
||||||
"x10" = ps: with ps; [
|
"x10" = ps: with ps; [
|
||||||
|
@ -3103,6 +3137,10 @@
|
||||||
aioftp
|
aioftp
|
||||||
ha-ffmpeg
|
ha-ffmpeg
|
||||||
];
|
];
|
||||||
|
"yolink" = ps: with ps; [
|
||||||
|
aiohttp-cors
|
||||||
|
yolink-api
|
||||||
|
];
|
||||||
"youless" = ps: with ps; [
|
"youless" = ps: with ps; [
|
||||||
youless-api
|
youless-api
|
||||||
];
|
];
|
||||||
|
@ -3182,6 +3220,7 @@
|
||||||
"airtouch4"
|
"airtouch4"
|
||||||
"airvisual"
|
"airvisual"
|
||||||
"airzone"
|
"airzone"
|
||||||
|
"aladdin_connect"
|
||||||
"alarm_control_panel"
|
"alarm_control_panel"
|
||||||
"alarmdecoder"
|
"alarmdecoder"
|
||||||
"alert"
|
"alert"
|
||||||
|
@ -3196,6 +3235,7 @@
|
||||||
"apache_kafka"
|
"apache_kafka"
|
||||||
"api"
|
"api"
|
||||||
"apple_tv"
|
"apple_tv"
|
||||||
|
"application_credentials"
|
||||||
"apprise"
|
"apprise"
|
||||||
"aprs"
|
"aprs"
|
||||||
"arcam_fmj"
|
"arcam_fmj"
|
||||||
|
@ -3353,6 +3393,7 @@
|
||||||
"geo_json_events"
|
"geo_json_events"
|
||||||
"geo_location"
|
"geo_location"
|
||||||
"geo_rss_events"
|
"geo_rss_events"
|
||||||
|
"geocaching"
|
||||||
"geofency"
|
"geofency"
|
||||||
"geonetnz_quakes"
|
"geonetnz_quakes"
|
||||||
"geonetnz_volcano"
|
"geonetnz_volcano"
|
||||||
|
@ -3378,6 +3419,8 @@
|
||||||
"guardian"
|
"guardian"
|
||||||
"habitica"
|
"habitica"
|
||||||
"hangouts"
|
"hangouts"
|
||||||
|
"hardkernel"
|
||||||
|
"hardware"
|
||||||
"harmony"
|
"harmony"
|
||||||
"hassio"
|
"hassio"
|
||||||
"hddtemp"
|
"hddtemp"
|
||||||
|
@ -3407,6 +3450,7 @@
|
||||||
"hvv_departures"
|
"hvv_departures"
|
||||||
"hyperion"
|
"hyperion"
|
||||||
"ialarm"
|
"ialarm"
|
||||||
|
"ialarm_xr"
|
||||||
"iaqualink"
|
"iaqualink"
|
||||||
"icloud"
|
"icloud"
|
||||||
"ifttt"
|
"ifttt"
|
||||||
|
@ -3447,6 +3491,7 @@
|
||||||
"kulersky"
|
"kulersky"
|
||||||
"lastfm"
|
"lastfm"
|
||||||
"launch_library"
|
"launch_library"
|
||||||
|
"laundrify"
|
||||||
"lcn"
|
"lcn"
|
||||||
"light"
|
"light"
|
||||||
"litterrobot"
|
"litterrobot"
|
||||||
|
@ -3586,6 +3631,7 @@
|
||||||
"rainforest_eagle"
|
"rainforest_eagle"
|
||||||
"rainmachine"
|
"rainmachine"
|
||||||
"random"
|
"random"
|
||||||
|
"raspberry_pi"
|
||||||
"rdw"
|
"rdw"
|
||||||
"recollect_waste"
|
"recollect_waste"
|
||||||
"recorder"
|
"recorder"
|
||||||
|
@ -3778,6 +3824,7 @@
|
||||||
"wled"
|
"wled"
|
||||||
"workday"
|
"workday"
|
||||||
"worldclock"
|
"worldclock"
|
||||||
|
"ws66i"
|
||||||
"wsdot"
|
"wsdot"
|
||||||
"xbox"
|
"xbox"
|
||||||
"xiaomi"
|
"xiaomi"
|
||||||
|
@ -3789,6 +3836,7 @@
|
||||||
"yandex_transport"
|
"yandex_transport"
|
||||||
"yandextts"
|
"yandextts"
|
||||||
"yeelight"
|
"yeelight"
|
||||||
|
"yolink"
|
||||||
"youless"
|
"youless"
|
||||||
"zeroconf"
|
"zeroconf"
|
||||||
"zerproc"
|
"zerproc"
|
||||||
|
|
|
@ -72,19 +72,6 @@ let
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
(self: super: {
|
|
||||||
huawei-lte-api = super.huawei-lte-api.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "1.4.18";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "Salamek";
|
|
||||||
repo = "huawei-lte-api";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "1qaqxmh03j10wa9wqbwgc5r3ays8wfr7bldvsm45fycr3qfyn5fg";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ python3.pkgs.dicttoxml ];
|
|
||||||
});
|
|
||||||
})
|
|
||||||
|
|
||||||
# Pinned due to API changes in pyruckus>0.12
|
# Pinned due to API changes in pyruckus>0.12
|
||||||
(self: super: {
|
(self: super: {
|
||||||
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
|
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
@ -179,7 +166,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.5";
|
hassVersion = "2022.6.0";
|
||||||
|
|
||||||
in python.pkgs.buildPythonApplication rec {
|
in python.pkgs.buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
|
@ -197,7 +184,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-uVB3Yg3f0fNkq2rav7hmbJ9IAMg0UIrdMshJVgOharA=";
|
hash = "sha256-8s6CyTNA61UgrflpQ/RZnAPa/xI4VFdEQJnN25k3vuc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -210,24 +197,18 @@ in python.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
postPatch = let
|
postPatch = let
|
||||||
relaxedConstraints = [
|
relaxedConstraints = [
|
||||||
"aiohttp"
|
|
||||||
"async_timeout"
|
|
||||||
"attrs"
|
"attrs"
|
||||||
"awesomeversion"
|
"awesomeversion"
|
||||||
"bcrypt"
|
"bcrypt"
|
||||||
"cryptography"
|
|
||||||
"httpx"
|
"httpx"
|
||||||
"jinja2"
|
"PyJWT"
|
||||||
"pip"
|
|
||||||
"requests"
|
|
||||||
"yarl"
|
|
||||||
];
|
];
|
||||||
in ''
|
in ''
|
||||||
sed -r -i \
|
sed -r -i \
|
||||||
${lib.concatStringsSep "\n" (map (package:
|
${lib.concatStringsSep "\n" (map (package:
|
||||||
''-e 's@${package}[<>=]+.*@${package}@g' \''
|
''-e 's@${package}[<>=]+.*@${package}@g' \''
|
||||||
) relaxedConstraints)}
|
) relaxedConstraints)}
|
||||||
setup.cfg
|
setup.cfg
|
||||||
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -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.1";
|
version = "20220531.0";
|
||||||
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-EU9I/0+EmcNr7eYq3Z5J5/KiWu+Qz0+wn7UZMJFBxp0=";
|
sha256 = "sha256-NySYrHmU1OV11WZSqe6GURPKnwcLukXF0QUxxlPXUG4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is nothing to strip in this package
|
# there is nothing to strip in this package
|
||||||
|
|
|
@ -14,6 +14,7 @@ let
|
||||||
lovelace = [ PyChromecast ];
|
lovelace = [ PyChromecast ];
|
||||||
nest = [ av ];
|
nest = [ av ];
|
||||||
onboarding = [ pymetno radios rpi-bad-power ];
|
onboarding = [ pymetno radios rpi-bad-power ];
|
||||||
|
raspberry_pi = [ rpi-bad-power ];
|
||||||
tomorrowio = [ pyclimacell ];
|
tomorrowio = [ pyclimacell ];
|
||||||
version = [ aioaseko ];
|
version = [ aioaseko ];
|
||||||
voicerss = [ mutagen ];
|
voicerss = [ mutagen ];
|
||||||
|
|
|
@ -1325,6 +1325,8 @@ in {
|
||||||
|
|
||||||
bond-api = callPackage ../development/python-modules/bond-api { };
|
bond-api = callPackage ../development/python-modules/bond-api { };
|
||||||
|
|
||||||
|
bond-async = callPackage ../development/python-modules/bond-async { };
|
||||||
|
|
||||||
booleanoperations = callPackage ../development/python-modules/booleanoperations { };
|
booleanoperations = callPackage ../development/python-modules/booleanoperations { };
|
||||||
|
|
||||||
boolean-py = callPackage ../development/python-modules/boolean-py { };
|
boolean-py = callPackage ../development/python-modules/boolean-py { };
|
||||||
|
|
Loading…
Reference in a new issue