snapcraft.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: matrix-synapse
  2. base: core18
  3. version: git
  4. summary: Reference Matrix homeserver
  5. description: |
  6. Synapse is the reference Matrix homeserver.
  7. Matrix is a federated and decentralised instant messaging and VoIP system.
  8. grade: stable
  9. confinement: strict
  10. apps:
  11. matrix-synapse:
  12. command: synctl --no-daemonize start $SNAP_COMMON/homeserver.yaml
  13. stop-command: synctl -c $SNAP_COMMON stop
  14. plugs: [network-bind, network]
  15. daemon: simple
  16. hash-password:
  17. command: hash_password
  18. generate-config:
  19. command: generate_config
  20. generate-signing-key:
  21. command: generate_signing_key.py
  22. register-new-matrix-user:
  23. command: register_new_matrix_user
  24. plugs: [network]
  25. synctl:
  26. command: synctl
  27. parts:
  28. matrix-synapse:
  29. source: .
  30. plugin: python
  31. python-version: python3
  32. python-packages:
  33. - '.[all]'
  34. build-packages:
  35. - libffi-dev
  36. - libturbojpeg0-dev
  37. - libssl-dev
  38. - libxslt1-dev
  39. - libpq-dev
  40. - zlib1g-dev
  41. stage-packages:
  42. - libasn1-8-heimdal
  43. - libgssapi3-heimdal
  44. - libhcrypto4-heimdal
  45. - libheimbase1-heimdal
  46. - libheimntlm0-heimdal
  47. - libhx509-5-heimdal
  48. - libkrb5-26-heimdal
  49. - libldap-2.4-2
  50. - libpq5
  51. - libsasl2-2