python311Packages.dynalite-panel: init at 0.0.4
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -3461,6 +3461,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