1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/pkgs/servers/home-assistant/frontend.nix
Martin Weinelt 8cb55de7dc
home-assistant: don't strip
Neither the home-assistant nor the frontend contain strippable binaries,
but the stripping process will still iterate over 6600+ files and notice
that they're not in a strippable format.

On my 6C/12T desktop CPU this takes slightly over two minutes.
2021-01-07 13:33:10 +01:00

27 lines
825 B
Nix

{ lib, fetchPypi, buildPythonPackage }:
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
pname = "home-assistant-frontend";
version = "20201229.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-3JMWugAiVDq/NBgX8ft2Bchim2g493jy7wZvvXrX+Ws=";
};
# there is nothing to strip in this package
dontStrip = true;
# no Python tests implemented
doCheck = false;
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 ];
};
}