2021-06-16 19:01:02 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
with python3.pkgs; buildPythonPackage rec {
|
|
|
|
pname = "esphome-dashboard";
|
2021-09-15 21:49:56 +00:00
|
|
|
version = "20210908.0";
|
2021-06-16 19:01:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-15 21:49:56 +00:00
|
|
|
sha256 = "sha256-Oz/87FFP9AEK7vVTjgqIA6hSSQJLKet759S2t5Ci1oA=";
|
2021-06-16 19:01:02 +00:00
|
|
|
};
|
|
|
|
|
2021-06-22 01:14:16 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"esphome_dashboard"
|
|
|
|
];
|
|
|
|
|
2021-06-16 19:01:02 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "ESPHome dashboard";
|
|
|
|
homepage = "https://esphome.io/";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|