2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
with python3.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "esphome-dashboard";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "20211201.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-/VARM59TI2Ff70Jq0smFMrt4o2G/wKSdcOreLfxMAMQ=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|