2019-05-20 14:40:43 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage }:
|
2018-01-14 21:26:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-19 17:33:22 +01: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 21:26:52 +00:00
|
|
|
pname = "home-assistant-frontend";
|
2021-01-06 18:57:47 +00:00
|
|
|
version = "20201229.1";
|
2018-01-14 21:26:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-06 18:57:47 +00:00
|
|
|
sha256 = "sha256-3JMWugAiVDq/NBgX8ft2Bchim2g493jy7wZvvXrX+Ws=";
|
2018-01-14 21:26:52 +00:00
|
|
|
};
|
2018-03-14 17:48:50 +00:00
|
|
|
|
2021-01-06 23:20:39 +00:00
|
|
|
# there is nothing to strip in this package
|
|
|
|
dontStrip = true;
|
|
|
|
|
2019-03-24 18:45:35 +00:00
|
|
|
# no Python tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-07-09 15:16:43 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Polymer frontend for Home Assistant";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/home-assistant/home-assistant-polymer";
|
2018-07-09 15:16:43 +01:00
|
|
|
license = licenses.asl20;
|
2019-08-20 18:36:05 +01:00
|
|
|
maintainers = with maintainers; [ dotlambda globin ];
|
2018-07-09 15:16:43 +01:00
|
|
|
};
|
2018-01-14 21:26:52 +00:00
|
|
|
}
|