snapcraft.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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
  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. - pip
  35. - setuptools
  36. - setuptools-scm
  37. - wheel
  38. build-packages:
  39. - libffi-dev
  40. - libturbojpeg0-dev
  41. - libssl-dev
  42. - libxslt1-dev
  43. - libpq-dev
  44. - zlib1g-dev
  45. stage-packages:
  46. - libasn1-8-heimdal
  47. - libgssapi3-heimdal
  48. - libhcrypto4-heimdal
  49. - libheimbase1-heimdal
  50. - libheimntlm0-heimdal
  51. - libhx509-5-heimdal
  52. - libkrb5-26-heimdal
  53. - libldap-2.4-2
  54. - libpq5
  55. - libsasl2-2