28 lines
523 B
Nix
28 lines
523 B
Nix
|
{ lib
|
||
|
, python3
|
||
|
}:
|
||
|
|
||
|
with python3.pkgs; buildPythonPackage rec {
|
||
|
pname = "esphome-dashboard";
|
||
|
version = "20210623.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "0fc6xgi1naydm3wgk5lljnf6zggzdk6558cpyqlriw031gqnab77";
|
||
|
};
|
||
|
|
||
|
# 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 ];
|
||
|
};
|
||
|
}
|