Merge pull request #275472 from dotlambda/dynalite-devices-0.1.48
Revert "python3Packages.dynalite-devices: 0.1.48 -> 0.47"
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dynalite-devices";
|
||||
version = "0.47";
|
||||
version = "0.1.48";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "ziv1234";
|
||||
repo = "python-dynalite-devices";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kJo4e5vhgWzijLUhQd9VBVk1URpg9SXhOA60dJYashM=";
|
||||
hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -37,6 +37,9 @@ buildPythonPackage rec {
|
||||
"dynalite_devices_lib"
|
||||
];
|
||||
|
||||
# it would use the erroneous tag v0.47
|
||||
passthru.skipBulkUpdate = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An unofficial Dynalite DyNET interface creating devices";
|
||||
homepage = "https://github.com/ziv1234/python-dynalite-devices";
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dynalite-panel";
|
||||
version = "0.0.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-m7nQzbxRe2qXUWAMeQlDZtc9F01DsbTzF/kI0ci3TFE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "~=" ">="
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dynalite_panel" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Dynalite panel for Home Assistant";
|
||||
homepage = "https://github.com/ziv1234/dynalitepanel";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1041,13 +1041,14 @@
|
||||
aiohttp-fast-url-dispatcher
|
||||
aiohttp-zlib-ng
|
||||
dynalite-devices
|
||||
dynalite-panel
|
||||
fnv-hash-fast
|
||||
home-assistant-frontend
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
sqlalchemy
|
||||
]; # missing inputs: dynalite-panel
|
||||
];
|
||||
"eafm" = ps: with ps; [
|
||||
aioeafm
|
||||
];
|
||||
@@ -5714,6 +5715,7 @@
|
||||
"dunehd"
|
||||
"duotecno"
|
||||
"dwd_weather_warnings"
|
||||
"dynalite"
|
||||
"eafm"
|
||||
"easyenergy"
|
||||
"ecobee"
|
||||
|
||||
@@ -3471,6 +3471,8 @@ self: super: with self; {
|
||||
|
||||
dynalite-devices = callPackage ../development/python-modules/dynalite-devices { };
|
||||
|
||||
dynalite-panel = callPackage ../development/python-modules/dynalite-panel { };
|
||||
|
||||
dynd = callPackage ../development/python-modules/dynd { };
|
||||
|
||||
e3-core = callPackage ../development/python-modules/e3-core { };
|
||||
|
||||
Reference in New Issue
Block a user