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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
913 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";
version = "20220405.0";
format = "wheel";
2018-01-14 22:26:52 +01:00
src = fetchPypi {
inherit version format;
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
sha256 = "sha256-M024uJJVhVSoGhJTc7d8NKItw0sAOGFuCsZNUe//vBg=";
2018-01-14 22:26:52 +01:00
};
2018-03-14 18:48:50 +01:00
# there is nothing to strip in this package
dontStrip = true;
# 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";
2018-07-09 16:16:43 +02:00
license = licenses.asl20;
maintainers = teams.home-assistant.members;
2018-07-09 16:16:43 +02:00
};
2018-01-14 22:26:52 +01:00
}