python3Packages.esphome-dashboard-api: init at 1.2.3

This commit is contained in:
Martin Weinelt 2023-02-02 00:02:12 +01:00
parent c77badc967
commit 44122ce292
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 43 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };