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

27 lines
825 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage }:
2018-01-14 21:26:52 +00: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 21:26:52 +00:00
pname = "home-assistant-frontend";
2021-03-09 02:09:42 +00:00
version = "20210302.6";
2018-01-14 21:26:52 +00:00
src = fetchPypi {
inherit pname version;
2021-03-09 02:09:42 +00:00
sha256 = "sha256-h3jCqfAPg+z6vsdLm5Pdr+7PCEWW58GCG9viIz3Mi64=";
2018-01-14 21:26:52 +00:00
};
2018-03-14 17:48:50 +00:00
# there is nothing to strip in this package
dontStrip = true;
# no Python tests implemented
doCheck = false;
2018-07-09 14:16:43 +00:00
meta = with lib; {
description = "Polymer frontend for Home Assistant";
homepage = "https://github.com/home-assistant/home-assistant-polymer";
2018-07-09 14:16:43 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda globin ];
2018-07-09 14:16:43 +00:00
};
2018-01-14 21:26:52 +00:00
}