2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
# the frontend version corresponding to a specific home-assistant version can be found here
|
|
|
|
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
|
|
|
pname = "home-assistant-frontend";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "20230202.0";
|
2022-02-10 20:34:41 +00:00
|
|
|
format = "wheel";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-02-10 20:34:41 +00:00
|
|
|
inherit version format;
|
|
|
|
pname = "home_assistant_frontend";
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
2023-02-09 11:40:11 +00:00
|
|
|
hash = "sha256-Wo3bQnwTDSAC4EhJeYIXx1wODyx3wA2KMMaM3pJEkGw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
# there is nothing to strip in this package
|
|
|
|
dontStrip = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# no Python tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Polymer frontend for Home Assistant";
|
|
|
|
homepage = "https://github.com/home-assistant/home-assistant-polymer";
|
|
|
|
license = licenses.asl20;
|
2021-04-08 16:26:57 +00:00
|
|
|
maintainers = teams.home-assistant.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|