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

27 lines
815 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage }:
2018-01-15 00:26:52 +03: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-15 00:26:52 +03:00
pname = "home-assistant-frontend";
2021-06-04 05:10:21 +03:00
version = "20210603.0";
2018-01-15 00:26:52 +03:00
src = fetchPypi {
inherit pname version;
2021-06-04 05:10:21 +03:00
sha256 = "sha256-2UhbtaxEcOkD9Z5g9gZs+QjuVLXZGCEcmKoxRtIEYxw=";
2018-01-15 00:26:52 +03:00
};
2018-03-14 20:48:50 +03:00
# there is nothing to strip in this package
dontStrip = true;
# no Python tests implemented
doCheck = false;
2018-07-09 17:16:43 +03:00
meta = with lib; {
description = "Polymer frontend for Home Assistant";
homepage = "https://github.com/home-assistant/home-assistant-polymer";
2018-07-09 17:16:43 +03:00
license = licenses.asl20;
maintainers = teams.home-assistant.members;
2018-07-09 17:16:43 +03:00
};
2018-01-15 00:26:52 +03:00
}