2021-06-16 21:01:02 +02:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
with python3.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "esphome-dashboard";
|
2021-07-21 23:07:11 +02:00
|
|
|
version = "20210719.0";
|
2021-06-16 21:01:02 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-21 23:07:11 +02:00
|
|
|
sha256 = "sha256-gUZut9FsFHZ0zcTg+QDIdsM3EMvNFBawgBnt/Ia1BIc=";
|
2021-06-16 21:01:02 +02:00
|
|
|
};
|
|
|
|
|
2021-06-22 03:14:16 +02:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"esphome_dashboard"
|
|
|
|
];
|
|
|
|
|
2021-06-16 21:01:02 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "ESPHome dashboard";
|
|
|
|
homepage = "https://esphome.io/";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|