depot/third_party/nixpkgs/pkgs/tools/misc/esphome/dashboard.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

27 lines
522 B
Nix

{ lib
, python3
}:
with python3.pkgs; buildPythonPackage rec {
pname = "esphome-dashboard";
version = "20210908.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Oz/87FFP9AEK7vVTjgqIA6hSSQJLKet759S2t5Ci1oA=";
};
# 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 ];
};
}