nixpkgs/pkgs/tools/misc/esphome/dashboard.nix
2022-02-10 04:04:29 +00:00

29 lines
526 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20220116.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-eItt7AP96juIaP57yGzW/Fb8NAGsns/4nGWQIMv7Xn8=";
};
# 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 ];
};
}