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