123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- name: home-assistant-snap
- version: '0.114.3'
- summary: Open source home automation that puts local control and privacy first
- description: |
- Home Assistant is a home automation platform running on Python 3.
- It is able to track and control all devices at home and offer a
- platform for automating control.
- This version supports integrations with
- - HACS: see 'home-assistant-hacs' (custom_components)
- - acme.sh: see 'acme-sh' (SSL-certificates)
- Also see 'ddclient-snap' to easily update your DNS.
- base: core20
- grade: stable
- confinement: strict
- layout:
- /etc/pip.conf:
- bind-file: $SNAP_DATA/pip.conf
- /etc/openzwave:
- bind: $SNAP/openzwave
- slots:
- components:
- interface: content
- content: components
- write:
- - $SNAP_DATA/custom_components
- certs:
- interface: content
- content: certs
- write:
- - $SNAP_DATA/certs
- apps:
- hass:
- command: bin/hass --config $SNAP_DATA
- command-chain:
- - bin/slot-certs
- daemon: simple
- environment:
- PIP_USER: 1
- restart-condition: always
- plugs:
- - bluez
- - network
- - network-bind
- - raw-usb
- # GPIO devices etc.. (e.g RaZberry GPIO hat)
- - physical-memory-control
- slots:
- - components
- certs-daemon:
- command: bin/certs-daemon
- daemon: oneshot
- restart-condition: always
- timer: 00:00-24:00/287
- slots:
- - certs
- hooks:
- prepare-slot-certs:
- plugs:
- - network
- - network-bind
- parts:
- homeassistant:
- plugin: python-wot-plugin
- source: https://github.com/home-assistant/core.git
- source-tag: ${SNAPCRAFT_PROJECT_VERSION}
- python-packages:
- - setuptools
- - wheel
- - Cython
- - pip
- build-packages:
- - python3
- - python3-dev
- - python3-setuptools
- - python3-wheel
- - pkg-config
- - autoconf
- - build-essential
- - cmake
- - cython3
- - ffmpeg
- - libavcodec-dev
- - libavdevice-dev
- - libavfilter-dev
- - libavformat-dev
- - libavresample-dev
- - libavutil-dev
- - libffi-dev
- - libglib2.0-dev
- - libglu1-mesa-dev
- - libgpiod-dev
- - libjpeg-dev
- - libopenzwave1.5-dev
- - libssl-dev
- - libswscale-dev
- - libudev-dev
- - libxml2-dev
- - libxslt1-dev
- - zlib1g-dev
- stage-packages:
- - freeglut3
- - ffmpeg
- - libglu1-mesa
- - zlib1g
- requirements:
- - requirements_all.txt
- constraints:
- - homeassistant/package_constraints.txt
- override-build: |
- snapcraftctl build
- sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' $SNAPCRAFT_PART_INSTALL/pyvenv.cfg
- hooks:
- plugin: dump
- source: ./scripts/hooks
- source-type: local
- stage-packages:
- - uuid
- - libossp-uuid16
- - libassuan0
- - gpg
- - gpg-agent
- organize:
- configure: snap/hooks/configure
- post-refresh: snap/hooks/post-refresh
- prepare-slot-certs: snap/hooks/prepare-slot-certs
- bins:
- plugin: dump
- source: ./scripts/bin
- source-type: local
- organize:
- slot-certs: bin/slot-certs
- certs-daemon: bin/certs-daemon
- config:
- plugin: dump
- source: ./scripts/config
- source-type: local
|