python3Packages.esphome-dashboard-api: init at 1.2.3
This commit is contained in:
parent
c77badc967
commit
44122ce292
2 changed files with 43 additions and 0 deletions
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3065,6 +3065,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 { };
|
||||||
|
|
Loading…
Reference in a new issue