2019-05-20 15:40:43 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage }:
|
2018-01-14 22:26:52 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-19 18:33:22 +02:00
|
|
|
# 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
|
2018-01-14 22:26:52 +01:00
|
|
|
pname = "home-assistant-frontend";
|
2022-04-06 19:12:44 +02:00
|
|
|
version = "20220405.0";
|
2022-02-04 11:25:24 +01:00
|
|
|
format = "wheel";
|
2018-01-14 22:26:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-02-04 11:25:24 +01:00
|
|
|
inherit version format;
|
|
|
|
pname = "home_assistant_frontend";
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
2022-04-06 19:12:44 +02:00
|
|
|
sha256 = "sha256-M024uJJVhVSoGhJTc7d8NKItw0sAOGFuCsZNUe//vBg=";
|
2018-01-14 22:26:52 +01:00
|
|
|
};
|
2018-03-14 18:48:50 +01:00
|
|
|
|
2021-01-07 00:20:39 +01:00
|
|
|
# there is nothing to strip in this package
|
|
|
|
dontStrip = true;
|
|
|
|
|
2019-03-24 19:45:35 +01:00
|
|
|
# no Python tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-07-09 16:16:43 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Polymer frontend for Home Assistant";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/home-assistant/home-assistant-polymer";
|
2018-07-09 16:16:43 +02:00
|
|
|
license = licenses.asl20;
|
2021-04-06 01:16:25 +02:00
|
|
|
maintainers = teams.home-assistant.members;
|
2018-07-09 16:16:43 +02:00
|
|
|
};
|
2018-01-14 22:26:52 +01:00
|
|
|
}
|