Merge pull request #132946 from NixOS/home-assistant
This commit is contained in:
commit
f876686dea
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioesphomeapi";
|
||||
version = "5.1.1";
|
||||
version = "6.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "esphome";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "09hhkwkphyqa31yd1mmpz8xmyz6hav8vwf36v8xc4v6g1xm9l6f5";
|
||||
sha256 = "sha256-C799JoW58mmwHeoXLMJ5pYg8hjaZqVBqrbxBXpmF/mQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohomekit";
|
||||
version = "0.5.1";
|
||||
version = "0.6.2";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Jc2k";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Fo9KWBcN6Y/fa7vkWugSer5L7+hOWz99+hw6Hz1LAMM=";
|
||||
sha256 = "16lfav83g12vzs3ssfva7chcqqb7xdx54djwfwyn9xcwfaa7cwhw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohue";
|
||||
version = "2.5.1";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3ee8e857b07364516f8b9f0e5c52d4cd775036f3ace37c2769de1e8579f4dc07";
|
||||
sha256 = "0101bw2n6vd3c0p323qqr61wwraja48xbrwcw5sn7i5sa3ygfx0k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,41 +1,52 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, asynctest
|
||||
, assertpy
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-mockservers
|
||||
, pytest-resource-path
|
||||
, pytest-sugar
|
||||
, pytestCheckHook
|
||||
, time-machine
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioswitcher";
|
||||
version = "1.2.5";
|
||||
version = "2.0.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TomerFi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-eiWmB2DVNAYHPHfnVwv0+4A/wYLgtAa1ReGsmwiIvAk=";
|
||||
sha256 = "sha256-n4JvtShs2/shJxAzxm6qyipVQ7e3QfeVwhnqu6RWZss=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
preCheck = ''
|
||||
export TZ=Asia/Jerusalem
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytest-aiohttp
|
||||
assertpy
|
||||
pytest-asyncio
|
||||
pytest-mockservers
|
||||
pytest-resource-path
|
||||
pytest-sugar
|
||||
pytestCheckHook
|
||||
time-machine
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: Expected <14:00> to be equal to <17:00>, but was not.
|
||||
"test_schedule_parser_with_a_weekly_recurring_enabled_schedule_data"
|
||||
"test_schedule_parser_with_a_daily_recurring_enabled_schedule_data"
|
||||
"test_schedule_parser_with_a_partial_daily_recurring_enabled_schedule_data"
|
||||
"test_schedule_parser_with_a_non_recurring_enabled_schedule_data"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aioswitcher" ];
|
||||
|
32
pkgs/development/python-modules/assertpy/default.nix
Normal file
32
pkgs/development/python-modules/assertpy/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "assertpy";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"assertpy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple assertion library for unit testing with a fluent API";
|
||||
homepage = "https://github.com/assertpy/assertpy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -3,31 +3,29 @@
|
||||
, fetchFromGitHub
|
||||
, click
|
||||
, click-log
|
||||
, dataclasses
|
||||
, pure-pcapy3
|
||||
, pyserial-asyncio
|
||||
, voluptuous
|
||||
, zigpy
|
||||
, asynctest
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.25.0";
|
||||
version = "0.26.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
rev = version;
|
||||
sha256 = "1836wm8whbryp31zdaj3b6w40sx1wjsxgpjdb1x9rgmwff4d1hc0";
|
||||
sha256 = "0qbsk5iv3vrpwz7kfmjdbc66rfkg788p6wwxbf6jzfarfhcgrh3k";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "click-log==0.2.1" "click-log>=0.2.1"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
click-log
|
||||
@ -35,16 +33,31 @@ buildPythonPackage rec {
|
||||
pyserial-asyncio
|
||||
voluptuous
|
||||
zigpy
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
dataclasses
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
asynctest
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited
|
||||
#"test_remigrate_forcibly_downgraded_v4"
|
||||
# RuntimeError: Event loop is closed
|
||||
"test_thread_already_stopped"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bellows"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python 3 project to implement EZSP for EmberZNet devices";
|
||||
description = "Python module to implement EZSP for EmberZNet devices";
|
||||
homepage = "https://github.com/zigpy/bellows";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ etu mvnetbiz ];
|
||||
|
@ -2,6 +2,7 @@
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, dacite
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-error-for-skips
|
||||
@ -11,18 +12,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gios";
|
||||
version = "1.0.2";
|
||||
version = "2.0.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bieniu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-7+np1lUbBFSTJNAD6OT5k89MM+kzEj90JlulXGm36k8=";
|
||||
sha256 = "1xbbp08ssan0b9j6s3vzg8cn421avc0xvahx5fvrb8kcbzkg8ssl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
dacite
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hatasmota";
|
||||
version = "0.2.19";
|
||||
version = "0.2.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emontnemery";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-h1idJJd2lPV3+tAE59gzITa7jmtBhcEpRuyflf76EAk=";
|
||||
sha256 = "1qdvm1bnn7x2mf4fq997gvq6a5901ndhd2s75h92zsgmlcp7rc77";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -23,6 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "hatasmota" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homematicip";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coreGreenberet";
|
||||
repo = "homematicip-rest-api";
|
||||
rev = version;
|
||||
sha256 = "0bgvrjcf10kiqqkbl56sxx3jydd722b08q2j9c8sxpk0qdrmrinv";
|
||||
sha256 = "008snxx9ijpi1zr1pi1v4a6g74j821hyw0khs9lmi08v2mcabm36";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -53,6 +53,7 @@ buildPythonPackage rec {
|
||||
"test_pluggable_switch_measuring"
|
||||
"test_rotary_handle_sensor"
|
||||
"test_security_group"
|
||||
"test_security_zone"
|
||||
"test_shutter_device"
|
||||
"test_smoke_detector"
|
||||
"test_switching_group"
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatmo";
|
||||
version = "5.2.0";
|
||||
version = "5.2.3";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jabesq";
|
||||
repo = "pyatmo";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-P9c9tm2RcF/4r0OYBoAQxQbMBaFAsaHg/stg9rrYHNM=";
|
||||
sha256 = "1w9rhh85z9m3c4rbz6zxlrxglsm5sk5d6796dsj1p1l3b3ad476z";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatv";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "postlund";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/ccmYNOYE+RkJiJbGkQgdYE8/X4xzyRT4dkMa/qSZEc=";
|
||||
sha256 = "035cjm78xakvfi7k8zahjk0xr23p9my67d8jvq5bqrd506awrl0f";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyflunearyou";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -23,10 +23,12 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-2a4OKPmy9tFLJqRg9bEXqrbr3RKVHmKPSYDrtAEqvdo=";
|
||||
sha256 = "07n2dvnfpfglpdlnwzj4dy41x2zc07ia2krvxdarnv8wzap30y23";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
@ -44,7 +46,8 @@ buildPythonPackage rec {
|
||||
|
||||
# Ignore the examples directory as the files are prefixed with test_.
|
||||
# disabledTestFiles doesn't seem to work here
|
||||
pytestFlagsArray = [ "--ignore examples/" ];
|
||||
disabledTestPaths = [ "examples/" ];
|
||||
|
||||
pythonImportsCheck = [ "pyflunearyou" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylitterbot";
|
||||
version = "2021.7.2";
|
||||
version = "2021.8.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "natekspencer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hnjqj9n2sq1jhiwdrw2aayhyz94cwjxniiak2h1nxh2q0nzigh3";
|
||||
sha256 = "sha256-Z7/j5ZZd8cOJhY/GfKUcDSJZvmU/TR/KDK60j1eYsik=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, aiohttp
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-mockservers";
|
||||
version = "0.6.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Gr1N";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0xql0fnw7m2zn103601gqbpyd761kzvgjj2iz9hjsv56nr4z1g9i";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry.masonry.api" "poetry.core.masonry.api"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
pytest
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytest_mockservers"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of fixtures to test your requests to HTTP/UDP servers";
|
||||
homepage = "https://github.com/Gr1N/pytest-mockservers";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, colorama
|
||||
, pytest-runner
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-resource-path";
|
||||
version = "1.3.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yukihiko-shinoda";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
pytest
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pytest_resource_path"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pytest plugin to provide path for uniform access to test resources";
|
||||
homepage = "https://github.com/yukihiko-shinoda/pytest-resource-path";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "roonapi";
|
||||
version = "0.0.37";
|
||||
version = "0.0.38";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "pavoni";
|
||||
repo = "pyroon";
|
||||
rev = version;
|
||||
sha256 = "1hxr473z9h3kb91m3ygina58pfwfyjsv1yb29spxmnbzvk34rzzz";
|
||||
sha256 = "sha256-vXx7MgoGjBPdx7uKUtAVqlXphPJYt5SyuTo2JlKia60=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -34,15 +34,6 @@ buildPythonPackage rec {
|
||||
websocket-client
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Switch to poetry-core, https://github.com/pavoni/pyroon/pull/43
|
||||
(fetchpatch {
|
||||
name = "use-peotry-core.patch";
|
||||
url = "https://github.com/pavoni/pyroon/commit/16f890314683a6c2700fa4da5c937559e2e24bea.patch";
|
||||
sha256 = "047bhimr72rwqqyjy7jkfzacdc2ycy81wbmgnvf7xyhgjw1jyvh5";
|
||||
})
|
||||
];
|
||||
|
||||
# Tests require access to the Roon API
|
||||
doCheck = false;
|
||||
|
||||
|
@ -6,16 +6,17 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, types-pytz
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplisafe-python";
|
||||
version = "11.0.2";
|
||||
version = "11.0.3";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-sIv7zoLp+1CfeyhVYWMp93TkNk+h14WawOJOQMhwAp8=";
|
||||
sha256 = "17zld62q4qw2z2q7i5kkpnyc3immgc4xs009hp53jq4qc38w0jm5";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
@ -32,16 +33,23 @@ buildPythonPackage rec {
|
||||
aiohttp
|
||||
backoff
|
||||
pytz
|
||||
types-pytz
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
asynctest
|
||||
pytest-asyncio
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# simplipy/api.py:253: InvalidCredentialsError
|
||||
"test_request_error_failed_retry"
|
||||
"test_update_error"
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "examples/" ];
|
||||
|
||||
pythonImportsCheck = [ "simplipy" ];
|
||||
|
@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "soco";
|
||||
version = "0.23.1";
|
||||
version = "0.23.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SoCo";
|
||||
repo = "SoCo";
|
||||
rev = "v${version}";
|
||||
sha256 = "15q82fq10d162xanypn1k51y15r38l7sj0417jzbjx40zz6c93f7";
|
||||
sha256 = "0qq2k0xy8a5b54nk7h4ipkvq8dpzklhgcwcffhnlcnl1vhq2dh33";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,19 +1,19 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, websockets
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "systembridge";
|
||||
version = "1.2.4";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timmo001";
|
||||
repo = "system-bridge-connector-py";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dZOtvJXBXMKC+VOyQRMyaWAXg8lHjLcM2Zz9P0/ILT8=";
|
||||
sha256 = "03scbn6khvw1nj73j8kmvyfrxnqcc0wh3ncck4byby6if1an5dvd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -23,6 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "systembridge" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
50
pkgs/development/python-modules/time-machine/default.nix
Normal file
50
pkgs/development/python-modules/time-machine/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, backports-zoneinfo
|
||||
, python-dateutil
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "time-machine";
|
||||
version = "2.3.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adamchainz";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1flim8xaa7qglh2b39cf57i8g0kg0707pw3mdkrgh0xjn27bv9bi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
#] ++ lib.optionals (pythonOlder "3.9") [
|
||||
backports-zoneinfo
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.9") [
|
||||
# Assertion Errors related to Africa/Addis_Ababa
|
||||
"test_destination_datetime_tzinfo_zoneinfo"
|
||||
"test_destination_datetime_tzinfo_zoneinfo_nested"
|
||||
"test_move_to_datetime_with_tzinfo_zoneinfo"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"time_machine"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Travel through time in your tests";
|
||||
homepage = "https://github.com/adamchainz/time-machine";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
26
pkgs/development/python-modules/types-pytz/default.nix
Normal file
26
pkgs/development/python-modules/types-pytz/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "types-pytz";
|
||||
version = "2021.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hzjz6wgzfyybcfli4rpmfxk49cn6x3slbs2xdmlnckvlahs5pxd";
|
||||
};
|
||||
|
||||
# Modules doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pytz-stubs" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Typing stubs for pytz";
|
||||
homepage = "https://github.com/python/typeshed";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wled";
|
||||
version = "0.7.1";
|
||||
version = "0.8.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
format = "pyproject";
|
||||
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "frenck";
|
||||
repo = "python-wled";
|
||||
rev = "v${version}";
|
||||
sha256 = "02xrml9mpq3akwyryg1m7xjmgnlgi5kjvx7vkq6110ai0f9hzpwi";
|
||||
sha256 = "1jhykilb81sp1srxk91222qglwdlr993ssvgfnl837nbcx6ws1hw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.33.2";
|
||||
version = "0.33.4";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "jstasiak";
|
||||
repo = "python-zeroconf";
|
||||
rev = version;
|
||||
sha256 = "0pcfglxvrd3n6b5hkn169p38flhqr7alj8ipxx1p7kphywywplif";
|
||||
sha256 = "sha256-ld8Mo465fJTVNSv6YvKcsPafiIij4PEmeycWB3M3ewU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -11,13 +11,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-deconz";
|
||||
version = "0.12.0";
|
||||
version = "0.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-d/yAk8owMu+J1BzlwR5mzF9HkXiE6Kc81AznvsAboy8=";
|
||||
sha256 = "sha256-NpLhVQfezXbJQMvqqZjr9sc8tCjJgGu5Xk3C5/IDeUQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
||||
|
@ -4,7 +4,6 @@
|
||||
, buildPythonPackage
|
||||
, coloredlogs
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, jsonschema
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
@ -19,23 +18,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.5.1";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln";
|
||||
sha256 = "sha256-nnA/gVXBpCZFkspcO6kF3ZkEDu0vV0d9p1WNGVrN0u8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Fixes tests/application/test_joining.py::test_new_device_join_and_bind_complex[FormedLaunchpadCC26X2R1]
|
||||
url = "https://github.com/zigpy/zigpy-znp/commit/582cffb68fdf0c5bc14d55efca2a683222d7fed7.patch";
|
||||
sha256 = "0qsfziqqjnnf21gdqv3wwk50vni46i0h1liw5ysq641yjfnas9az";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
coloredlogs
|
||||
|
@ -5,46 +5,46 @@
|
||||
, buildPythonPackage
|
||||
, crccheck
|
||||
, fetchFromGitHub
|
||||
, pycrypto
|
||||
, pycryptodome
|
||||
, pytest-aiohttp
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, tox
|
||||
, voluptuous }:
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.35.2";
|
||||
version = "0.36.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = version;
|
||||
sha256 = "sha256-p0q0wGp3NaBO7gBTsPAt7FEAHW0MDPJCKqLklY21zBQ=";
|
||||
sha256 = "0rfif8ds6m9ndxnc0f02fivc2pwidf476ylyx9y2b1sa2qz36z5w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aiosqlite
|
||||
crccheck
|
||||
pycrypto
|
||||
pycryptodome
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
asynctest
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited
|
||||
"test_remigrate_forcibly_downgraded_v4"
|
||||
#"test_remigrate_forcibly_downgraded_v4"
|
||||
# RuntimeError: Event loop is closed
|
||||
"test_startup"
|
||||
#"test_startup"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.27.1";
|
||||
version = "0.28.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Q02S0jEFZe4qOkRok/sY0UPrMpmD13off85UL3+8o/o=";
|
||||
sha256 = "137m9052ndbii0q6zw9vmwsfimai05q9np4wv06nw2p2mhy5x48p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,13 +2,14 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2021.7.4";
|
||||
version = "2021.8.3";
|
||||
components = {
|
||||
"abode" = ps: with ps; [ abodepy ];
|
||||
"accuweather" = ps: with ps; [ accuweather ];
|
||||
"acer_projector" = ps: with ps; [ pyserial ];
|
||||
"acmeda" = ps: with ps; [ aiopulse ];
|
||||
"actiontec" = ps: with ps; [ ];
|
||||
"adax" = ps: with ps; [ ]; # missing inputs: adax
|
||||
"adguard" = ps: with ps; [ adguardhome ];
|
||||
"ads" = ps: with ps; [ pyads ];
|
||||
"advantage_air" = ps: with ps; [ advantage-air ];
|
||||
@ -32,7 +33,7 @@
|
||||
"ambient_station" = ps: with ps; [ aioambient ];
|
||||
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
|
||||
"ampio" = ps: with ps; [ ]; # missing inputs: asmog
|
||||
"analytics" = ps: with ps; [ aiohttp-cors ];
|
||||
"analytics" = ps: with ps; [ aiohttp-cors sqlalchemy ];
|
||||
"android_ip_webcam" = ps: with ps; [ pydroid-ipcam ];
|
||||
"androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ];
|
||||
"anel_pwrctrl" = ps: with ps; [ ]; # missing inputs: anel_pwrctrl-homeassistant
|
||||
@ -92,7 +93,7 @@
|
||||
"bluesound" = ps: with ps; [ xmltodict ];
|
||||
"bluetooth_le_tracker" = ps: with ps; [ pygatt ];
|
||||
"bluetooth_tracker" = ps: with ps; [ bt-proximity pybluez ];
|
||||
"bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense
|
||||
"bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: bme280spi i2csense
|
||||
"bme680" = ps: with ps; [ bme680 smbus-cffi ];
|
||||
"bmp280" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-bmp280
|
||||
"bmw_connected_drive" = ps: with ps; [ bimmer-connected ];
|
||||
@ -183,7 +184,7 @@
|
||||
"dlib_face_detect" = ps: with ps; [ face_recognition ];
|
||||
"dlib_face_identify" = ps: with ps; [ face_recognition ];
|
||||
"dlink" = ps: with ps; [ ]; # missing inputs: pyW215
|
||||
"dlna_dmr" = ps: with ps; [ async-upnp-client ];
|
||||
"dlna_dmr" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr ];
|
||||
"dnsip" = ps: with ps; [ aiodns ];
|
||||
"dominos" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pizzapi
|
||||
"doods" = ps: with ps; [ pillow ]; # missing inputs: pydoods
|
||||
@ -224,7 +225,8 @@
|
||||
"emonitor" = ps: with ps; [ aioemonitor ];
|
||||
"emulated_hue" = ps: with ps; [ aiohttp-cors ];
|
||||
"emulated_kasa" = ps: with ps; [ sense-energy ];
|
||||
"emulated_roku" = ps: with ps; [ emulated-roku ];
|
||||
"emulated_roku" = ps: with ps; [ aiohttp-cors emulated-roku ifaddr ];
|
||||
"energy" = ps: with ps; [ aiohttp-cors sqlalchemy ];
|
||||
"enigma2" = ps: with ps; [ openwebifpy ];
|
||||
"enocean" = ps: with ps; [ enocean ];
|
||||
"enphase_envoy" = ps: with ps; [ envoy-reader ];
|
||||
@ -268,6 +270,7 @@
|
||||
"flexit" = ps: with ps; [ pymodbus ]; # missing inputs: pyflexit
|
||||
"flic" = ps: with ps; [ pyflic ];
|
||||
"flick_electric" = ps: with ps; [ pyflick ];
|
||||
"flipr" = ps: with ps; [ ]; # missing inputs: flipr-api
|
||||
"flo" = ps: with ps; [ aioflo ];
|
||||
"flock" = ps: with ps; [ ];
|
||||
"flume" = ps: with ps; [ pyflume ];
|
||||
@ -286,20 +289,19 @@
|
||||
"freebox" = ps: with ps; [ freebox-api ];
|
||||
"freedns" = ps: with ps; [ ];
|
||||
"freedompro" = ps: with ps; [ pyfreedompro ];
|
||||
"fritz" = ps: with ps; [ aiohttp-cors fritzconnection fritzprofiles ifaddr xmltodict ];
|
||||
"fritz" = ps: with ps; [ aiohttp-cors fritzconnection ifaddr xmltodict ];
|
||||
"fritzbox" = ps: with ps; [ pyfritzhome ];
|
||||
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
|
||||
"fritzbox_netmonitor" = ps: with ps; [ fritzconnection ];
|
||||
"fronius" = ps: with ps; [ pyfronius ];
|
||||
"frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"frontier_silicon" = ps: with ps; [ ]; # missing inputs: afsapi
|
||||
"futurenow" = ps: with ps; [ pyfnip ];
|
||||
"garadget" = ps: with ps; [ ];
|
||||
"garages_amsterdam" = ps: with ps; [ garages-amsterdam ];
|
||||
"garmin_connect" = ps: with ps; [ garminconnect-ha ];
|
||||
"gc100" = ps: with ps; [ ]; # missing inputs: python-gc100
|
||||
"gdacs" = ps: with ps; [ aio-georss-gdacs ];
|
||||
"generic" = ps: with ps; [ ];
|
||||
"generic_hygrostat" = ps: with ps; [ ];
|
||||
"generic_thermostat" = ps: with ps; [ sqlalchemy ];
|
||||
"geniushub" = ps: with ps; [ ]; # missing inputs: geniushub-client
|
||||
"geo_json_events" = ps: with ps; [ geojson-client ];
|
||||
@ -342,7 +344,7 @@
|
||||
"hangouts" = ps: with ps; [ hangups ];
|
||||
"harman_kardon_avr" = ps: with ps; [ ]; # missing inputs: hkavr
|
||||
"harmony" = ps: with ps; [ aioharmony ];
|
||||
"hassio" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"hassio" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"haveibeenpwned" = ps: with ps; [ ];
|
||||
"hddtemp" = ps: with ps; [ ];
|
||||
"hdmi_cec" = ps: with ps; [ pycec ];
|
||||
@ -371,7 +373,7 @@
|
||||
"html5" = ps: with ps; [ aiohttp-cors pywebpush ];
|
||||
"http" = ps: with ps; [ aiohttp-cors ];
|
||||
"htu21d" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense
|
||||
"huawei_lte" = ps: with ps; [ getmac huawei-lte-api stringcase url-normalize ];
|
||||
"huawei_lte" = ps: with ps; [ huawei-lte-api stringcase url-normalize ];
|
||||
"huawei_router" = ps: with ps; [ ];
|
||||
"hue" = ps: with ps; [ aiohue ];
|
||||
"huisbaasje" = ps: with ps; [ huisbaasje-client ];
|
||||
@ -460,7 +462,7 @@
|
||||
"litterrobot" = ps: with ps; [ pylitterbot ];
|
||||
"llamalab_automate" = ps: with ps; [ ];
|
||||
"local_file" = ps: with ps; [ ];
|
||||
"local_ip" = ps: with ps; [ ];
|
||||
"local_ip" = ps: with ps; [ aiohttp-cors ifaddr ];
|
||||
"locative" = ps: with ps; [ aiohttp-cors ];
|
||||
"lock" = ps: with ps; [ ];
|
||||
"logbook" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
@ -484,7 +486,7 @@
|
||||
"mailgun" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pymailgunner
|
||||
"manual" = ps: with ps; [ ];
|
||||
"manual_mqtt" = ps: with ps; [ aiohttp-cors paho-mqtt ];
|
||||
"map" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"map" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"marytts" = ps: with ps; [ ]; # missing inputs: speak2mary
|
||||
"mastodon" = ps: with ps; [ mastodon-py ];
|
||||
"matrix" = ps: with ps; [ matrix-client ];
|
||||
@ -528,7 +530,7 @@
|
||||
"monoprice" = ps: with ps; [ ]; # missing inputs: pymonoprice
|
||||
"moon" = ps: with ps; [ ];
|
||||
"motion_blinds" = ps: with ps; [ ]; # missing inputs: motionblinds
|
||||
"motioneye" = ps: with ps; [ motioneye-client ];
|
||||
"motioneye" = ps: with ps; [ aiohttp-cors motioneye-client ];
|
||||
"mpchc" = ps: with ps; [ ];
|
||||
"mpd" = ps: with ps; [ mpd2 ];
|
||||
"mqtt" = ps: with ps; [ aiohttp-cors paho-mqtt ];
|
||||
@ -540,7 +542,7 @@
|
||||
"mullvad" = ps: with ps; [ mullvad-api ];
|
||||
"mutesync" = ps: with ps; [ mutesync ];
|
||||
"mvglive" = ps: with ps; [ PyMVGLive ];
|
||||
"my" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"my" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"mychevy" = ps: with ps; [ ]; # missing inputs: mychevy
|
||||
"mycroft" = ps: with ps; [ ]; # missing inputs: mycroftapi
|
||||
"myq" = ps: with ps; [ pymyq ];
|
||||
@ -566,7 +568,7 @@
|
||||
"nexia" = ps: with ps; [ nexia ];
|
||||
"nextbus" = ps: with ps; [ ]; # missing inputs: py_nextbusnext
|
||||
"nextcloud" = ps: with ps; [ nextcloudmonitor ];
|
||||
"nfandroidtv" = ps: with ps; [ ];
|
||||
"nfandroidtv" = ps: with ps; [ ]; # missing inputs: notifications-android-tv
|
||||
"nightscout" = ps: with ps; [ ]; # missing inputs: py-nightscout
|
||||
"niko_home_control" = ps: with ps; [ ]; # missing inputs: niko-home-control
|
||||
"nilu" = ps: with ps; [ ]; # missing inputs: niluclient
|
||||
@ -596,7 +598,7 @@
|
||||
"ohmconnect" = ps: with ps; [ defusedxml ];
|
||||
"ombi" = ps: with ps; [ ]; # missing inputs: pyombi
|
||||
"omnilogic" = ps: with ps; [ omnilogic ];
|
||||
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"onboarding" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ];
|
||||
"onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
|
||||
"onkyo" = ps: with ps; [ onkyo-eiscp ];
|
||||
@ -628,8 +630,8 @@
|
||||
"panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta
|
||||
"panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera
|
||||
"pandora" = ps: with ps; [ pexpect ];
|
||||
"panel_custom" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"panel_iframe" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"panel_custom" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"panel_iframe" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow sqlalchemy ];
|
||||
"pcal9535a" = ps: with ps; [ ]; # missing inputs: pcal9535a
|
||||
"pencom" = ps: with ps; [ ]; # missing inputs: pencompy
|
||||
"persistent_notification" = ps: with ps; [ ];
|
||||
@ -657,6 +659,7 @@
|
||||
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
|
||||
"proliphix" = ps: with ps; [ ]; # missing inputs: proliphix
|
||||
"prometheus" = ps: with ps; [ aiohttp-cors prometheus_client ];
|
||||
"prosegur" = ps: with ps; [ ]; # missing inputs: pyprosegur
|
||||
"prowl" = ps: with ps; [ ];
|
||||
"proximity" = ps: with ps; [ ];
|
||||
"proxmoxve" = ps: with ps; [ proxmoxer ];
|
||||
@ -696,6 +699,7 @@
|
||||
"remember_the_milk" = ps: with ps; [ httplib2 ]; # missing inputs: RtmAPI
|
||||
"remote" = ps: with ps; [ ];
|
||||
"remote_rpi_gpio" = ps: with ps; [ ]; # missing inputs: gpiozero
|
||||
"renault" = ps: with ps; [ ]; # missing inputs: renault-api
|
||||
"repetier" = ps: with ps; [ ]; # missing inputs: pyrepetier
|
||||
"rest" = ps: with ps; [ jsonpath xmltodict ];
|
||||
"rest_command" = ps: with ps; [ ];
|
||||
@ -717,16 +721,16 @@
|
||||
"rpi_gpio_pwm" = ps: with ps; [ ]; # missing inputs: pwmled
|
||||
"rpi_pfio" = ps: with ps; [ ]; # missing inputs: pifacecommon pifacedigitalio
|
||||
"rpi_power" = ps: with ps; [ ]; # missing inputs: rpi-bad-power
|
||||
"rpi_rf" = ps: with ps; [ ]; # missing inputs: rpi-rf
|
||||
"rpi_rf" = ps: with ps; [ ]; # missing inputs: RPi.GPIO rpi-rf
|
||||
"rss_feed_template" = ps: with ps; [ aiohttp-cors ];
|
||||
"rtorrent" = ps: with ps; [ ];
|
||||
"ruckus_unleashed" = ps: with ps; [ pyruckus ];
|
||||
"russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio
|
||||
"russound_rnet" = ps: with ps; [ ]; # missing inputs: russound
|
||||
"sabnzbd" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ]; # missing inputs: pysabnzbd
|
||||
"safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa home-assistant-frontend pillow ];
|
||||
"safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa home-assistant-frontend pillow sqlalchemy ];
|
||||
"saj" = ps: with ps; [ ]; # missing inputs: pysaj
|
||||
"samsungtv" = ps: with ps; [ samsungctl samsungtvws wakeonlan ];
|
||||
"samsungtv" = ps: with ps; [ getmac samsungctl samsungtvws wakeonlan ];
|
||||
"satel_integra" = ps: with ps; [ ]; # missing inputs: satel_integra
|
||||
"scene" = ps: with ps; [ ];
|
||||
"schluter" = ps: with ps; [ ]; # missing inputs: py-schluter
|
||||
@ -763,6 +767,7 @@
|
||||
"simplisafe" = ps: with ps; [ simplisafe-python ];
|
||||
"simulated" = ps: with ps; [ ];
|
||||
"sinch" = ps: with ps; [ ]; # missing inputs: clx-sdk-xms
|
||||
"siren" = ps: with ps; [ ];
|
||||
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
|
||||
"sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
|
||||
"skybeacon" = ps: with ps; [ pygatt ];
|
||||
@ -793,7 +798,7 @@
|
||||
"somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ];
|
||||
"sonarr" = ps: with ps; [ sonarr ];
|
||||
"songpal" = ps: with ps; [ python-songpal ];
|
||||
"sonos" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr plexapi plexauth plexwebsocket pysonos zeroconf ];
|
||||
"sonos" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr plexapi plexauth plexwebsocket soco zeroconf ];
|
||||
"sony_projector" = ps: with ps; [ ]; # missing inputs: pysdcp
|
||||
"soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ];
|
||||
"spaceapi" = ps: with ps; [ aiohttp-cors ];
|
||||
@ -833,7 +838,7 @@
|
||||
"syncthing" = ps: with ps; [ aiosyncthing ];
|
||||
"syncthru" = ps: with ps; [ pysyncthru url-normalize ];
|
||||
"synology_chat" = ps: with ps; [ ];
|
||||
"synology_dsm" = ps: with ps; [ synologydsm-api ];
|
||||
"synology_dsm" = ps: with ps; [ ]; # missing inputs: py-synologydsm-api
|
||||
"synology_srm" = ps: with ps; [ ]; # missing inputs: synology-srm
|
||||
"syslog" = ps: with ps; [ ];
|
||||
"system_bridge" = ps: with ps; [ aiohttp-cors ifaddr systembridge zeroconf ];
|
||||
@ -969,7 +974,6 @@
|
||||
"worldtidesinfo" = ps: with ps; [ ];
|
||||
"worxlandroid" = ps: with ps; [ ];
|
||||
"wsdot" = ps: with ps; [ ];
|
||||
"wunderground" = ps: with ps; [ ];
|
||||
"x10" = ps: with ps; [ ];
|
||||
"xbee" = ps: with ps; [ ]; # missing inputs: xbee-helper
|
||||
"xbox" = ps: with ps; [ aiohttp-cors xbox-webapi ];
|
||||
@ -989,6 +993,7 @@
|
||||
"yeelight" = ps: with ps; [ yeelight ];
|
||||
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
|
||||
"yi" = ps: with ps; [ aioftp ha-ffmpeg ];
|
||||
"youless" = ps: with ps; [ ]; # missing inputs: youless-api
|
||||
"zabbix" = ps: with ps; [ ]; # missing inputs: py-zabbix
|
||||
"zamg" = ps: with ps; [ ];
|
||||
"zengge" = ps: with ps; [ ]; # missing inputs: zengge
|
||||
|
@ -58,25 +58,6 @@ let
|
||||
(mkOverride "ring-doorbell" "0.6.2"
|
||||
"fbd537722a27b3b854c26506d894b7399bb8dc57ff36083285971227a2d46560")
|
||||
|
||||
# Pinned due to API changes in pyflunearyou>=2.0
|
||||
(self: super: {
|
||||
pyflunearyou = super.pyflunearyou.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.0.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = "pyflunearyou";
|
||||
rev = version;
|
||||
sha256 = "0hq55k298m9a90qb3lasw9bi093hzndrah00rfq94bp53aq0is99";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry.masonry.api" "poetry.core.masonry.api" \
|
||||
--replace 'msgpack = "^0.6.2"' 'msgpack = "*"' \
|
||||
--replace 'ujson = "^1.35"' 'ujson = "*"'
|
||||
'';
|
||||
});
|
||||
})
|
||||
|
||||
# Pinned due to API changes in pylast 4.2.1
|
||||
(mkOverride "pylast" "4.2.0"
|
||||
"0zd0dn2l738ndz62vpa751z0ldnm91dcz9zzbvxv53r08l0s9yf3")
|
||||
@ -157,7 +138,7 @@ let
|
||||
extraBuildInputs = extraPackages py.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2021.7.4";
|
||||
hassVersion = "2021.8.3";
|
||||
|
||||
in with py.pkgs; buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -174,7 +155,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = version;
|
||||
sha256 = "1y6p3hg487ishar1r8vir5cxfbaw4c86s5w3zn9bmbf6jbd51pyk";
|
||||
sha256 = "02hm4x1qx9vd39d9l2gl2pnfnjmpk6p2w72lj45cvp3jimdg30fz";
|
||||
};
|
||||
|
||||
# leave this in, so users don't have to constantly update their downstream patch handling
|
||||
@ -388,7 +369,6 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"fritzbox_callmonitor"
|
||||
"frontend"
|
||||
"garages_amsterdam"
|
||||
"garmin_connect"
|
||||
"gdacs"
|
||||
"generic"
|
||||
"generic_thermostat"
|
||||
@ -430,7 +410,8 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"home_connect"
|
||||
"home_plus_control"
|
||||
"homeassistant"
|
||||
"homekit"
|
||||
# disable homekit tests because they fail in the network component
|
||||
#"homekit"
|
||||
"homekit_controller"
|
||||
"homematic"
|
||||
"homematicip_cloud"
|
||||
@ -658,7 +639,6 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"switcher_kis"
|
||||
"syncthing"
|
||||
"syncthru"
|
||||
"synology_dsm"
|
||||
"system_health"
|
||||
"system_log"
|
||||
"tado"
|
||||
@ -731,7 +711,6 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"workday"
|
||||
"worldclock"
|
||||
"wsdot"
|
||||
"wunderground"
|
||||
"xbox"
|
||||
"xiaomi"
|
||||
"xiaomi_aqara"
|
||||
@ -791,8 +770,15 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
# wallbox/test_config_flow.py: Tries to connect to api.wall-box.cim: Failed to establish a new connection: [Errno -2] Name or service not known
|
||||
"--deselect tests/components/wallbox/test_config_flow.py::test_form_invalid_auth"
|
||||
"--deselect tests/components/wallbox/test_config_flow.py::test_form_cannot_connect"
|
||||
# tests/components/default_config/test_init.py: Tries to check for updates and fails ungracefully without network access
|
||||
# default_config/test_init.py: Tries to check for updates and fails ungracefully without network access
|
||||
"--deselect tests/components/default_config/test_init.py::test_setup"
|
||||
# local_ip/test_{init,config_flow}.py: tries to lookup a route towards a multicast address and fails
|
||||
"--deselect tests/components/local_ip/test_init.py::test_basic_setup"
|
||||
"--deselect tests/components/local_ip/test_config_flow.py::test_config_flow"
|
||||
# netatmo/test_select.py: NoneType object has no attribute state
|
||||
"--deselect tests/components/netatmo/test_select.py::test_select_schedule_thermostats"
|
||||
# helpers/test_system_info.py: AssertionError: assert 'Unknown' == 'Home Assistant Container'
|
||||
"--deselect tests/helpers/test_system_info.py::test_container_installationtype"
|
||||
# tests are located in tests/
|
||||
"tests"
|
||||
# dynamically add packages required for component tests
|
||||
@ -828,8 +814,6 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"test_onboarding_core_no_rpi_power"
|
||||
# hue/test_sensor_base.py: Race condition when counting events
|
||||
"test_hue_events"
|
||||
# homekit/test_homekit.py: Tries to use zeroconf, which tries to join a multicast group
|
||||
"test_homekit_uses_system_zeroconf"
|
||||
# august/test_lock.py: AssertionError: assert 'unlocked' == 'locked'
|
||||
"test_lock_update_via_pubnub"
|
||||
];
|
||||
|
@ -4,11 +4,11 @@ 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 = "20210707.0";
|
||||
version = "20210804.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-6RR+T4+vS6g00+MS1ty8aFVx6WM2dE+c17+wDoPxnGg=";
|
||||
sha256 = "sha256-0VCukSHI4PXAecxHc1DJSQ1GrErenNb0K4OhSIgkQbs=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -36,5 +36,5 @@ sed -i -e "s/hassVersion =.*/hassVersion = \"${TARGET_VERSION}\";/" \
|
||||
nix-update --version "$TARGET_VERSION" --build home-assistant
|
||||
)
|
||||
|
||||
git add ./component-packages.nix ./default.nix ./frontend.nix
|
||||
git commit -m "home-assistant: ${CURRENT_VERSION} -> ${TARGET_VERSION}"
|
||||
#git add ./component-packages.nix ./default.nix ./frontend.nix
|
||||
#git commit -m "home-assistant: ${CURRENT_VERSION} -> ${TARGET_VERSION}"
|
||||
|
@ -569,6 +569,8 @@ in {
|
||||
|
||||
aspy-yaml = callPackage ../development/python-modules/aspy.yaml { };
|
||||
|
||||
assertpy = callPackage ../development/python-modules/assertpy { };
|
||||
|
||||
asteval = callPackage ../development/python-modules/asteval { };
|
||||
|
||||
astor = callPackage ../development/python-modules/astor { };
|
||||
@ -6904,6 +6906,8 @@ in {
|
||||
|
||||
pytest-mock = callPackage ../development/python-modules/pytest-mock { };
|
||||
|
||||
pytest-mockservers = callPackage ../development/python-modules/pytest-mockservers { };
|
||||
|
||||
pytest-mpl = callPackage ../development/python-modules/pytest-mpl { };
|
||||
|
||||
pytest-mypy = callPackage ../development/python-modules/pytest-mypy { };
|
||||
@ -6942,6 +6946,8 @@ in {
|
||||
|
||||
pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };
|
||||
|
||||
pytest-resource-path = callPackage ../development/python-modules/pytest-resource-path { };
|
||||
|
||||
pytest-runner = callPackage ../development/python-modules/pytest-runner { };
|
||||
|
||||
pytest-sanic = callPackage ../development/python-modules/pytest-sanic {
|
||||
@ -8729,6 +8735,8 @@ in {
|
||||
|
||||
timelib = callPackage ../development/python-modules/timelib { };
|
||||
|
||||
time-machine = callPackage ../development/python-modules/time-machine { };
|
||||
|
||||
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };
|
||||
|
||||
timezonefinder = callPackage ../development/python-modules/timezonefinder { };
|
||||
@ -8935,6 +8943,8 @@ in {
|
||||
|
||||
types-decorator = callPackage ../development/python-modules/types-decorator { };
|
||||
|
||||
types-pytz = callPackage ../development/python-modules/types-pytz { };
|
||||
|
||||
types-requests = callPackage ../development/python-modules/types-requests { };
|
||||
|
||||
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||
|
Loading…
Reference in New Issue
Block a user