2023-05-28 20:21:14 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "paperless-ngx"
|
|
|
|
name = "Paperless-ngx"
|
|
|
|
description.en = "Scan, index and archive all your physical documents"
|
|
|
|
description.fr = "Scannez, triez et archivez tous vos documents papiers"
|
|
|
|
|
2024-02-14 13:15:22 +01:00
|
|
|
version = "2.5.1~ynh1"
|
2023-05-28 20:21:14 +02:00
|
|
|
|
|
|
|
maintainers = ["Tagada"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
website = "https://paperless-ngx.com"
|
|
|
|
demo = "https://demo.paperless-ngx.com/"
|
|
|
|
admindoc = "https://paperless-ngx.readthedocs.io/en/latest/index.html"
|
|
|
|
userdoc = "https://paperless-ngx.readthedocs.io/en/latest/usage_overview.html"
|
|
|
|
code = "https://github.com/paperless-ngx/paperless-ngx"
|
|
|
|
cpe = "???" # XXX: No CPE yet... check https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=paperless
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">= 11.0.0"
|
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "350M"
|
|
|
|
ram.runtime = "350M"
|
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
|
|
type = "domain"
|
|
|
|
full_domain = true
|
|
|
|
|
|
|
|
[install.admin]
|
|
|
|
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.admin_pw]
|
|
|
|
ask.en = "Please chose a password for admin user."
|
|
|
|
type = "password"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "all_users"
|
|
|
|
|
|
|
|
[install.init_api_permission]
|
|
|
|
ask.en = "Paperless-ngx API access list"
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources]
|
|
|
|
|
|
|
|
[resources.sources.main]
|
2024-02-14 13:15:22 +01:00
|
|
|
url = "https://github.com/paperless-ngx/paperless-ngx/releases/download/v2.5.1/paperless-ngx-v2.5.1.tar.xz"
|
|
|
|
sha256 = "5fb32d23c9761f58039a0378fd2c191da03aff66cfac3ea7095a7fd19c5faa57"
|
2023-05-28 20:21:14 +02:00
|
|
|
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
2023-06-19 21:08:52 +02:00
|
|
|
autoupdate.asset = "paperless-ngx-.*.tar.xz"
|
2023-05-28 20:21:14 +02:00
|
|
|
|
2024-02-10 09:24:13 +01:00
|
|
|
[resources.sources.gs]
|
|
|
|
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostpdl-10.02.1.tar.gz"
|
|
|
|
sha256 = "25399af0ef5bb94f2a13c91dc785c128d14f16744c4c92fa7c86e011c23151d8"
|
|
|
|
|
2023-05-28 20:21:14 +02:00
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.data_dir]
|
2024-02-15 19:19:54 +01:00
|
|
|
subdirs = ["consume", "data", "media", "imagemagick"]
|
2023-05-28 20:21:14 +02:00
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
main.auth_header = false
|
|
|
|
|
|
|
|
api.url = "/api/"
|
|
|
|
api.show_tile = false
|
|
|
|
api.auth_header = false
|
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
main.default = 8095
|
|
|
|
|
|
|
|
[resources.apt]
|
2023-09-26 15:50:30 +02:00
|
|
|
packages = "python3, python3-pip, python3-dev, python3-venv, default-libmysqlclient-dev, fonts-liberation, imagemagick, gnupg, libpq-dev, libmagic-dev, mime-support, libzbar0, poppler-utils, postgresql, postgresql-contrib, unpaper, ghostscript, icc-profiles-free, qpdf, liblept5, libxml2, pngquant, zlib1g, tesseract-ocr, libatlas-base-dev, libxslt1-dev, redis-server, pkg-config"
|
2023-05-28 20:21:14 +02:00
|
|
|
|
|
|
|
[resources.database]
|
|
|
|
type = "postgresql"
|