nixpkgs/pkgs/tools/misc/esphome/dashboard.nix
2021-12-11 20:17:44 +01:00

28 lines
522 B
Nix

{ lib
, python3
}:
with python3.pkgs; buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20211211.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-xF1/gUJCr4qRO+AnWeFO6b1YnQBOgve/23ZaGmCa910=";
};
# 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 ];
};
}