File tree Expand file tree Collapse file tree 12 files changed +163
-35
lines changed
pkgs/servers/home-assistant
python-modules/hass-web-proxy-lib Expand file tree Collapse file tree 12 files changed +163
-35
lines changed Original file line number Diff line number Diff line change 77buildHomeAssistantComponent rec {
88 owner = "jwillemsen" ;
99 domain = "daikin_onecta" ;
10- version = "4.2.2 " ;
10+ version = "4.2.3 " ;
1111
1212 src = fetchFromGitHub {
1313 owner = "jwillemsen" ;
1414 repo = "daikin_onecta" ;
1515 tag = "v${ version } " ;
16- hash = "sha256-kjFBy+Nq9aQSsmvzWT2Wy/BwMpyd8GdgSXIrp44cMnA =" ;
16+ hash = "sha256-ylVHgmE6zDLE73KpuIag0iUx77w6ujp3cF/+x2bJiA8 =" ;
1717 } ;
1818
1919 meta = {
Original file line number Diff line number Diff line change 22 lib ,
33 fetchFromGitHub ,
44 buildHomeAssistantComponent ,
5- pytz ,
5+
6+ # dependencies
7+ hass-web-proxy-lib ,
8+
9+ # tests
10+ homeassistant ,
11+ pytest-aiohttp ,
12+ pytest-cov-stub ,
13+ pytest-homeassistant-custom-component ,
14+ pytest-timeout ,
15+ pytestCheckHook ,
616} :
717
818buildHomeAssistantComponent rec {
919 owner = "blakeblackshear" ;
1020 domain = "frigate" ;
11- version = "5.4 .0" ;
21+ version = "5.8 .0" ;
1222
1323 src = fetchFromGitHub {
1424 owner = "blakeblackshear" ;
1525 repo = "frigate-hass-integration" ;
16- rev = "v${ version } " ;
17- hash = "sha256-V2Y+xUAA/Lu7u82WUlUI5CFi9SGWe6ocVQtlXeVg2ZA =" ;
26+ tag = "v${ version } " ;
27+ hash = "sha256-sQgi3F44eT/iL3cE9YuKyjJmE4nZM+OcwirUyl3maGo =" ;
1828 } ;
1929
20- dependencies = [ pytz ] ;
30+ dependencies = [ hass-web-proxy-lib ] ;
2131
2232 dontBuild = true ;
2333
34+ nativeCheckInputs =
35+ [
36+ homeassistant
37+ pytest-aiohttp
38+ pytest-cov-stub
39+ pytest-homeassistant-custom-component
40+ pytest-timeout
41+ pytestCheckHook
42+ ]
43+ ++ ( homeassistant . getPackages "mqtt" homeassistant . python . pkgs )
44+ ++ ( homeassistant . getPackages "stream" homeassistant . python . pkgs ) ;
45+
46+ disabledTests = [
47+ # uses deprecated and removed constants
48+ # https://github.com/blakeblackshear/frigate-hass-integration/issues/860
49+ "test_duplicate"
50+ "test_options_advanced"
51+ "test_options"
52+ ] ;
53+
2454 meta = with lib ; {
2555 description = "Provides Home Assistant integration to interface with a separately running Frigate service" ;
2656 homepage = "https://github.com/blakeblackshear/frigate-hass-integration" ;
Original file line number Diff line number Diff line change 77buildHomeAssistantComponent rec {
88 owner = "xZetsubou" ;
99 domain = "localtuya" ;
10- version = "2025.3.0 " ;
10+ version = "2025.3.1 " ;
1111
1212 src = fetchFromGitHub {
1313 owner = "xZetsubou" ;
1414 repo = "hass-localtuya" ;
1515 rev = version ;
16- hash = "sha256-ZtUK73aj2NKlcanlFZLeL35X1M9CrMLYLW0P0cILdr8 =" ;
16+ hash = "sha256-DZ0TS6vdMDBCYP661GeRm+pAmm387/+/DayIBkeuPQA =" ;
1717 } ;
1818
1919 meta = with lib ; {
Original file line number Diff line number Diff line change 22 lib ,
33 buildHomeAssistantComponent ,
44 fetchFromGitHub ,
5- fetchpatch ,
65 aiofiles ,
7- broadlink ,
6+ distutils ,
87 nix-update-script ,
98} :
109
1110buildHomeAssistantComponent rec {
1211 owner = "smartHomeHub" ;
1312 domain = "smartir" ;
14- version = "1.17.9 " ;
13+ version = "1.18.0 " ;
1514
1615 src = fetchFromGitHub {
1716 owner = "smartHomeHub" ;
1817 repo = "SmartIR" ;
19- rev = version ;
20- hash = "sha256-E6TM761cuaeQzlbjA+oZ+wt5HTJAfkF2J3i4P1Wbuic =" ;
18+ tag = version ;
19+ hash = "sha256-Sy1wxVUApKWm9TlDia2Gwd+mIi7WbDkzJrAtyb0tTbM =" ;
2120 } ;
2221
23- patches = [
24- # Replace distutils.version.StrictVersion with packaging.version.Version
25- # https://github.com/smartHomeHub/SmartIR/pull/1250
26- ( fetchpatch {
27- url = "https://github.com/smartHomeHub/SmartIR/commit/1ed8ef23a8f7b9dcae75721eeab8d5f79013b851.patch" ;
28- hash = "sha256-IhdnTDtUa7mS+Vw/+BqfqWIKK4hbshbVgJNjfKjgAvI=" ;
29- } )
30- ] ;
31-
3222 dependencies = [
3323 aiofiles
34- broadlink
24+ distutils
3525 ] ;
3626
3727 dontBuild = true ;
Original file line number Diff line number Diff line change 1111buildHomeAssistantComponent rec {
1212 owner = "al-one" ;
1313 domain = "xiaomi_miot" ;
14- version = "1.0.12 " ;
14+ version = "1.0.13 " ;
1515
1616 src = fetchFromGitHub {
1717 owner = "al-one" ;
1818 repo = "hass-xiaomi-miot" ;
1919 rev = "v${ version } " ;
20- hash = "sha256-WU512UnKRHVoflerXK4vs/wJXxaerC1XVhfLN1YPh84 =" ;
20+ hash = "sha256-RjEhmdoImfWcvrQ09wX3WaWS8qKuzL2+2Rrz1BfEFFA =" ;
2121 } ;
2222
2323 dependencies = [
Original file line number Diff line number Diff line change 88buildHomeAssistantComponent rec {
99 owner = "cdnninja" ;
1010 domain = "yoto" ;
11- version = "1.23.0 " ;
11+ version = "1.23.2 " ;
1212
1313 src = fetchFromGitHub {
1414 owner = "cdnninja" ;
1515 repo = "yoto_ha" ;
1616 tag = "v${ version } " ;
17- hash = "sha256-FB711ofk5BV/U0ZWfa6Q2aheZkzbwxDUfqNDu9wj2aQ =" ;
17+ hash = "sha256-RErsZGSoBhBGg852znZq6W8oDZmDDoPTZihUBhWCO5w =" ;
1818 } ;
1919
2020 dependencies = [
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchzip ,
5+ } :
6+
7+ stdenv . mkDerivation rec {
8+ pname = "advanced-camera-card" ;
9+ version = "7.3.2" ;
10+
11+ src = fetchzip {
12+ url = "https://github.com/dermotduffy/advanced-camera-card/releases/download/v${ version } /advanced-camera-card.zip" ;
13+ hash = "sha256-N9G96yGas1hrB2zpUPrB+md7Nz2vg7/2NhyqNjFBlxM=" ;
14+ } ;
15+
16+ # TODO: build from source once yarn berry support lands in nixpkgs
17+ dontBuild = true ;
18+
19+ installPhase = ''
20+ runHook preInstall
21+
22+ install -d $out
23+ install -m0644 *.js $out/
24+
25+ runHook postInstall
26+ '' ;
27+
28+ meta = {
29+ changelog = "https://github.com/dermotduffy/advanced-camera-card/releases/tag/v${ version } " ;
30+ description = "A comprehensive camera card for Home Assistant" ;
31+ homepage = "https://github.com/dermotduffy/advanced-camera-card" ;
32+ license = lib . licenses . mit ;
33+ maintainers = with lib . maintainers ; [ hexa ] ;
34+ } ;
35+ }
Original file line number Diff line number Diff line change 99} :
1010stdenvNoCC . mkDerivation rec {
1111 pname = "clock-weather-card" ;
12- version = "2.8.9 " ;
12+ version = "2.8.10 " ;
1313
1414 src = fetchFromGitHub {
1515 owner = "pkissling" ;
1616 repo = "clock-weather-card" ;
1717 tag = "v${ version } " ;
18- hash = "sha256-7b0U6HelWLoCvkJrqzRbRyDnl0odi6OYYEp0sUOYnoU =" ;
18+ hash = "sha256-ZmqtvA6kRkqkoRCBerLZXqRB1wwTF0jrc+KfigaE7Pw =" ;
1919 } ;
2020
2121 offlineCache = fetchYarnDeps {
2222 yarnLock = src + "/yarn.lock" ;
23- hash = "sha256-9MFEJQ9JYUjded6sdDcF/kB+ZdGE6z4MZOzFk1Qb3vo =" ;
23+ hash = "sha256-Z9UZHsmaRjaf7fIDYhNmlLU2T1l1hlFKvyEahPK3Y3E =" ;
2424 } ;
2525
2626 nativeBuildInputs = [
Original file line number Diff line number Diff line change 354354 } ) ;
355355
356356 # internal python packages only consumed by home-assistant itself
357+ hass-web-proxy-lib = self . callPackage ./python-modules/hass-web-proxy-lib { } ;
357358 home-assistant-frontend = self . callPackage ./frontend.nix { } ;
358359 home-assistant-intents = self . callPackage ./intents.nix { } ;
359360 homeassistant = self . toPythonModule home-assistant ;
Original file line number Diff line number Diff line change 1818
1919buildPythonPackage rec {
2020 pname = "pytest-homeassistant-custom-component" ;
21- version = "0.13.214 " ;
21+ version = "0.13.220 " ;
2222 pyproject = true ;
2323
2424 disabled = pythonOlder "3.12" ;
@@ -27,7 +27,7 @@ buildPythonPackage rec {
2727 owner = "MatthewFlamm" ;
2828 repo = "pytest-homeassistant-custom-component" ;
2929 rev = "refs/tags/${ version } " ;
30- hash = "sha256-AbqDLFC/U+zJJF4pc1ovuzwmXLv37ojCpQQIzWUc/70 =" ;
30+ hash = "sha256-p/pC0dgKRVPlu3kOiSmeGhbfRW7cPm5W0Lr38XWlcnQ =" ;
3131 } ;
3232
3333 build-system = [ setuptools ] ;
You can’t perform that action at this time.
0 commit comments