about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/home-assistant/frontend.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/home-assistant/frontend.nix')
-rw-r--r--nixpkgs/pkgs/servers/home-assistant/frontend.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/home-assistant/frontend.nix b/nixpkgs/pkgs/servers/home-assistant/frontend.nix
new file mode 100644
index 000000000000..74145d87589b
--- /dev/null
+++ b/nixpkgs/pkgs/servers/home-assistant/frontend.nix
@@ -0,0 +1,20 @@
+{ lib, fetchPypi, buildPythonPackage, user-agents }:
+
+buildPythonPackage rec {
+  pname = "home-assistant-frontend";
+  version = "20181211.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "75dd525922efc1f9a6a4a42c720764a539b18636769e2febc33bb68967c7ebff";
+  };
+
+  propagatedBuildInputs = [ user-agents ];
+
+  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 ];
+  };
+}