mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Merge pull request #214070 from NixOS/home-assistant
home-assistant: 2023.1.7 -> 2023.2.0
This commit is contained in:
commit
006c3bd4dd
@ -438,11 +438,13 @@ in {
|
|||||||
"aranet"
|
"aranet"
|
||||||
"bluemaestro"
|
"bluemaestro"
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
|
"bluetooth_adapters"
|
||||||
"bluetooth_le_tracker"
|
"bluetooth_le_tracker"
|
||||||
"bluetooth_tracker"
|
"bluetooth_tracker"
|
||||||
"bthome"
|
"bthome"
|
||||||
"default_config"
|
"default_config"
|
||||||
"eq3btsmart"
|
"eq3btsmart"
|
||||||
|
"eufylife_ble"
|
||||||
"esphome"
|
"esphome"
|
||||||
"fjaraskupan"
|
"fjaraskupan"
|
||||||
"govee_ble"
|
"govee_ble"
|
||||||
@ -452,8 +454,10 @@ in {
|
|||||||
"led_ble"
|
"led_ble"
|
||||||
"melnor"
|
"melnor"
|
||||||
"moat"
|
"moat"
|
||||||
|
"mopeka"
|
||||||
"oralb"
|
"oralb"
|
||||||
"qingping"
|
"qingping"
|
||||||
|
"ruuvi_gateway"
|
||||||
"ruuvitag_ble"
|
"ruuvitag_ble"
|
||||||
"sensirion_ble"
|
"sensirion_ble"
|
||||||
"sensorpro"
|
"sensorpro"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioaladdinconnect";
|
pname = "aioaladdinconnect";
|
||||||
version = "0.1.54";
|
version = "0.1.55";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "AIOAladdinConnect";
|
pname = "AIOAladdinConnect";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-WRHQYWoQQ8EoKOqhIS0PqIWisO4xjUvRJHpomD8f5wA=";
|
hash = "sha256-Lyhv6JF+KuCiGz05EbXMEeXzVCI7ACsJmnEuAtDghYo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohue";
|
pname = "aiohue";
|
||||||
version = "4.5.0";
|
version = "4.6.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -18,8 +18,8 @@ buildPythonPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-Lcs+Ieh5TEUE+sHqFAZr9rsAZMsI9t2/w87r36IUa1A=";
|
hash = "sha256-ATM4s2W1Gw98TysfqHVA/McerZStHaUK5eMrSU9+uOI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -45,6 +45,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python package to talk to Philips Hue";
|
description = "Python package to talk to Philips Hue";
|
||||||
homepage = "https://github.com/home-assistant-libs/aiohue";
|
homepage = "https://github.com/home-assistant-libs/aiohue";
|
||||||
|
changelog = "https://github.com/home-assistant-libs/aiohue/releases/tag/${version}";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiomusiccast";
|
pname = "aiomusiccast";
|
||||||
version = "0.14.6";
|
version = "0.14.7";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
owner = "vigonotion";
|
owner = "vigonotion";
|
||||||
repo = "aiomusiccast";
|
repo = "aiomusiccast";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-eQBVenB/WIqksohWtCU/3o3TGWMavPjJahlg0yus4aE=";
|
hash = "sha256-6fHTZ5zFiXuyFtZj9cNH5ejLbzx/1cEBUy+fs+Q6O4Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -4,18 +4,17 @@
|
|||||||
, backports-zoneinfo
|
, backports-zoneinfo
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, holidays
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-timeout
|
, pytest-timeout
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, tzdata
|
, python-dotenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiopvpc";
|
pname = "aiopvpc";
|
||||||
version = "3.0.0";
|
version = "4.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -23,18 +22,21 @@ buildPythonPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "azogue";
|
owner = "azogue";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-eTCQddoZIaCs7iKGNBC8aSq6ek4vwYXgIXx35UlME/k=";
|
hash = "sha256-E5z74/5VuFuOyAfeT4PQlHUNOiVT4sPgOdxoAIIymxU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml --replace \
|
||||||
|
" --cov --cov-report term --cov-report html" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
holidays
|
|
||||||
tzdata
|
|
||||||
async-timeout
|
async-timeout
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
backports-zoneinfo
|
backports-zoneinfo
|
||||||
@ -44,18 +46,9 @@ buildPythonPackage rec {
|
|||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-timeout
|
pytest-timeout
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
python-dotenv
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# Failures seem related to changes in holidays-0.13, https://github.com/azogue/aiopvpc/issues/44
|
|
||||||
"test_number_of_national_holidays"
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml --replace \
|
|
||||||
" --cov --cov-report term --cov-report html" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"aiopvpc"
|
"aiopvpc"
|
||||||
];
|
];
|
||||||
@ -63,6 +56,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module to download Spanish electricity hourly prices (PVPC)";
|
description = "Python module to download Spanish electricity hourly prices (PVPC)";
|
||||||
homepage = "https://github.com/azogue/aiopvpc";
|
homepage = "https://github.com/azogue/aiopvpc";
|
||||||
|
changelog = "https://github.com/azogue/aiopvpc/blob/v${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
47
pkgs/development/python-modules/aioruuvigateway/default.nix
Normal file
47
pkgs/development/python-modules/aioruuvigateway/default.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, hatchling
|
||||||
|
, bluetooth-data-tools
|
||||||
|
, httpx
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-httpx
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aioruuvigateway";
|
||||||
|
version = "0.0.2";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "akx";
|
||||||
|
repo = "aioruuvigateway";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-oT5Tlmi9bevOkcVZqg/xvCckIpN7TjbPVQefo9z1RDM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
bluetooth-data-tools
|
||||||
|
httpx
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-httpx
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An asyncio-native library for requesting data from a Ruuvi Gateway";
|
||||||
|
homepage = "https://github.com/akx/aioruuvigateway";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ hexa ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
47
pkgs/development/python-modules/aiosomecomfort/default.nix
Normal file
47
pkgs/development/python-modules/aiosomecomfort/default.nix
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, aiohttp
|
||||||
|
, prettytable
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aiosomecomfort";
|
||||||
|
version = "0.0.3";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mkmer";
|
||||||
|
repo = "AIOSomecomfort";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-Qw0KR934GS7AuT3nRYaunypt091fZLRioVbNOp9JesY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/mkmer/AIOSomecomfort/issues/1
|
||||||
|
mv aiosomecomfort AIOSomecomfort
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
prettytable
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
# SyntaxError in test.py
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "AsyicIO client for US models of Honeywell Thermostats";
|
||||||
|
homepage = "https://github.com/mkmer/AIOSomecomfort";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = with lib.maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiounifi";
|
pname = "aiounifi";
|
||||||
version = "43";
|
version = "44";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Kane610";
|
owner = "Kane610";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-qpFQdNlw6voqccoJwPsnmbU5DtAC6zwtouUeysZ8/0M=";
|
hash = "sha256-SRI7c0cmrNSTOEyRbs6JGEg5O9tws+Dwn0G8HUqWEqc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "async-upnp-client";
|
pname = "async-upnp-client";
|
||||||
version = "0.33.0";
|
version = "0.33.1";
|
||||||
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 = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-I7C2ho+pmowerJFK82wYcqEOhRV3KZ5j5IBVCKjhllM=";
|
hash = "sha256-gXDuStgCBH6YW3SsAjEvQq7l+Vf8+Z8sle1TnLRtNwo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -1,26 +1,31 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, async-timeout
|
||||||
, attrs
|
, attrs
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, httpx
|
, httpx
|
||||||
|
, orjson
|
||||||
, packaging
|
, packaging
|
||||||
, xmltodict
|
, xmltodict
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "axis";
|
pname = "axis";
|
||||||
version = "44";
|
version = "46";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kane610";
|
owner = "Kane610";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GC8GiDP/QHU+8swe60VFPRx8kSMMHuXjIPEKCja8HPE=";
|
hash = "sha256-alhezwRPag+6JoC4zbusWdxFyZQ2dZl04Uj1PkiN4qo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
async-timeout
|
||||||
attrs
|
attrs
|
||||||
httpx
|
httpx
|
||||||
|
orjson
|
||||||
packaging
|
packaging
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
@ -32,6 +37,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for communicating with devices from Axis Communications";
|
description = "Python library for communicating with devices from Axis Communications";
|
||||||
homepage = "https://github.com/Kane610/axis";
|
homepage = "https://github.com/Kane610/axis";
|
||||||
|
changelog = "https://github.com/Kane610/axis/releases/tag/v${version}";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bellows";
|
pname = "bellows";
|
||||||
version = "0.34.6";
|
version = "0.34.7";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
owner = "zigpy";
|
owner = "zigpy";
|
||||||
repo = "bellows";
|
repo = "bellows";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-J6PUVdIs9adRdFbw9yzu1Y9jU9Ge0hGxueXbE1b03og=";
|
hash = "sha256-+4OWiIRbCLvZWt5zn2djW20PrZJK4c5KOcz4Owbkozg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -15,16 +15,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "devolo-plc-api";
|
pname = "devolo-plc-api";
|
||||||
version = "0.9.0";
|
version = "1.1.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "2Fake";
|
owner = "2Fake";
|
||||||
repo = "devolo_plc_api";
|
repo = "devolo_plc_api";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-FBcDEEWgfV+OgHriSOZKWZPt0O89nDe2CsY3oqX/6zo=";
|
hash = "sha256-xM7g6q18A+qmOhQeey4uxs6ow6Hf5YKDdbpXwYr2RXo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
@ -46,15 +46,14 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"devolo_plc_api"
|
"devolo_plc_api"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module to interact with Devolo PLC devices";
|
description = "Module to interact with Devolo PLC devices";
|
||||||
homepage = "https://github.com/2Fake/devolo_plc_api";
|
homepage = "https://github.com/2Fake/devolo_plc_api";
|
||||||
|
changelog = "https://github.com/2Fake/devolo_plc_api/releases/tag/v${version}";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "env-canada";
|
pname = "env-canada";
|
||||||
version = "0.5.26";
|
version = "0.5.27";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "michaeldavie";
|
owner = "michaeldavie";
|
||||||
repo = "env_canada";
|
repo = "env_canada";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-k8GaW88PhHgHuG4UU4ha6N8iRkZRlIKxAHrWt1Yq3G0=";
|
hash = "sha256-tZp3r0LALo32vmbeBOjHHg6sexpP+iq9WGRSob13mmE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, aiohttp
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "esphome-dashboard-api";
|
||||||
|
version = "1.2.3";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "esphome";
|
||||||
|
repo = "dashboard-api";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-RFfS0xzRXoM6ETXmviiMPxffPzspjTqpkvHOlTJXN9g=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # no tests
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"esphome_dashboard_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "API to interact with ESPHome Dashboard";
|
||||||
|
homepage = "https://github.com/esphome/dashboard-api";
|
||||||
|
changelog = "https://github.com/esphome/dashboard-api/releases/tag/${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ hexa ];
|
||||||
|
};
|
||||||
|
}
|
@ -13,14 +13,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-api-python-client";
|
pname = "google-api-python-client";
|
||||||
version = "2.70.0";
|
version = "2.75.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-Ji3glNWjDTN/WeZlgQGf7UW2mMB4OXrEjdMjwJaCNuc=";
|
sha256 = "sha256-DxCaK3HxTJp7SCMf7PzdOrlYYeqav1TwYKxFwgT63D0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "home-assistant-chip-clusters";
|
pname = "home-assistant-chip-clusters";
|
||||||
version = "2022.12.0";
|
version = "2023.1.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
|||||||
pname = "home_assistant_chip_clusters";
|
pname = "home_assistant_chip_clusters";
|
||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
hash = "sha256-zo54lRNyKXCCUUoYIiZmHZMqISim9QKEOnFbM/iBRqE=";
|
hash = "sha256-2UcDu2b3DtijAOUt+eazleoKxEhAgsU3MY/OoEBpLNg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "home-assistant-chip-core";
|
pname = "home-assistant-chip-core";
|
||||||
version = "2022.12.0";
|
version = "2023.1.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -33,11 +33,11 @@ buildPythonPackage rec {
|
|||||||
system = {
|
system = {
|
||||||
"aarch64-linux" = {
|
"aarch64-linux" = {
|
||||||
name = "aarch64";
|
name = "aarch64";
|
||||||
hash = "sha256-oNqrvbzXeXpMG3v9RK6kppONH4n7xLVaJCEFXxVj2jE=";
|
hash = "sha256-hNaGE2s/oFFAVCWu50IeeaFTlOSByJJAKvBgX1iDrVE=";
|
||||||
};
|
};
|
||||||
"x86_64-linux" = {
|
"x86_64-linux" = {
|
||||||
name = "x86_64";
|
name = "x86_64";
|
||||||
hash = "sha256-S5n1MUig8ZDSLgWeVmu+5qLZ4kfHQUC9qZcVfM8rPvw=";
|
hash = "sha256-zXxbDGfyFUXuEnaH4a8R4LXH0gfbMCkKPBJJGp77xHM=";
|
||||||
};
|
};
|
||||||
}.${stdenv.system} or (throw "Unsupported system");
|
}.${stdenv.system} or (throw "Unsupported system");
|
||||||
in fetchPypi {
|
in fetchPypi {
|
||||||
|
@ -6,13 +6,15 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ndms2-client";
|
pname = "ndms2-client";
|
||||||
version = "0.1.1";
|
version = "0.1.2";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "foxel";
|
owner = "foxel";
|
||||||
repo = "python_ndms2_client";
|
repo = "python_ndms2_client";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1sc39d10hm1y8xf3gdqzq1akrx94k590l106242j9bvfqyr8lrk9";
|
hash = "sha256-cM36xNLymg5Xph3bvbUGdAEmMABJ9y3/w/U8re6ZfB4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
{ lib
|
|
||||||
, aiohttp
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, pythonOlder
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "pyalmond";
|
|
||||||
version = "0.0.3";
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "stanford-oval";
|
|
||||||
repo = pname;
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0d1w83lr7k2wxcs846iz4mjyqn1ximnw6155kgl515v10fqyrhgk";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp ];
|
|
||||||
|
|
||||||
# Tests require a running Almond instance
|
|
||||||
doCheck = false;
|
|
||||||
pythonImportsCheck = [ "pyalmond" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Python client for the Almond API";
|
|
||||||
homepage = "https://github.com/stanford-oval/pyalmond";
|
|
||||||
license = with licenses; [ bsd3 ];
|
|
||||||
maintainers = with maintainers; [ fab ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pybravia";
|
pname = "pybravia";
|
||||||
version = "0.2.5";
|
version = "0.3.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Drafteed";
|
owner = "Drafteed";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-QWn5VdZlbxm2/ZvsQWlKuVPPBcqFkyt75Odh9Mf9Bqk=";
|
hash = "sha256-aY+G4e2uq2yWUkJ9CXnOhc5S57kkMB36N/x+iQDCivo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyisy";
|
pname = "pyisy";
|
||||||
version = "3.1.9";
|
version = "3.1.11";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "automicus";
|
owner = "automicus";
|
||||||
repo = "PyISY";
|
repo = "PyISY";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-X/flikSo0PKHz4iBw4AjhCwpTtt2P+1jrlTAanYgO1A=";
|
hash = "sha256-RYC0mfskDcCU9O2pSKRL9ulPUaJQO9UKp7WANXZWJ60=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
, pyserial
|
, pyserial
|
||||||
, pyserial-asyncio
|
, pyserial-asyncio
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
, pytest-rerunfailures
|
||||||
|
, pytest-xdist
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, redis
|
, redis
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
@ -19,13 +21,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pymodbus";
|
pname = "pymodbus";
|
||||||
version = "3.0.2";
|
version = "3.1.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "riptideio";
|
owner = "pymodbus-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-7zuFKJuKc+J4g7qoK22xed8dmXJatQbQXz4aKAOcvN8=";
|
hash = "sha256-kae/TADu23NnCrXkJ/dkDBNIgBm/+BxXf+lh8uMxz/s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Twisted asynchronous version is not supported due to a missing dependency
|
# Twisted asynchronous version is not supported due to a missing dependency
|
||||||
@ -43,12 +46,18 @@ buildPythonPackage rec {
|
|||||||
asynctest
|
asynctest
|
||||||
mock
|
mock
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
pytest-rerunfailures
|
||||||
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
redis
|
redis
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
twisted
|
twisted
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"--reruns" "3" # Racy socket tests
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pymodbus" ];
|
pythonImportsCheck = [ "pymodbus" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -59,7 +68,8 @@ buildPythonPackage rec {
|
|||||||
also be used without any third party dependencies if a more
|
also be used without any third party dependencies if a more
|
||||||
lightweight project is needed.
|
lightweight project is needed.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/riptideio/pymodbus";
|
homepage = "https://github.com/pymodbus-dev/pymodbus";
|
||||||
|
changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}";
|
||||||
license = with licenses; [ bsd3 ];
|
license = with licenses; [ bsd3 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -1,22 +1,20 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysensibo";
|
pname = "pysensibo";
|
||||||
version = "1.0.24";
|
version = "1.0.25";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "andrey-git";
|
inherit pname version;
|
||||||
repo = pname;
|
hash = "sha256-AZpqV/CQ8TLKjaee9b0Zbu6WfnGNenKIvot+TTTSikg=";
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
hash = "sha256-lLorBf4HjynkTyLfKGcxEpSzyCawjKDej/HFtHl/Ar8=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-homewizard-energy";
|
pname = "python-homewizard-energy";
|
||||||
version = "1.3.1";
|
version = "1.8.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
owner = "DCSBL";
|
owner = "DCSBL";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-rj3WTDj2ey8unOxXkD4zbqwd0FDcyHPzsDrjtX7myj4=";
|
hash = "sha256-ab+Fa7Dc2mHGy5C5PfoBfXIb/eugCyGrWjTYlJmTQE0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-matter-server";
|
pname = "python-matter-server";
|
||||||
version = "1.0.8";
|
version = "2.0.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = "python-matter-server";
|
repo = "python-matter-server";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-7w2Gg70Sl84zs55z6Hg8JPtkY9dNzyb1iBC6O4ulr1M=";
|
hash = "sha256-9Lb5Q54hPdyqMjrHvwBzVXPk8uKBLNRUl2Bljo64Fpo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "reolink-aio";
|
pname = "reolink-aio";
|
||||||
version = "0.2.2";
|
version = "0.3.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -20,25 +20,26 @@ buildPythonPackage rec {
|
|||||||
owner = "starkillerOG";
|
owner = "starkillerOG";
|
||||||
repo = "reolink_aio";
|
repo = "reolink_aio";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-rHiKwr720aTpkem8urnK9TP5CkHCEOHdeBp00rhlitI=";
|
hash = "sha256-XFqZ/5eK7cYPNsWNFu8UlJfMe28qSZNFrtozB80ZcNM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
aiohttp
|
|
||||||
ffmpeg-python
|
|
||||||
requests
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
|
||||||
aiounittest
|
|
||||||
pytestCheckHook
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Packages in nixpkgs is different than the module name
|
# Packages in nixpkgs is different than the module name
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "ffmpeg" "ffmpeg-python"
|
--replace "ffmpeg" "ffmpeg-python"
|
||||||
'';
|
'';
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
ffmpeg-python
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false; # all testse require a network device
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
aiounittest
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"tests/test.py"
|
"tests/test.py"
|
||||||
@ -51,7 +52,9 @@ buildPythonPackage rec {
|
|||||||
"test3_images"
|
"test3_images"
|
||||||
"test4_properties"
|
"test4_properties"
|
||||||
"test_succes"
|
"test_succes"
|
||||||
|
"test_wrong_host"
|
||||||
"test_wrong_password"
|
"test_wrong_password"
|
||||||
|
"test_wrong_user"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
{ lib
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, prettytable
|
|
||||||
, requests
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "somecomfort";
|
|
||||||
version = "0.8.0";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "56e60e4e9f76c12c0c9dd1016e9f1334be6800409e0762f5f143f9069d7292d3";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
requests
|
|
||||||
prettytable
|
|
||||||
];
|
|
||||||
|
|
||||||
# tests require network access
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "somecomfort" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Client for Honeywell's US-based cloud devices";
|
|
||||||
homepage = "https://github.com/kk7ds/somecomfort";
|
|
||||||
license = licenses.gpl3Only;
|
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "whirlpool-sixth-sense";
|
pname = "whirlpool-sixth-sense";
|
||||||
version = "0.18";
|
version = "0.18.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "abmantis";
|
owner = "abmantis";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-XmbRUVivV+jSJUpksMIJ88CwNtOD+Qkwtqyg3dX33ZU=";
|
hash = "sha256-6vmevL/VDuBnsPeYxtBZkCi9SVuINpM6jVlNR1Y6AuA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xknx";
|
pname = "xknx";
|
||||||
version = "2.2.0";
|
version = "2.3.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "XKNX";
|
owner = "XKNX";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-vz24saI0wuhax4/zCBDM3HB+ZjZI8bGOWr2va4V3zV8=";
|
hash = "sha256-G4az6YmCDv1MPF30mBQVNBPZdebjZqd+0vxo5F5iDWY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -78,22 +78,6 @@ let
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
caldav = super.caldav.overridePythonAttrs (old: rec {
|
|
||||||
version = "0.9.1";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "python-caldav";
|
|
||||||
repo = "caldav";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-Gil0v4pGyp5+TnYPjb8Vk0xTqnQKaeD8Ko/ZWhvkbUk=";
|
|
||||||
};
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace ", 'xandikos<0.2.4'" "" \
|
|
||||||
--replace ", 'radicale'" ""
|
|
||||||
'';
|
|
||||||
nativeCheckInputs = old.nativeCheckInputs ++ [ self.nose ];
|
|
||||||
});
|
|
||||||
|
|
||||||
dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec {
|
dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "0.33";
|
version = "0.33";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -114,15 +98,6 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
icalendar = super.icalendar.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "4.1.0";
|
|
||||||
src = self.fetchPypi {
|
|
||||||
inherit (oldAttrs) pname;
|
|
||||||
inherit version;
|
|
||||||
hash = "sha256-l0i3wC78xD5Y0GFa4JdqxPJl6Q2t7ptPiE3imQXBs5U=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
# Pinned due to API changes in 10.0
|
# Pinned due to API changes in 10.0
|
||||||
mcstatus = super.mcstatus.overridePythonAttrs (oldAttrs: rec {
|
mcstatus = super.mcstatus.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "9.3.0";
|
version = "9.3.0";
|
||||||
@ -176,27 +151,6 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
pymodbus = super.pymodbus.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "2.5.3";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "riptideio";
|
|
||||||
repo = "pymodbus";
|
|
||||||
rev= "refs/tags/v${version}";
|
|
||||||
hash = "sha256-pf1TU/imBqNVYdG4XX8fnma8O8kQHuOHu6DT3E/PUk4=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
# Pinned due to API changes in 1.0.24
|
|
||||||
pysensibo = super.pysensibo.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "1.0.22";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "andrey-git";
|
|
||||||
repo = "pysensibo";
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
hash = "sha256-AUcdKcdoYCg8OgUcFoLLpNK5GQMTg89XCR5CkTfNkcc=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
|
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
|
||||||
pname = "python-slugify";
|
pname = "python-slugify";
|
||||||
version = "4.0.1";
|
version = "4.0.1";
|
||||||
@ -206,6 +160,16 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
pytradfri = super.pytradfri.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "9.0.1";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "home-assistant-libs";
|
||||||
|
repo = "pytradfri";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-xOdTzG0bF5p1QpkXv2btwrVugQRjSwdAj8bXcC0IoQg=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
python-telegram-bot = super.python-telegram-bot.overridePythonAttrs (oldAttrs: rec {
|
python-telegram-bot = super.python-telegram-bot.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "13.15";
|
version = "13.15";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -235,25 +199,6 @@ let
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
pytradfri = super.pytradfri.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "9.0.0";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "home-assistant-libs";
|
|
||||||
repo = "pytradfri";
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
hash = "sha256-12ol+2CnoPfkxmDGJJAkoafHGpQuWC4lh0N7lSvx2DE=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
pysoma = super.pysoma.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.0.10";
|
|
||||||
src = super.fetchPypi {
|
|
||||||
pname = "pysoma";
|
|
||||||
inherit version;
|
|
||||||
hash = "sha256-sU1qHbAjdIUu0etjate8+U1zvunbw3ddBtDVUU10CuE=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
# Pinned due to API changes in 0.3.0
|
# Pinned due to API changes in 0.3.0
|
||||||
tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec {
|
tailscale = super.tailscale.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
@ -326,7 +271,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 = "2023.1.7";
|
hassVersion = "2023.2.0";
|
||||||
|
|
||||||
in python.pkgs.buildPythonApplication rec {
|
in python.pkgs.buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
@ -334,7 +279,7 @@ in python.pkgs.buildPythonApplication rec {
|
|||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
# check REQUIRED_PYTHON_VER in homeassistant/const.py
|
# check REQUIRED_PYTHON_VER in homeassistant/const.py
|
||||||
disabled = python.pythonOlder "3.9";
|
disabled = python.pythonOlder "3.10";
|
||||||
|
|
||||||
# don't try and fail to strip 6600+ python files, it takes minutes!
|
# don't try and fail to strip 6600+ python files, it takes minutes!
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
@ -344,7 +289,7 @@ in python.pkgs.buildPythonApplication rec {
|
|||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "core";
|
repo = "core";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-z8dTFRs7Tm4WTQcYeHu9jlGbva9yNPhjmQ+CQY+9DN4=";
|
hash = "sha256-tW1tVPJ50DIGIuxJP9nq4+Tw4fiPA+kINSclW7JkJmE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 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
|
||||||
@ -368,6 +313,7 @@ in python.pkgs.buildPythonApplication rec {
|
|||||||
"ifaddr"
|
"ifaddr"
|
||||||
"orjson"
|
"orjson"
|
||||||
"PyJWT"
|
"PyJWT"
|
||||||
|
"pyOpenSSL"
|
||||||
"requests"
|
"requests"
|
||||||
"typing-extensions"
|
"typing-extensions"
|
||||||
"yarl"
|
"yarl"
|
||||||
|
@ -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 = "20230110.0";
|
version = "20230201.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";
|
||||||
hash = "sha256-axtDtkIsTFWV8qtVvpYL4aDE5jbTdX4Qo5V+9taWuNo=";
|
hash = "sha256-CG4I3YI1swiAV02+NXvi9n87dXrTJFlMUcOnB9ebmWk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# there is nothing to strip in this package
|
# there is nothing to strip in this package
|
||||||
|
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
pushd ..
|
pushd ..
|
||||||
# https://github.com/home-assistant/intents/blob/main/script/package#L18
|
# https://github.com/home-assistant/intents/blob/main/script/package#L18
|
||||||
${python.interpreter} -m script.intentfest merged_output $out/${python.sitePackages}/home-assistant-intents/home_assistant_intents/data
|
${python.interpreter} -m script.intentfest merged_output $out/${python.sitePackages}/home_assistant_intents/data
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -34,11 +34,6 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraDisabledTestPaths = {
|
extraDisabledTestPaths = {
|
||||||
tado = [
|
|
||||||
# tado/test_{climate,water_heater}.py: Tries to connect to my.tado.com
|
|
||||||
"tests/components/tado/test_climate.py"
|
|
||||||
"tests/components/tado/test_water_heater.py"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraDisabledTests = {
|
extraDisabledTests = {
|
||||||
@ -46,21 +41,9 @@ let
|
|||||||
# homeassistant.components.roku.media_player:media_player.py:428 Media type music is not supported with format None (mime: audio/x-matroska)
|
# homeassistant.components.roku.media_player:media_player.py:428 Media type music is not supported with format None (mime: audio/x-matroska)
|
||||||
"test_services_play_media_audio"
|
"test_services_play_media_audio"
|
||||||
];
|
];
|
||||||
rfxtrx = [
|
|
||||||
# bytearrray mismatch
|
|
||||||
"test_rfy_cover"
|
|
||||||
];
|
|
||||||
zha = [
|
|
||||||
# 'manual_pick_radio_type' == 'choose_serial_port'
|
|
||||||
"test_options_flow_migration_reset_old_adapter"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extraPytestFlagsArray = {
|
extraPytestFlagsArray = {
|
||||||
asuswrt = [
|
|
||||||
# Sandbox network limitations, fails with unexpected error
|
|
||||||
"--deselect tests/components/asuswrt/test_config_flow.py::test_on_connect_failed"
|
|
||||||
];
|
|
||||||
dnsip = [
|
dnsip = [
|
||||||
# AssertionError: assert <FlowResultType.FORM: 'form'> == <FlowResultTy...create_entry'>
|
# AssertionError: assert <FlowResultType.FORM: 'form'> == <FlowResultTy...create_entry'>
|
||||||
"--deselect tests/components/dnsip/test_config_flow.py::test_options_flow"
|
"--deselect tests/components/dnsip/test_config_flow.py::test_options_flow"
|
||||||
@ -69,6 +52,9 @@ let
|
|||||||
# Flaky: AssertionError: assert '0.0' == '12.0'
|
# Flaky: AssertionError: assert '0.0' == '12.0'
|
||||||
"--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
|
"--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
|
||||||
];
|
];
|
||||||
|
logbook = [
|
||||||
|
"--deselect tests/components/logbook/test_websocket_api.py::test_recorder_is_far_behind "
|
||||||
|
];
|
||||||
modem_callerid = [
|
modem_callerid = [
|
||||||
# aioserial mock produces wrong state
|
# aioserial mock produces wrong state
|
||||||
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
|
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
|
||||||
@ -77,20 +63,6 @@ let
|
|||||||
# "TypeError: object Mock can't be used in 'await' expression
|
# "TypeError: object Mock can't be used in 'await' expression
|
||||||
"--deselect tests/components/unifiprotect/test_repairs.py::test_ea_warning_fix"
|
"--deselect tests/components/unifiprotect/test_repairs.py::test_ea_warning_fix"
|
||||||
];
|
];
|
||||||
skybell = [
|
|
||||||
# Sandbox network limitations: Cannot connect to host cloud.myskybell.com:443
|
|
||||||
"--deselect tests/components/skybell/test_config_flow.py::test_flow_user_unknown_error"
|
|
||||||
];
|
|
||||||
stream = [
|
|
||||||
# Tries to write to /example and gets "Permission denied"
|
|
||||||
"--deselect tests/components/stream/test_recorder.py::test_record_lookback"
|
|
||||||
"--deselect tests/components/stream/test_recorder.py::test_recorder_log"
|
|
||||||
"--deselect tests/components/stream/test_worker.py::test_get_image"
|
|
||||||
];
|
|
||||||
zha = [
|
|
||||||
# AssertionError: assert 'manual_pick_radio_type' == 'choose_serial_port'
|
|
||||||
"--deselect tests/components/zha/test_config_flow.py::test_options_flow_restarts_running_zha_if_cancelled"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
in lib.listToAttrs (map (component: lib.nameValuePair component (
|
in lib.listToAttrs (map (component: lib.nameValuePair component (
|
||||||
home-assistant.overridePythonAttrs (old: {
|
home-assistant.overridePythonAttrs (old: {
|
||||||
@ -121,9 +93,6 @@ in lib.listToAttrs (map (component: lib.nameValuePair component (
|
|||||||
|
|
||||||
meta = old.meta // {
|
meta = old.meta // {
|
||||||
broken = lib.elem component [
|
broken = lib.elem component [
|
||||||
# all tests are skipped
|
|
||||||
# https://github.com/home-assistant/core/blob/dev/tests/components/homeassistant_hardware/test_silabs_multiprotocol_addon.py#L23
|
|
||||||
"homeassistant_hardware"
|
|
||||||
];
|
];
|
||||||
# upstream only tests on Linux, so do we.
|
# upstream only tests on Linux, so do we.
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
|
@ -147,6 +147,7 @@ mapAliases ({
|
|||||||
protonup = protonup-ng; # Added 2022-11-06
|
protonup = protonup-ng; # Added 2022-11-06
|
||||||
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
|
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
|
||||||
pushbullet = pushbullet-py; # Added 2022-10-15
|
pushbullet = pushbullet-py; # Added 2022-10-15
|
||||||
|
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
|
||||||
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
||||||
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
||||||
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
||||||
@ -213,6 +214,7 @@ mapAliases ({
|
|||||||
sharkiqpy = sharkiq; # added 2022-05-21
|
sharkiqpy = sharkiq; # added 2022-05-21
|
||||||
smart_open = smart-open; # added 2021-03-14
|
smart_open = smart-open; # added 2021-03-14
|
||||||
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
||||||
|
somecomfort = throw "somecomfort was removed because Home Assistant switched to aiosomecomfort"; # added 2023-02-01
|
||||||
SPARQLWrapper = sparqlwrapper;
|
SPARQLWrapper = sparqlwrapper;
|
||||||
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
|
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
|
||||||
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
||||||
|
@ -308,6 +308,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
aiorun = callPackage ../development/python-modules/aiorun { };
|
aiorun = callPackage ../development/python-modules/aiorun { };
|
||||||
|
|
||||||
|
aioruuvigateway = callPackage ../development/python-modules/aioruuvigateway { };
|
||||||
|
|
||||||
aiorwlock = callPackage ../development/python-modules/aiorwlock { };
|
aiorwlock = callPackage ../development/python-modules/aiorwlock { };
|
||||||
|
|
||||||
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
|
aiosenseme = callPackage ../development/python-modules/aiosenseme { };
|
||||||
@ -332,6 +334,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
aiosmtplib = callPackage ../development/python-modules/aiosmtplib { };
|
aiosmtplib = callPackage ../development/python-modules/aiosmtplib { };
|
||||||
|
|
||||||
|
aiosomecomfort = callPackage ../development/python-modules/aiosomecomfort { };
|
||||||
|
|
||||||
aiosqlite = callPackage ../development/python-modules/aiosqlite { };
|
aiosqlite = callPackage ../development/python-modules/aiosqlite { };
|
||||||
|
|
||||||
aiosteamist = callPackage ../development/python-modules/aiosteamist { };
|
aiosteamist = callPackage ../development/python-modules/aiosteamist { };
|
||||||
@ -3065,6 +3069,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
espeak-phonemizer = callPackage ../development/python-modules/espeak-phonemizer { };
|
espeak-phonemizer = callPackage ../development/python-modules/espeak-phonemizer { };
|
||||||
|
|
||||||
|
esphome-dashboard-api = callPackage ../development/python-modules/esphome-dashboard-api { };
|
||||||
|
|
||||||
esprima = callPackage ../development/python-modules/esprima { };
|
esprima = callPackage ../development/python-modules/esprima { };
|
||||||
|
|
||||||
escapism = callPackage ../development/python-modules/escapism { };
|
escapism = callPackage ../development/python-modules/escapism { };
|
||||||
@ -7685,8 +7691,6 @@ self: super: with self; {
|
|||||||
|
|
||||||
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
|
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
|
||||||
|
|
||||||
pyalmond = callPackage ../development/python-modules/pyalmond { };
|
|
||||||
|
|
||||||
pyamg = callPackage ../development/python-modules/pyamg { };
|
pyamg = callPackage ../development/python-modules/pyamg { };
|
||||||
|
|
||||||
pyaml = callPackage ../development/python-modules/pyaml { };
|
pyaml = callPackage ../development/python-modules/pyaml { };
|
||||||
@ -10695,8 +10699,6 @@ self: super: with self; {
|
|||||||
|
|
||||||
somajo = callPackage ../development/python-modules/somajo { };
|
somajo = callPackage ../development/python-modules/somajo { };
|
||||||
|
|
||||||
somecomfort = callPackage ../development/python-modules/somecomfort { };
|
|
||||||
|
|
||||||
somfy-mylink-synergy = callPackage ../development/python-modules/somfy-mylink-synergy { };
|
somfy-mylink-synergy = callPackage ../development/python-modules/somfy-mylink-synergy { };
|
||||||
|
|
||||||
sonarr = callPackage ../development/python-modules/sonarr { };
|
sonarr = callPackage ../development/python-modules/sonarr { };
|
||||||
|
Loading…
Reference in New Issue
Block a user