nixpkgs/pkgs/servers/home-assistant/frontend.nix

24 lines
757 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage }:
2018-01-14 22:26:52 +01:00
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
2018-01-14 22:26:52 +01:00
pname = "home-assistant-frontend";
2020-04-08 16:54:11 +02:00
version = "20200407.2";
2018-01-14 22:26:52 +01:00
src = fetchPypi {
inherit pname version;
2020-04-08 16:54:11 +02:00
sha256 = "0krwn67bkybjb69daik6dki5hm36xs4nbfwqkh0q7ami1xr1f56d";
2018-01-14 22:26:52 +01:00
};
2018-03-14 18:48:50 +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";
homepage = https://github.com/home-assistant/home-assistant-polymer;
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda globin ];
2018-07-09 16:16:43 +02:00
};
2018-01-14 22:26:52 +01:00
}