3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/esphome/dashboard.nix

29 lines
526 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20220209.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-FkFu3SvsowcsOFXvqWmpY3KEypXSb6KcpC/nJbQpDBA=";
};
# 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 ];
};
}